The Beginnings of an Alpha
This week, I continued to work on developing my game Eterna Hunt by adding more core mechanics into the game in order to develop an Alpha version.
I wouldn't call this a fully complete alpha as my terrain is lacking and I only have the basics set in place as of now, but it does show the basic elements of the game.
I will not be adding more to the terrain until all of my scripting is complete for now as it slows down my laptop considerably and would rather have the game elements work than have a pretty game that doesn't function.
This week I did quite a lot of scripting!
I included a little spider enemy that looks at the player as they walk around the map, and walks towards the player and attacks when they get into a certain distance of the spider. When the player swings the axe at the spider it dies! When the spider attacks the player, it takes away some a heart from the health bar... or it should. I can't seem to get this feature to work at the moment but the scripting is there so it's only a matter of figuring out what went wrong.
Image of the spider enemy coming towards the player
Source: My Unity Project
I also added a health bar, along with hearts that can be collected from the map which increase the health by 1. This gives players a chance to recover health after an attack from the spider! The hearts are greyed out when the player loses them from damage, and when the player collects the heart it turns back to red. The hearts by default rotate, and when the player walks over them they make a sound and disappear.
Image of collectable heart
Source: My Unity
I also made a Game Over screen that activates when the player health reaches 0. As there is a bug with the code to get the health to reach 0, I can't actually test this feature at the moment until the code issue is resolved. The script to trigger the Game Over screen is there however, so in theory it should work once the spider is actually able to damage the player.
Game Over screen
Source: My Unity Project
Overall I'm happy with my development of my game so far and have been finding it easy to follow tutorials and use assets. However, my script seems to want to have a hiccup here and there, which has been difficult to try and resolve since I don't really know what I'm doing.
I am meeting my targets- I planned last week to add enemies and a health bar for this week which I did! I have a game with a main menu, collectable objects, health bar, enemies, weapons and a game over screen so I would consider it playable and in the stages of being an alpha.
Next up I'm going to look at implementing a hunger bar, fixing up my code errors, finding assets to use for my game and working on making several enemies and hearts and objects placed throughout the map.