Apple Game Frameworks and Technologies: Calculate Speed, why divide by 255? (pg. 50)

Great question!

The 255 was a somewhat arbitrary number based on how the movement speed “felt” during gameplay.

I suppose I could have used a dynamic number—for example, Double(frame.size.width) or something along those lines—but in this case, it didn’t much matter, so I went with a hard-coded number instead.