casonpollak / cason_2025

Apache License 2.0
0 stars 0 forks source link

POPCORN HACKS #9

Open casonpollak opened 2 months ago

casonpollak commented 2 months ago

Defining the purpose of the files in the RPG games. Using the Anatomy section, describe the RPG Game files in your own words:

rpg.md: The JavaScript object literal pattern helps organize and manage the important parts of a program in one place. It makes things easier to understand and control, like putting all your tools in one toolbox, so you know where everything is when you need it.

GameControl.js: Defines data for assets in the game and starts the game

GameEnv.js: Uses a classic Java static class pattern that manages the game environment.

Background.js: Creates the background.

Player.js: Creates the player.

casonpollak commented 2 months ago

Background and Player Hacks

image