animations aren't working and how do you do this?
idoistuff
Member Posts: 197
so first off when I put in my actor "when collide with death play animation (put in all the pics) wait 2 seconds (timer) and then restart scene."
it doesnt play the animation..
also second question, how do people do it so when your player hits a TNT block your player will explode into chunks that fly in different directions according to the TNT.
it doesnt play the animation..
also second question, how do people do it so when your player hits a TNT block your player will explode into chunks that fly in different directions according to the TNT.
Comments
or is it just on the actor... ???
try a longer timer After 5 seconds... to see if that allows animation to show
test the animation without being in a rule...to make sure it works right. think it is again an animation ...
MH
take your actor image... and copy/cut in 5 sections... them place/paste each sections in your new image... at positions and rotations that look realistic... do the same for the tnt...(best put each section in a new layer)
and you have got to do several new images to show pieces flying further away from tnt...
take your first image...when things are close to the tnt... duplicate it and move things slightly further away and save that one... and keep working to you have the series to your liking
use the images in an animation...
shouldn't take longer than 1/2 hour...as you are not creating anything just chopping and pasting...
MH
http://dl.dropbox.com/u/11172522/Screen shot 2011-03-04 at 6.42.58 PM.png
If not, download and study this demo and you should be fine:
http://gamesalad.com/game/1987
Make a boolean attribute in your actor and set your overlap or collide rule to set the attribute true.
When overlap or collide
--Change attribute self.hit to true
then make a rule when self.hit is true
--run animation
Then another rule when attribute self.image = (exact image name including .png of what ever the last image in the animation is)
--Destroy actor
if I made an animation of the TNT blowing up and make the animation 200x200 and the tnt block is only 52x52 would it resize the tnt animation to 52x52?
cheers
http://dl.dropbox.com/u/11172522/Screen shot 2011-03-04 at 9.08.11 PM.png
it will destroy actor, but WONT reset the scene..