rpg.md: Defines data for assets in the game and starts the game
GameControl.js: Manages start which is the code that starts the game, gameLoop, which is the recursive code that keeps the game running, and resize which is the code that adjusts the game when you resize the screen
GameEnv.js: Defines the creation of the canvas and uses and
Background Popcorn Hack:
Changed the background!
Player Popcorn Hack:
Dependencies
Dependencies are external modules that contain methods or attributes that your class (OOP) relies on.
Constructor
Constructors initialize an object and set up its attributes
Attributes
Define state and characteristics of an object
Methods
Functions that define the behavior of an object
Exports
Exports are what allow you to make your class available in other modules
JSON Object Popcorn Hack:
rpg.md: Defines data for assets in the game and starts the game GameControl.js: Manages start which is the code that starts the game, gameLoop, which is the recursive code that keeps the game running, and resize which is the code that adjusts the game when you resize the screen GameEnv.js: Defines the creation of the canvas and uses and
Background Popcorn Hack:
Changed the background!
Player Popcorn Hack:
Dependencies Dependencies are external modules that contain methods or attributes that your class (OOP) relies on.
Constructor Constructors initialize an object and set up its attributes
Attributes Define state and characteristics of an object
Methods Functions that define the behavior of an object
Exports are what allow you to make your class available in other modules