A blog about flash tutorials and games created by Stubbs and Ivan.
How did you get control of it?Is there someway to map the control with something like this:mc._x += Key.isDown(Key.UP);mc._x -= Key.isDown(Key.DOWN);mc._y += Key.isDown(Key.LEFT);mc._y -= Key.isDown(Key.RIGHT);
Man... this code is so strange, you call camControl with this line:"master.camera.camControl(this)" but you never added "camera" as a child of "master", yet it works???On the camera code you use events,display objects, geom objects(Point) without importing any of those?So confusing :(
Post a Comment
2 comments:
How did you get control of it?
Is there someway to map the control with something like this:
mc._x += Key.isDown(Key.UP);
mc._x -= Key.isDown(Key.DOWN);
mc._y += Key.isDown(Key.LEFT);
mc._y -= Key.isDown(Key.RIGHT);
Man... this code is so strange, you call camControl with this line:
"master.camera.camControl(this)" but you never added "camera" as a child of "master", yet it works???
On the camera code you use events,display objects, geom objects(Point) without importing any of those?
So confusing :(
Post a Comment