Hi everyone,
I'm making a simple lander game to teach myself the basics of Construct2.
The player's object (MarsLander) has a variable called Fuel. When Fuel <= 0, the player should not be able to control the lander. That is, the System should ignore the keypresses. Or, when fuel >= 0, the player can control the lander.
What I want is this:
IF MarsLander.Fuel >= 0
do keyboard input
What I have is this:
System.EveryTick
System.MarsLander.Fuel >=0
Keyboard.UpArrow pressed do stuff
Keyboard.DownArrow pressed do stuff
Keyboard.LeftArrow pressed do stuff
Keyboard.RightArrow pressed do stuff
But, that allows the player to move the ship around even if there is 0 fuel.
Any guidance is much appreciated.
Has