Jump to content

code not working


bsisko

Recommended Posts

Okay Torquers, why is the following code not working.

function GUIhide()
{
  Title.setVisible(false);
  Menu.setVisible(false);
  Start.setVisible(false);
  Continue.setVisible(false);
  quit.setVisible(false);
}

 

When I click the start button, Everything disappears (which is what I want) but the start and quit buttons. Observe the attached images.

images.zip

images

Link to comment
Share on other sites

Hey guys the problem has been solved. It seems like I had two sets of controls with the same names, and the code was hiding the wrong set of controls. Therefore the obvious solution was to rename the set of controls.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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