Ok. This is really cool. I got my chase camera and I have the thing chasing my litte guy around the map. If I want to set up a different camera like a top-down view, how can I switch from this view to a top down view during play (lets say by hittting the "*" key on the keypad for instance)?
Startune Wrote:Ok. This is really cool. I got my chase camera and I have the thing chasing my litte guy around the map. If I want to set up a different camera like a top-down view, how can I switch from this view to a top down view during play (lets say by hittting the "*" key on the keypad for instance)?
Check out player.js (the script) and actions.xml (the key to action name file). You'll notice in the demo there is a key setup to "chase camera." This isn't a core key, it's just a key setup in actions.xml and named that.
Inside player.js, you'll see where it gets the event that the key is pressed and where it changes the camera.
The camera can be changed in any script at anytime.
[>] Brian
It's in the messages section of the player script, just so you know

.