PT
Developer Forums
Register
Login
[Archived] AppGameKit Classic Chat
->
How can I Pause physics
<
1
>
H
Hishoo
Joined:
5th Apr 2005
Location:
Posted:
31st Oct 2011 2: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
B
baxslash
Joined:
26th Dec 2006
Location:
Duffield
Posted:
31st Oct 2011 11:49
Just call "stepPhysics(0)" before you sync, IE:
+ Code Snippet
if pause = 1 stepPhysics(0) endif sync()