READ TUTORIAL HERE
Why do we have to set multiple sizes?
How do I get the mouse position on screen?
How can I make things stay on screen when the camera moves?
Why are things not colliding past a certain point?
I see these questions come up on the forums all the time and it took me a while at first to wrap my head around how flixel likes to be configured, so I wrote up a quick tutorial to help others.
- Swf size
- Camera view size
- Camera view zoom
- Swf = camera * zoom
- Level size
- Camera travel limits
- Hud Mouse cursor (world & screen positions)
Released along with a demo and source code:READ TUTORIAL HERE