Created
May 28, 2020 12:22
-
-
Save Srushtika/aa2b7fbe22a9a2b8bcac34d71195c52a to your computer and use it in GitHub Desktop.
Code snippet 2 - For multiplayer space invaders article
This file contains hidden or 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
const config = { | |
width: 1400, | |
height: 750, | |
backgroundColor: "#FFFFF", | |
parent: "gameContainer", | |
scene: [GameScene], | |
physics: { | |
default: "arcade" | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment