Posted 24 April 2012 - 05:53 PM
damage pops up over the enemies head for every attack that hits him. e.x. i shoot the enemy and another thing damages him
then both of the damages pop up over the enemies head but next to each other.
I think i could make sprites that show each damage. but that could get quite big because you can upgrade damage etc.
If the sprite way is my best choice just say so.
Posted 24 April 2012 - 06:09 PM
You wanted to make it so that multiple damages would appear next to each other, but I think it would be better to make the damage go upstairs and vanish, this is also easier to do.
In that case you should create a new object that represents the damage and add in his draw event:
and in his create event:
and in his step event:
and then you should create this object with this code when the enemy takes damage:
var(temp)=damageTaken; // replace this
with instance_create(x,y,damage_counter) damage=string(temp);
Posted 24 April 2012 - 09:45 PM
Posted 25 April 2012 - 02:35 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users