http://www.wanilla.net/ssp3d/
Oo, you lucky folks get to play Sky Sky Panic 3D before its done!
But… as you can see, when you move the mouse everything speeds up. Thats not a good thing for an entirely mouse based game. ;___; It doesn’t happen in the editor or standalone. Only in the Web Player.
Thanks!
I noted that I can double the framerate in a webplayer I made just by moving the mouse.
Firefox(latest) on a MacBook Pro
You generally need to make your game frame rate indepdendent. See Time.deltaTime in the scripting docs on how to do that.
When you process mouse delta you want to NOT multiply with Time.deltaTime!
I’m not doing anything with mouse processing, The camera just follows a flock of birds around. The scene is entirely non-interactive, it’s just a proof of concept/eye candy.
http://www.hockeybagstudio.com/flocking/index.html
Jiggle the mouse over it and you’ll see the framerate jump a lot higher until you stop moving the mouse.
You have to be very careful with the web player, i have noticed that often it behaves way differently from the editor version of the game. The smallest little mistake can completely change the behaviour of the web version of your game. For example, if you forget to put physic materials on your rigidbody, the game will work fine in the editor, and behave completely differently in deployment.
Patricia.