Dad72 Posted January 23, 2017 Share Posted January 23, 2017 Hello, I noticed a small problem with scene.dispose() When I want to go from one scene to another and I dispose the scene and I recreate a new scene, I am obliged to make a stopRenderLoop () otherwise the camera vas much faster, I find myself with 120 FPS instead Of 60 FPS. Would not it make an engine.stopRenderLoop () in the scene.dispose() ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 23, 2017 Share Posted January 23, 2017 because we don't know what users provide for this function. It could be completely unrelated. So if you want to dispose a scene which is used by your renderloop, you have to change or stop the renderloop first Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 23, 2017 Author Share Posted January 23, 2017 Yes, that's what I did. But if add a properties in dispose(bool: stopRenderLoop)? it's just a suggestion. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.