I'm working on a game where a key mechanic is clicking and holding your car to fix it and escape. However, I can't figure out how to make the car's sprite sense when it is being held down. I just need to be able to increase a variable when the sprite is held down.
You can use Mouse conditions "Mouse button is down" and "Cursor is over object", but this event will run on every tick, so you will need to use delta-time.
For example:
Mouse Left button is down Cursor is over Car ..... Add 2*dt to CarHealth
This will increase CarHealth by 2 every second.
Develop games in your browser. Powerful, performant & highly capable.
Thanks! I'm new to Construct 3, I didn't see the button to add extra conditions.