Self Study 4.A | KIT207 Portfolio
KIT207 Portfolio » Devlog
Self Study 4.A | KIT207 Portfolio
Welcome to Self Study 4, this is a slightly different structure compared to normal, there is actually two parts for this week, one of making a game building on the previous weeks work, another is game ideas for a further assignment down the road.
So, for this we were given some code to apply to our projects, PlayerHealth and Spawner.
Spawner, replaces out mouse clicking spawning from tutorial 3. This spawns Bagman at every second or so, leading to uh...hordes and hordes of bagman.

Now to actually game it, we needed to create consequences for colliding with an enemy, so using the door script from tute 2, it was repurposed to work with the enemy, this feeds into the PlayerHealth script which I added a death condition when hp reaches zero. I have also added healthpacks, which increase HP using very closely related code, but without the seeking behaviour.

Now in its current state, when I die my camera is currently parented to my player object, which is.... problematic (causes everything to break) but the player is dead so, it just works. (Thats what you see flashing up at the end of the gif.)

I also hacked together some UI to display the HP count, for convience. This is using the legacy text features, which I had more experience with on a canvas which is overlayed on the camera, so its always visible.

This was a shorter one, I must say but most of the content was very easy to apply, plug and play really.
Gotta put my thinking cap on for 4.B though Game ideas!
References:
KIT207 Portfolio
Kit207 Portfolio stuff!
Status | In development |
Category | Other |
Author | Ee3eEe |
More posts
- Self Study 5 and The Final Tutorial! | KIT207 Portfolio25 days ago
- Self Study 4.B | KIT207 Portfolio33 days ago
- Tutorial 3 and Self Study 3 | KIT207 Portfolio41 days ago
- Tutorial 2 and Self Study 2 | KIT207 Portfolio48 days ago
- Tutorial 1 and Self Study 1 | KIT207 Portfolio55 days ago
Leave a comment
Log in with itch.io to leave a comment.