GTkoi Posted September 23, 2019 Posted September 23, 2019 hello, one last question but not the least : how to put an interface at the beginning of the game with several buttons like "start game" "option" "exit" with a background screen. Thanks to the person who helps me, I am very grateful to you... Quote
Rick Posted September 24, 2019 Posted September 24, 2019 What I would do is create a new map called StartGame.map or something like that. You won't have any 3D stuff in it (maybe you would later if you decide to have the start menu 3D background?). In the map add a pivot and attach a script to it. In this script would be where you draw all this stuff in the PostRender() function of the script if you're using images for the buttons or in the Start() function if you want to use LE's UI. Then when buttons are clicked you load the new map that is your actual game. You can see how to load a new map in Main.lua file but I think you just set a certain variable to the map name and then it'll load it. Quote
Josh Posted September 24, 2019 Posted September 24, 2019 The default project creates a menu like what you are describing. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
GTkoi Posted September 24, 2019 Author Posted September 24, 2019 Even if you explain well in writing, I would never do it, you don’t know a video that would show how to do it ? Thank you for your answers Quote
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.