The articles in Part I will be about programming the mini game that is described in this article. It's a simple coin collecting game. The match time and the player's score will be modified during the match.
The focus of my articles is on teaching programming in Verse, so my examples use simple scenarios. The mini game will look like this image:
Below is the specification of the mini game:
- The mini game is for one player only.
- A Player Spawner will be used to define where the player starts.
- Around the Player Spawner will be 8 Item Spawners.
- All Item Spawners will be set to spawn a Gold type item (gold coin).
- Only one coin at a time will be available for the player to collect. When this coin is collected, another coin will be spawned by one of the Item Spawners.
- At the start of the game, the player will have 30 seconds to collect the coins.
- The game's level determines the points the player earns when collecting a coin.
- For every 3 coins collected, the game's level increases and 5 seconds are added to the match time.
- The match ends when time runs out and the player's score is displayed.
When you finish programming this mini game in Verse, you will have already assimilated the basic blocks of programming in Verse and it will be easier to understand examples of more advanced games made in Verse.