Stage3D: Camera pans the whole screen
- by Thomas Versteeg
I am trying to create a 2D Stage3D game where you can move the camera around the level in an RTS style. I thought about using Orthographic Matrix3D functions for this but when I try to scroll the whole "stage" also scrolls.
This is the Camera code:
public function Camera2D(width:int, height:int, zoom:Number = 1) {
resize(width,…