modified apparition of lazer (2.5s to 2.0s) and it now appears immediately
Initial commit of kloggr-next branch. Kloggr is now a class (in js/kloggr.js) created and
manipulated with the code in js/main.js
Removed js/input.js, js/game.js, js/timer.js.
These files have been rendered useless by the new Kloggr model, mainly
located in js/kloggr.js and js/main.js
Added js/interface.js to manage the html state.
It's mainly juste a stub for the moment.
renamed things to work with the new Kloggr.State declaration
Made the damn thing work. KloggrInterface now works.
Further patches will cleanup this mess.
added setState method to control kloggr from HTML, fixed stupid bugshit of missing this before player in Kloggr.update
attempted pauseMenu
Fixed blank screen on click on pause button.
fixed the button to exit in pause menu.
A new bug appears when clicking on it, the pause menu stays displayed
the pause button now works nearly correctly
you can now toggle the pause menu if you re-click on it
animations are now made with velocity.js (with a bit of css)
now works with velocity.js
removed -50 of window height
added animations.js for velocity.js animations
modified deadPlayer, resembles to the current player
added loseMenu but replay button doesn't work
added state of playing when restart
added animations for lose Menu
Fixed bug where the restart button did nothing but silly things