p3nGu1nZz / twod-js

Automatically exported from code.google.com/p/twod-js
0 stars 0 forks source link

Camera Position Should Update On Window Resize Event #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Resize the browser window

What is the expected output? What do you see instead?
The relative of position of the player should stay static when the size of the 
viewport changes. Currently the resize event looks funny and the player is 
sometimes shown off screen during this event. A new cameras position must be 
calculated when this event is fired

Original issue reported on code.google.com by rawsonkara on 15 Sep 2013 at 8:24