![]() |
Screenshot of Unity Lesson 4.4 |
For this week's lab, we have to finish up the lesson of last week's lab. I learn how to spawn the enemies after the player defeated them and they gradually increase starting from 1 to 3 balls and I think that it is an excellent idea as an obstacle because the more enemies the player has, the more excitement it gives. I also learn how to spawn the powerup with every wave giving the player strength to collide with the enemies in a short period of time.
I encountered some problems as well such as the last few step of the previous lesson was not saved so I thought that I made some mistakes when I started the lesson. This made me go back to the last lesson and tried to find out what I did wrong making me lost time. Lastly, I was not able to complete this lesson because I could not find the problem when I was doing the last step. It was about spawning powerups with new waves. I tried to check my codes and also in unity and there was no error. Hopefully, I will be able to fix the problem.😟
Here is a shortlist of what I have learned:
Lesson 4.4
New Functionality:
- enemies spawn in wave.
- the number of enemies spawned increases after the player survived every wave.
- the powerup spawns every wave.
New concepts & skills:
- for loops
- increment ++ operator
- custom methods with parameters
- FindObjects OfType
Challenge 4
![]() |
Screenshot of Unity Challenge 4 |
The challenge was a bit difficult for me at the start so I decided to skip the first few challenges and complete the ones I can do. I was able to complete the necessary steps that we need to complete and overall, I am happy with what I have achieved!
Comments
Post a Comment