http://scratch.mit.edu/projects/Santar/1173197
ok well im not sure how to make it so it shows the costume once the guy has died u see because it picks a random between 1 and 30 the damage dealt somtimes goes over 0 and none of the scripts that are supposed to work at 0 work need some help pls and thank you
Offline
Okay, so that script that says
If [enemylife] = [-]:
Broadcast [Dead]
Set [enemylife] to [0]
Switch to costume [costume 6]
EndIfAll you have to do is change the if statement so it looks like this:
If [enemylife] < [1]:
Broadcast [Dead]
Set [enemylife] to [0]
Switch to costume [costume 6]
Stop Script
EndIfThat's it!
Oh, and you should also put the "glide to..." and "Brodcast [hitback]" blocks after it checks if it's dead, since a dead enemy can't attack you.
Hope that helps you with your project! (It looks great so far)
Last edited by Harakou (2010-07-05 22:05:15)
Offline