-
Notifications
You must be signed in to change notification settings - Fork 4
Game Layout
Since the game is aimed to mobile platforms, we will try to use touchscreen events to trigger the game controls. The main character itself will only suffer from these events, it is a passive entity so to speak.
For instance, we can do as follows:
- When tap the moon and the character is on its surface, the astromouse will jump.
- When a shooting star is on the screen the player can jump to it to try to ride it. After that, the player can drag the star on the screen in order to collect the cheeses.
- The player has to bring astromouse back to the moon surface, otherwise it will fall to the void and is game over.
- When the comet enters the screen, the player can drag it to the moon, it will then crash and create a crater and some cheeses.
- The crater will stay on the moon for a while if astromouse collides with it, is game over.
- When astromouse is not on the moon surface, tap the moon will exert a gravitational force (if astromouse is on the gravity field of the moon) bringing him back to her surface.
- This is mainly used when a planet appears, it will try to take astromouse out of the moon surface, then a gravity battle will begin between the planet gravity and the moon’s. If the astromouse collides with the planet or get out of the moon gravitational field is game over, if the planet vanishes and the astromouse isn’t on the moon’s surface is game over too.
Moon Cheeser achievements are based on its features, in order to unlock the achievements the player will have to accomplish some simple tasks, such as:
- Gather some amount of cheeses
- Create a given amount of cheeses with comets
- Collect a given amount of cheeses while riding the shooting star
- Stay out of the moon surface for a given time
- Drag some amount of comets successfully on the moon’s surface
- Bring the astromouse back to the moon surface for a given amount of times
- Win some amount of gravity battles
- Collide a star with a comet
- Collide a star with a comet while riding it (Kamikazi mouse)
- Collide two stars (super nova achievement :v)
- And so on.
The achievement system will be a singleton
which will be responsible for counting all the current values, the “feat” achievements will be done using signals which will be received by the achievement singleton and it will unlock the achievement when the signal got received.
It will also maintain a dictionary with all the achievements and values stored, which will be saved in the player device or inside a cloud storage, and then loaded every time the game begins. We can create a .json
file to do this and use the File
class in Godot to load and save it.
Moon Cheeser is a game by Pigdev available now on itch.io! 🐭 🌔 You can help the project by becoming a supporter on Patreon 🐷 💵