Skip to content

Instantly share code, notes, and snippets.

@Srushtika
Created May 28, 2020 12:22
Show Gist options
  • Save Srushtika/aa2b7fbe22a9a2b8bcac34d71195c52a to your computer and use it in GitHub Desktop.
Save Srushtika/aa2b7fbe22a9a2b8bcac34d71195c52a to your computer and use it in GitHub Desktop.
Code snippet 2 - For multiplayer space invaders article
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