Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I'm creating a simple car game. I created a variable that every fraction of a second shows the current speed of the main car.
The problem is, when the car reverses. Values ??are minus, and I want them to be positive.
How Can I do that?
Develop games in your browser. Powerful, performant & highly capable.
'abs' gives you the absolute value.
Gloable number myVariable=-1
System Every X seconds -> Text| Set text to abs(myVariable)
Will give 1
Asmodean Thanks! That's very helpful!