Week 4 - Self Study (Simple Game)
Week 4 self-study involved creating a simple game.
In this part, I built upon the environment I created from the last tutorial and my self-study. First, I obtained scripts from Mylo and imported them all into Unity. Then, I followed Mylo's detailed instructions to implement a basic game. Here's a GIF I made showcasing the spawner, player health, and enemy attack mechanics after I finished implementing them.
By following the instructions and revisiting Tutorial 2, I was able to complete this task smoothly. When an enemy collides with the player, the enemy is disabled, and the player loses 1 health point.
Next, I implemented health packs as spherical objects. Using trigger detection and the PlayerHealth script, I made it so that when the player collides with a health pack, their health increases by 1 point. (assuming health packs heal the player)
After completing the self-study portion, I feel confident using UnityEvents. I recognize their value as a flexible tool. UnityEvents allow me to modify event listeners directly in the Inspector, eliminating the need for additional code. Overall, this section has significantly increased my experience with Unity.
KIT207 Portfolio
Status | Released |
Category | Assets |
Author | HoangDaiNguyen |
Tags | 3D |
More posts
- Week 5 - TutorialJun 18, 2024
- Week 5 - Self StudyMay 31, 2024
- Week 4 - Self Study (Game Ideas)Apr 04, 2024
- Week 3 - TutorialMar 29, 2024
- Week 3 - Self StudyMar 24, 2024
- Week 2 - TutorialMar 24, 2024
- Week 2 - Self StudyMar 21, 2024
- Week 1 - TutorialMar 10, 2024
- Week 1 - Self StudyMar 07, 2024
Leave a comment
Log in with itch.io to leave a comment.