Week 5 - Game Development
By tuning in to this week’s workshop, I understood a brief understanding of how to make a classic Asteroid game.
The workshop taught me how I can get the player’s ship to aim where the player’s mouse was, the player can control ship freely, as well as how to spawn asteroids randomly around the game scene. Thankfully, I succeeded to implement the one of the goal which is Player can move freely in all directon. The classic Asteroid game was really easy to control, so I think I’ve done the first goal as well.
To make Fancy asteroid game, firstly I started to think what is fancy space and then I came up with Buzz light Year and Little Green Men. So I decided to use these characters and used Buzz as character instead of spaceship and little Green Men as enemy.
I used Little Green men as enemy like Asteroid, but I felt bad, so I changed to use Little Green Men as character just blocking the view. It is like just passing though the game screen. like below.
So, if player hit a Little Green Men, nothing happened, but player can not see Buzz, because Little Green Men hides him. To implement this thing, I learned about Z-axis in GDevelop and how it works and then I set background to be z-axis 1, player and asteroids 2 and Little Green Men 3.
Moreover, I added speed and spawn system for Little Green Men. As a result, Little Green Men pass though screen per 3sec. It is funny.
Secondly, I implemented the score system which means when player break asteroid +1 score. I used global variable for score. So, I can share the result score for all sense like start menu and end menu. Therefore, in my end menu, player can see own score.
This URL is where I learned about Z-axis
https://www.buddhilive.com/2020/05/adding-background-objects-to-game.html










