Game Development Reference
In-Depth Information
Creating an RTS camera AppState object
In this recipe, we'll try to mimic the camera and controls that are common in RTS games.
The camera will mostly look down on the scene, and aside from basic movement and rota-
tion of the camera, there will also be automatic scrolling when the mouse reaches the edges
of the screen.
Search WWH ::




Custom Search