Arska134 Posted May 28, 2013 Share Posted May 28, 2013 Hello! Long time no posting. Ok i faced new problem with my project and i tried everything to go around it but no... :/ I am trying to clear everything from memory and load new level. I know it's not best way, but everything else has failed. Problem is that when game loads second time after i cleared everything it crashes when creating new body and setting mass to it. To clear everything i have been using this "freeFramework(fw)". (Also tried to freeworld(), clearworld()) But always that body variable has been hanging around. What is best way to change level? (I am using LE2 with Blitzmax) Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax Link to comment Share on other sites More sharing options...
Arska134 Posted June 10, 2013 Author Share Posted June 10, 2013 Nobody knows? Or did i explained poorly? Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 10, 2013 Share Posted June 10, 2013 Have you created a new camera in the scene you loaded? Quote Link to comment Share on other sites More sharing options...
Arska134 Posted June 10, 2013 Author Share Posted June 10, 2013 I've been using "fw.Main.camera" everywhere in my code. It's created with framework, or am i wrong? Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax Link to comment Share on other sites More sharing options...
Arska134 Posted June 10, 2013 Author Share Posted June 10, 2013 I think i managed to figure it out finally. Just skipping player creation if it's already done did the trick. I think. I'll keep this topic running if problems show up. Quote Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax 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.