Hey guys
In my game I have a boxes that should do 3 things:
- hurt the player (-1 health)
- set private variable "is_hurt" to 1 (default 0)
- bounce the player back
These are my events
Because I've set up my bounce like this (events 26 & 27) the player is bounced back immediatelly when he collides with kill_box and the variable "is_hurt" is not toggled at all.
The variable toggles only when I walk into the kill_box fast or slowly two times, see below
webmshare.com/play/nrGnb
Is there a better way to detect collision so my variable will change value before the player is bounced back?