I got a chance to get a little more camera work done over the past couple days. What I've made is a 2D camera which is a game object (as such it can be placed onto a Screen just like anything else). These cameras point at "Scenes", which are similar conceptually to Screens, but unlike Screens a Scene is not meant to "draw itself", it just sits in memory. You use a SceneCamera to view a subset of the Scene.
In this demonstration a Scene exists in memory, it's a simple repeating tile grid w/ a user-controlled ship. Multiple SceneCameras are implemented to demonstrate the concept of viewing a Scene through a SceneCamera. All of the SceneCameras are pointing at the same ship in the same Scene.
Pardon the obnoxious music, I was just having fun with :
It's still pretty beta-ish but it basically works, I'll do a write up after it becomes more properly solidified.
![]() | 2/2/08 |
Subscribe to:
Post Comments (Atom)

0 comments: