Week 4 - Health and UI
I started this self study module late due to struggling a bit with the tutorial task, and unfortunately didn't manage to finish everything in time (the lecture's just started!). But I'm pretty happy with how much I did manage to get through.
Our task was to put together a lot of what we've learnt into a simple game. I got the NavMesh working with my tourist site and also modelled some trees, and all of that seems to be working well. I had trouble making the enemies follow the player, as my code only had the enemies go towards the original position of the player. I eventually worked out I needed to use GameObject.Find("char"). I believe this finds an instance of the char object? I'm surprised how bad I am at searching and understanding the Unity documentation.
Unfortunately I spent so long getting that to work I only had 30 minutes left for the rest! I managed to make the enemies destroy upon collision and decrease the player health, and a health kit do the same while increasing the player health (I only modelled it as a capsule). I ran out of time getting the UI to work properly though, and I'm not sure why the player isn't being destroyed when health hits 0.
If there's a single thing that's frustrating me it's animation, which seems to work differently in every project even though I swear I do the same thing every time! This time the mandragoras only animate once and then don't loop, even though all the settings I can see are the same as my other project where they do loop.
Making progress though!
Get UTAS KIT207 Portfolio
UTAS KIT207 Portfolio
More posts
- Week 6 - Cameras and Post-ProcessingAug 20, 2021
- Week 5 - LightingAug 17, 2021
- Week 4 - NavMeshAug 08, 2021
- Game IdeasAug 05, 2021
- Week 3 - Terrain and Modelling in UnityAug 03, 2021
- Week 3 - Animations in UnityAug 02, 2021
- Week 2 - Basic AnimationsJul 27, 2021
- Week 2 - Importing into UnityJul 20, 2021
- Week 1 - Barrel and Tourist ModelJul 19, 2021
Leave a comment
Log in with itch.io to leave a comment.