Evolution prototype V.0.1 paths/enemy
Pathing
first off for my prototype I create a basic path that enemies would go along coding this myself using simple boxes to indicate what the enemies are showing them go along a path then reaching the end and destroying themselves effectively.
Life meter
Then I introduced a piece of code that wants enemies which the end of this path they would subtracts life point from the player I used a simple UI overlay to display that the current health of the player is going down.
Enemy (scripts)
once I cleared the basic script for the enemy which made them move along the path I could increase the speeds or decrease the speed of the enemy movements and also the crease and increase the amount of health the enemy would take off the player when it reached the end
Basic enemy (script)
I then created basic variables for the enemies which I would use later this script is poor on every single enemy and showed the health of the enemy how much damage the enemy would take from attacks as well as the amount of resources the enemy would give when destroyed this script at the moment only displays the variables and does not have any actions but later will be used in order to have effects in game.
No comments:
Post a Comment