This is my first attempt with Construct2, but I'm stucked :(
I need your help god community!
take a look at this demo first
HOW IT WORKS
- I use 2 globals (PG_hor and PS_hor)
- I the 'S' on keyboard is down and the character is on floor, then the global is set to 1
- If the 'S' is released, global to 0
All the platforms are influenced at the same time, that's not what I want. I want that only the plarform on which the character is on is influencable. I need a solution that detects on which platform the character is on.
Probably that the global doesn't help here because it overides all the other events. So how can I achieve this?
Construct2 - code platform global prob
INVESTIGATE (stuff I try but doesn't work)
-Pick index object
-use local variable instead of global