Last active
June 6, 2017 01:19
-
-
Save snggeng/71d85d6de89f6cd9d4e83f011f06e15c to your computer and use it in GitHub Desktop.
Creating Game Objects
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
// World settings | |
var assets = []; // All game objects | |
var player = new Player(settings); // The player | |
assets.push(player); // Add the player as a game asset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment