Jump to content
GTkoi

INTERFACE

Recommended Posts

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...

Share this post


Link to post

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.

Share this post


Link to post

The default project creates a menu like what you are describing.

  • Like 1

Share this post


Link to post

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

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Γ—
Γ—
  • Create New...