check the y velocity of the block. if the block is falling the y velocity will be negative. if contact with the actor happens while the y velocity is negative.... splat!
@ iDeveloperz : his image is like a lollipop -_-' @ ORBZ : I completely understood what you want to say but I do not arrive to regulate it ...(I know... even in 6 days )
the main question is : How should I make what you say in gamesalad rules...
That's exactly what i did a long time ago and they only collide ... but after i made when self.linearY is < 320 it works but the other problem is that every time I collide whit it my actor dies
Guys this is really important for my game if you guys need money to do it just ask !... it's the last thing i need to finish my game so... If it's should be done ... i'll do it !
No sorry I really don't know man ! ... it's like when i use self.position Y ( for the block ) i think the gamesalad think it's self = scene so ... I wanna know too how to do this !
Comments
@ ORBZ : I completely understood what you want to say but I do not arrive to regulate it ...(I know... even in 6 days )
the main question is : How should I make what you say in gamesalad rules...
in the block:
RULE
when self.linearY is < 0
AND collides with main actor
change attribute game.splat to true (1)
in main player
Rule:
when game.splat is true
animate (splat animation)
Timer
after .2 seconds
destroy this actor
something like that
sorry man !!
in shared projects look for this: "Block Falling Kill but can jump on"