Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Game Menu
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
BenDobson




PostPosted: Tue Mar 03, 2015 4:20 pm   Post subject: Game Menu

What is it you are trying to achieve?
I am trying to achieve a fully functional main menu for my 'pong' game.

What is the problem you are having?
When I press Play Game, then try and press back, it does not go through the loop again. I do not know why it doesn't.
(I believe the issue is with a Draw.Box because when I close the program because it isn't working, a Draw.Box command is highlighted.)

Describe what you have tried to solve this problem
I have tried starting the main menu procedure a second time in the main loop so that it runs again, i have tried using boolean variables to designate when to stop the program entirely and when to not.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Link:
https://www.dropbox.com/s/simn1xvms2yg6nr/2.2%20%281%29.t?dl=0
It's pretty easy to find when the error happens, again, just click "Play", then click "Back". The first menu will not pop up again and I do not know why.

Please specify what version of Turing you are using
4.1.2
https://www.dropbox.com/s/simn1xvms2yg6nr/2.2%20%281%29.t?dl=0
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Sun Mar 08, 2015 11:36 am   Post subject: RE:Game Menu

Can you copy & paste your code here? It makes it a lot easier to help out that way.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: