Dragging the screen
ldle on 2007/09/02 19:15
of Murmel
Okay our first technical challenge was figuring our how to implement dragging.
We decided the way to do it was record the point at which the mouse was pressed. Then each frame just figure out the angle between the first point to the current point using the game's marble as the center.
This works well because we get the effect of manipulating a pinwheel. Dragging close to the marble yields faster rotation, further away it becomes slower.