shapeshift.git
8 years agoUpdate player's hitbox after shapeshifting
MegaBrutal [Mon, 18 Apr 2016 14:44:32 +0000 (14:44 +0000)]
Update player's hitbox after shapeshifting

It was a known bug that the player's hitbox didn't change
after the player shapeshifted into a new form.
Now this is fixed.

modified:   shapeshift.js

8 years agoPrevent default browser action for SPACEBAR and ARROW keys
MegaBrutal [Mon, 18 Apr 2016 13:53:34 +0000 (13:53 +0000)]
Prevent default browser action for SPACEBAR and ARROW keys

SPACEBAR scrolls the page down on some browsers, and ARROW keys
may also cause the page to scroll. Now the game prevents the
browser from performing these default actions when the game is
in focus.

Also, I removed an unused optional parameter from putText,
because Internet Explorer was complaining about it. The game
still doesn't work with IE though, because SVGs are not displayed.

modified:   shapeshift.js

8 years agoInitial commit
MegaBrutal [Mon, 18 Apr 2016 03:16:45 +0000 (03:16 +0000)]
Initial commit

Changes to be committed:
new file:   bird.svg
new file:   birdcage.svg
new file:   csaj.svg
new file:   ground.svg
new file:   guard.svg
new file:   index.html
new file:   kecskecsaj.svg
new file:   shapeshift.html
new file:   shapeshift.js