Enemy Item Drop and Hurting player
Enemy Drop:
it was always my intended idea for the enemies to drop items on death
i spent today working on this function.
This was a simple implication of instantiation of a random number form my items array i established awhile back to test different spells.
Enemy Damage:
up till this point i have yet to implement the collision between the player and skeletons just because i didn't want have the health indicator set up.
since i completed that last time i added the code for the collision.
Summary:
At this point in my game:
Player:
-the player can Fire projectiles and move around.
- The player can collect items
-Items effect the players projectile in various ways.
-the player looses health when he collides with an enemy
Enemy:
- is idle till player enters certain range
-once player is noticed the skeleton chases
-skeleton collides with projectiles and takes damage.
-skeleton drops and item at random on death
- skeleton has an attack animation when to close to player.
-skeleton deals damage to player
-skeletons collide with each other preventing them overlapping as they converge on the same point.
Comments
Post a Comment