Ok so I've been making a Mario Bros. like game but with different characters,stages and that stuff but I have a problem, I don't know how to make the character Sprite "kill" another Sprite by only jumping on top of it (not just by touching it). So does anyone know how to do this???
PS. I'm new to Scratch
Offline
Hi, welcome to scratch , remember to have fun. Ok, anyway, add the following script to the sprite you want to be "killed":
when gf clicked forever if << ((y position) of [hero v]) > ((y position)+[3]) >>// the name hero can be changed if < touching [hero v]? > show broadcast [die script v]//replace this with death script eg ghost effect hide endHope this helps.
Offline
Ideas wrote:
Hi, welcome to scratch , remember to have fun. Ok, anyway, add the following script to the sprite you want to be "killed":
when gf clicked forever if < ([y position v] of [hero v]) > ((y position)+[3]) >// the name hero can be changed if < touching [hero v]? > show broadcast [die script v]//replace this with death script eg ghost effect hide endHope this helps.
Fixed somewhat...
I agree...This should work, I think.
Offline