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
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi everyone!
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?
'abs' gives you the absolute value.
Gloable number myVariable=-1
System Every X seconds -> Text| Set text to abs(myVariable)
Will give 1
Develop games in your browser. Powerful, performant & highly capable.
Asmodean Thanks! That's very helpful!