KIT 207 - Self Study 4 (A Simple Game)
A put together the necessary elements to have a simple game in Unity. I couldn't find the assets on Mylo to begin with, so I made the health script myself, giving the player 100 base health. In this game, there are three spawners that spawn in an enemy every second, who then begin following the player. If one of these enemies touches the player, the player loses 10 points of health and the corresponding enemy dies.
Additionally, I added in some red spherical health packs. These have a slight glow to them and stand out very well against the green and grey world. When you walk into one of these packs, you regenerate 10 points of health and then the pack is destroyed. The gif doesn't display the health pack correctly for some reason (I was having trouble with Screen2Gif and couldn't get the colour to come through), but you can see one briefly in the third gif.
Finally, I made so that if your health reaches 0 (or below 0 just in case), a Game Over text will appear on the screen and the player gets destroyed. Because the primary camera is on the player, that also gets destroyed, and the camera reverts to the original mansion scene, which makes a cool game over background coincidentally. You can also briefly see the health pack here but the colours are still playing up.
Getting all this functionality to work relatively quickly was not much of a challenge, having done most if not all of this stuff in 109. The real challenge for this self study has been Screen2Gif unfortunately :(
UTAS KIT207 Portfolio
Game Design and Production
More posts
- KIT 207 - Self Study 4 (Game Ideas)11 days ago
- KIT 207 - Tutorial 315 days ago
- KIT 207 - Self Study 319 days ago
- KIT 207 - Tutorial 224 days ago
- KIT 207 - Self Study 225 days ago
- KIT 207 - Tutorial 126 days ago
- Blender Barrel and Wrest Point39 days ago
Leave a comment
Log in with itch.io to leave a comment.