Last active
May 28, 2020 13:41
Code snippet 3 - For multiplayer space invaders article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GameScene extends Phaser.Scene { | |
constructor() { | |
super("gameScene"); | |
} | |
//load assets | |
preload(){ | |
} | |
//init variables, define animations & sounds, and display assets | |
create(){ | |
} | |
//update the attributes of various game objects per game logic | |
update(){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment