src/main/resources/level_1.json
The config file has the hero as its own JSONObject. The immovable, movable and enemy entities are all stored in three separate JSON arrays. Each entity that belongs to an array requires attributes specific to that array. This facilitates the creation process and allows you to add a new entity anywhere in its corresponding JSON array.
- To run the project use the comandline gradle build gradle run (The java version should be 11+)
- The cloud will move in a move back and forth at the specified location
- Use → ← ↑ to control the character move right left and jump
You can use mouse to click the save & load button Or you can use key Q to save and key W to load