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

Username:   Password: 
 RegisterRegister   
 how to return to game menu
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
iwannadie123




PostPosted: Thu Apr 26, 2018 9:40 am   Post subject: how to return to game menu

We made a game that involves levels and a main menu. The menu takes you to the levels. How would you go form the levels to return to the main menu?
thx



April25 game2.t
 Description:

Download
 Filename:  April25 game2.t
 Filesize:  7.2 KB
 Downloaded:  141 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Srlancelot39




PostPosted: Wed May 02, 2018 8:25 am   Post subject: RE:how to return to game menu

Make it a function! Very Happy

Any specific task your program performs repeatedly should be a function. It could be as simple as a function that turns strings into booleans, or as complex as a...main menu. Smile
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: