fredou54 Posted January 12, 2018 Share Posted January 12, 2018 Hello,I would like to make a simple menu to start my game. I looked on the forum but I still do not understand how to do it (I'm not at all coder lua). if anyone could help me or a tutorial would be welcome.Thank you for your cooperation and good game.(I am French) a small picture of my project 2 Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted January 12, 2018 Share Posted January 12, 2018 There is a default menu in pretty much every project. Press escape when you run your game and you should see it appear. have a look at the main.lua. Quote Link to comment Share on other sites More sharing options...
GorzenDev Posted January 12, 2018 Share Posted January 12, 2018 like aggrorjorn said. but also take a look in menu.lua you can also take a look at my blog its C++ but very similar to how you would use lua. Quote Link to comment Share on other sites More sharing options...
fredou54 Posted January 12, 2018 Author Share Posted January 12, 2018 I thank you for your help but I do not really understand the procedure to follow.it's okay I'm going to fine tune my game in the meantime. Quote Link to comment Share on other sites More sharing options...
Josh Posted January 13, 2018 Share Posted January 13, 2018 From what I can see your level design looks pretty nice. You might find a programmer here who wants to work with you on your game. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Thirsty Panther Posted January 13, 2018 Share Posted January 13, 2018 Do we really need to get a programmer to write a script for a start menu? If we could just have some simple examples in the documentation that would help a lot. 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted January 13, 2018 Share Posted January 13, 2018 1 hour ago, Thirsty Panther said: Do we really need to get a programmer to write a script for a start menu? If we could just have some simple examples in the documentation that would help a lot. There already is a start menu included in the default template. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
fredou54 Posted January 13, 2018 Author Share Posted January 13, 2018 Hellothere is a menu only by pressing esc. what i would like to do is a boot menu (a start game button to launch the game) I do not know where to put it in the code (menu)thank you Quote Link to comment Share on other sites More sharing options...
Josh Posted January 13, 2018 Share Posted January 13, 2018 If you run the game from the editor the start menu is skipped and it launches right into the map. If you run the game outside the editor it starts in the way you describe. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
fredou54 Posted January 13, 2018 Author Share Posted January 13, 2018 I just tried to publish a standalone on my pc and I have no starter menu game (the game starts without a menu)I will not bother you with that for the moment, I will resume my level design and come back later on the subject.Thank you for your help and good game. Quote Link to comment Share on other sites More sharing options...
AlexGCC Posted January 19, 2018 Share Posted January 19, 2018 On 13.01.2018 at 9:50 PM, fredou54 said: I just tried to publish a standalone on my pc and I have no starter menu game (the game starts without a menu) I will not bother you with that for the moment, I will resume my level design and come back later on the subject. Thank you for your help and good game. Hello. You need to delete "Map/start.map" in Main.lua Quote local mapfile = System:GetProperty("map","Map/start.map") Quote Link to comment Share on other sites More sharing options...
fredou54 Posted January 19, 2018 Author Share Posted January 19, 2018 Thanks alex it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.