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.
Ideation hack
concept
The player is stranded on a deserted cloud and must gather resources (like water, food, and needs to safely get to land) to survive.
Add an NPC- Add an interactable npc that can give you quests for loot and helps you navigate around the map
Add weapons-
You can use Weapons to fight NPCs for loot and also add sheilds that can protect you from being damaged.
Add mobs
Add Levels-
Every time you kill a certain number of NPCS you level up, and level up increases your max health
Health
everytime you get hit by an npc, you lose a certain number of health and when it drops to 0, you lose everything and have to start over
Story line
Add an interactive storyline where each part has different maps and npcs.
Difficulties
The game will get more difficult as i goes by
Scrolling maps
Everytime you finish a level, you automatically change the background.
Music
Add a button where you can change the music
Avatars
A customizable menu where you can change your avatar, hats/clothes/hair etc..
Fruits
Fruits can heal you and there are also thorns and moving blocks to give it a parkour like feeling