Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / [SOLVED] 2d gravity for all objects

Author
Message
Klim
5
Years of Service
User Offline
Joined: 29th Sep 2018
Location:
Posted: 6th Oct 2018 19:40
So, my answer is easy. Do you know way to turn on gravity for all odjects. Something like function, or something else for every thing on map. I would be glad even for single command)

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 11th Oct 2018 03:11
This post has been marked by the post author as the answer.
SetPhysicsGravity()
You'll need to setup the 2D physics system and enable you sprites for physics.

Login to post a reply

Server time is: 2024-04-20 07:28:09
Your offset time is: 2024-04-20 07:28:09