I'm currently trying to make a action-platformer game with construct 2 and have been running into some difficulties finding the information i'm looking for.
I'm trying to make it so that at the press of a button, certain objects a distance from the player rise into the air. I've already figured out the rising into the air aspect and played with physics enough to know what to do to have things shift around in the air. However, I'm trying to find something akin to the if-then statement so that I can do the following:
1 - If they are X distance from player when Y button is pressed, then they rise into the air.
2 - If there are blocks rising into the air and a direction is pressed, the player does not move but the blocks do
3 - if the blocks are X distance from the ground they stop and start hovering.
If I can figure out how to make if-then/else statements in this program i believe that i can solve this and many other related problems in my game, but i'm having difficulty finding the info i need. Any help in this regard would be greatly appreciated.