Devlog 04.1 - Simple Game
The Fourth Week!
This week focused on creating a simple game using what I've learnt over the last few weeks.
Starting Off
To start off with creating this simple game, I removed the script that was spawning enemies wherever I was clicking. Using the new provided enemy spawner script, I ended up making the enemy spawner objects. Last week I already had the behaviour where the enemies would find the player and go to that location, so I kept using that script. You can see in the GIF below them spawning and then moving towards a stationairy player.
Moving on, adding the health script to the player and creating a GUI for the health. You can see the health GUI in the above GIF as well.
Oh the struggles
I have been struggling with a few things. Mainly centred around getting the trigger detection to work. As an example this is how I have the health pack set up. It's collider is also set to "Is Trigger" being enabled.

This has also been a struggle on with the enemies doing damage as well as being made inactive.

Portfolio Work
After the painstaking journey that was trying to work out why nothing was working, finally asking Github Copilot what I was doing wrong. It told me to double check the existence of a rigidbody. Which of course, I absolutely forgot about. After adding rigidbodies to both the enemy and player objects, everything kind of started working.
After that, I started working on the end game screen. I copied the part in the health script for the health text, and just made it for a death text instead. Seems to work well. I have also changed the colour of the text to allow me to see stuff better.
UTAS KIT207 Portfolio
Status | Released |
Category | Other |
Author | SorceressEve |
More posts
- Devlog 05 - Lighting17 days ago
- Devlog 04.2 - Ideation24 days ago
- Devlog 03 - Terrains and ProBuilder31 days ago
- Devlog 02 - Bones, Rigging, and Animation38 days ago
- Devlog 01 - The Barrel & The Railway Roundabout Memorial Fountain45 days ago
Leave a comment
Log in with itch.io to leave a comment.