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
How can i change the gravity direction in game (by action)?
Thank so much for reading.
Develop games in your browser. Powerful, performant & highly capable.
Assuming you're using the default Platform engine, go to whatever sprite you want to change gravity direction for and click the Platform tab Set Gravity Direction is under Settings.
But I'm not trying to make a platform game... It have a kind of physic.
Sorry. I must've read it wrong. I've been working on the Physics engine and all I've figured out is how to reverse gravity by making it negative. I don't know much about this engine, so I couldn't figure out anything else.
You could set off the gravity and add a force towards a position or a direction, as you wish. This can be done with actions.