【问题标题】:Back to Menu issue返回菜单问题
【发布时间】:2015-10-02 03:44:22
【问题描述】:

我的代码有点问题, 当我停止物理引擎时如何重新启动它?

【问题讨论】:

    标签: lua coronasdk physics


    【解决方案1】:

    https://docs.coronalabs.com/guide/physics/physicsSetup/index.html

    开始/暂停/停止

    以下函数启动、暂停和停止物理模拟:

    physics.start() — either instantiates or resumes the simulation (if paused). You must start the physics simulation before calling any other physics functions in this guide.
    physics.pause() — pauses the physics simulation.
    physics.stop() — this is treated as a request to "destroy" the physics world. If you merely want to pause the physics engine, use physics.pause().
    

    这是你要找的吗?

    【讨论】:

      猜你喜欢
      • 2012-10-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-18
      • 1970-01-01
      相关资源
      最近更新 更多