Button problems
Author |
Message |
KingGrumpz
|
Posted: Tue May 28, 2013 8:05 pm Post subject: Button problems |
|
|
What is it you are trying to achieve?
I am trying to hide the buttons for my game
(Note: This is no where close to being finished)
What is the problem you are having?
My main navigation buttons for my game are still clickable after a destination
has been chosen if you click in the same spot. (you have to run the game to understand)
Describe what you have tried to solve this problem
I've used GUI.Hide, GUI.Dispose, View.Update, View.UpdateArea, and cls
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Code attached
Please specify what version of Turing you are using
4.1.1
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
mainFile.rar |
Filesize: |
343.09 KB |
Downloaded: |
195 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
MihaiG
![](http://compsci.ca/v3/uploads/user_avatars/2070081168483773c3dead4.png)
|
Posted: Fri May 31, 2013 5:11 pm Post subject: Re: Button problems |
|
|
In the years ive used turing, I have never had success with the GUI buttons, they have always been buggy. My advice, with a little ambition you can make your own button class, or just some buttons that work just as well. There will be some bumps that occur ie. making sure someone doesnt mouse click then move over the button, mouse click move off the button and let go etc. but these can be readily fixed with some thoughtful if statements.
|
|
|
|
|
![](images/spacer.gif) |
|
|