Creating Menus, Making Enemies, and Using Autoloads
Although it was a lot of fun setting up all the current systems, the game is still kind of boring. There is no real adversary, nothing to stop the player from just picking up all the gold coins they desire. Let’s bring some challenge into the mix by creating enemies that attack the player and try to stop their road to glory and fame!
Next to that, we’ll also create a little menu to start our game from. We’ll do this with Godot’s user interface (UI) system, which makes use of Control nodes. In this chapter, we will discuss the following topics:
- Creating a menu
- Making enemies
- Shooting projectiles
- Scoring highscores in autoloads