Hello guys! I'm learning to use Construct in the last month and I'm very excited about the engine and the community.
In the last few days, I came across a problem that I can't solve:
My game is a platform, and I have a simple system where the player "flies" for a few seconds while the SHIFT key is pressed.
However, it is a "special power", and the player needs to collect an item (item> 0) to do this.
The problem: when you use "fly", you lose "1 item". But when you lose "1 item", you are left with 0 item. And if you have 0 items, the "fly" will not work.
Summary: "flying" works for 1 tick, the player loses "item" and "flying" stops working, because there is no more "item" to make it work.
The player should lose the "Item" only when he is on the ground, or when the SHIFT is released, but I was unable to make it happen. Someone to help me solve this stupid question?
Thank you very much <3