fumanshoo Posted December 6, 2012 Share Posted December 6, 2012 I'm trying to figure out how to "terminate" an object or a scene. For example, I have water = LoadScene("abstract::water.sbx") but how would I get rid of it with the push of a button? I guessed if KeyDown (KEY_DOWN)==1 then water = 0 end but that was obviously wrong. For now, i'm just moving the water entity but that kinda sucks because it's still being rendered and it screws with my frame rate... Quote Link to comment Share on other sites More sharing options...
Josh Posted December 6, 2012 Share Posted December 6, 2012 http://www.leadwerks...clearworld-r457 http://www.leadwerks.com/werkspace/page/Documentation/le2/_/command-reference/entities/freeentity-r121 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
fumanshoo Posted December 6, 2012 Author Share Posted December 6, 2012 Josh, I could not thank you enough. I needed this for an oceanography project due tomorrow ( videos will be uploaded tomorrow ) and this just saved me from so much lag. Thanks!!! 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.