Computer Science Canada Game Menu |
Author: | BenDobson [ 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 |
Author: | Insectoid [ 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. |