Jump to content

Recommended Posts

Posted

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...

Posted

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!!! biggrin.png

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...