3 years agoCleanup: Remove unused keyboard handler cleaning
MegaBrutal [Thu, 28 Dec 2017 00:45:00 +0000 (01:45 +0100)]
Cleanup: Remove unused keyboard handler

modified:   ld40.js

3 years agoCleanup: Monster also uses JusticeBlaster as a weapon
MegaBrutal [Wed, 27 Dec 2017 23:45:00 +0000 (00:45 +0100)]
Cleanup: Monster also uses JusticeBlaster as a weapon

To further simplify the code, the Monster class should also use
the JusticeBlaster weapon class as its weapon.

modified:   ld40.js

3 years agoCleanup: Use Phaser.Bullet & Phaser.Weapon
MegaBrutal [Wed, 27 Dec 2017 23:05:00 +0000 (00:05 +0100)]
Cleanup: Use Phaser.Bullet & Phaser.Weapon

I realized I reinvented the wheel by implementing my custom projectile
sprite derived from Phaser.Sprite. There are predefined classes in
Phaser.js just for this purpose. Now the player's weapon is derived
from Phaser classes.

modified:   ld40.js

3 years agoInitial commit
MegaBrutal [Tue, 5 Dec 2017 22:40:00 +0000 (23:40 +0100)]
Initial commit

First version published at LD40.

new file:   determination.png
new file:   determination.svg
new file:   determination_shot1.png
new file:   determination_shot2.png
new file:   index.html
new file:   ld40.html
new file:   ld40.js
new file:   monster.png
new file:   projectile.png
new file:   projectile.svg
new file:   wall.png