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.

AppGameKit Classic Chat / How can I Pause physics

Author
Message
Hishoo
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location:
Posted: 31st Oct 2011 02:25
How can I pause physics, I pause the game by jumping off the main loop and return again to the same line, but all assigned physics sprites stay moving and simulating
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 31st Oct 2011 11:49
Just call "stepPhysics(0)" before you sync, IE:


Login to post a reply

Server time is: 2024-11-22 09:42:43
Your offset time is: 2024-11-22 09:42:43