projects
/
ld40.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
507e417
)
Cleanup: Use Phaser.Bullet & Phaser.Weapon
author
MegaBrutal
<code+git@megabrutal.com>
Wed, 27 Dec 2017 23:05:00 +0000
(
00:05
+0100)
committer
MegaBrutal
<code+git@megabrutal.com>
Wed, 27 Dec 2017 23:05:00 +0000
(
00:05
+0100)
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
No differences found