started skeleton and zombie, added GUI and menu system
Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
@@ -114,6 +114,7 @@ export default class Player extends Entity {
|
||||
.once('animationcomplete', () => {
|
||||
this.setFrame(51);
|
||||
this.scene.scene.pause();
|
||||
this.scene.scene.launch('GUI', {key: 'Dead'}).bringToTop('GUI');
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user