Anonnymitet, Thank you, but this is not the intended effect, the cursor still leaves the area just not the sprite, the only real fix is to make only full screen games and forget about browser/windowed games or use this plugin or create a plugin using the Pointer Lock API.
briggybros, This is exactly the intended functionality, thank you! Although I was hoping it could be done without a plugin, this will have to do.
Ashley, So you cant lock the mouse to the center while the game action takes place, whats to happen when people want to play the game without clicking on stuff out side the game content? This is quite a huge oversight for a game engine, especially one designed to work with browsers. It is a critical flaw and should be a top priority in implementing this functionality without plugins. Especially now that the Pointer Lock API is out, hitting ESC releases the mouse, so its not a security issue. Thank you for your hard work, I look forward to seeing if this can be implemented smoothly into "mouse" without plugins.
Intended functionality > Example FPS Quake game using Pointer Lock API : http://media.tojicode.com/q3bsp/
Thank you.