Jump to content
xana

Full Screen & Menu

Recommended Posts

Bonjour à tous je trouve le logiciel très bien, mais il manque quelque point qui casse un peut le jeu.

Un menu Start pour évité de commencé la partie d'un coup.

Des dialogue pour inserer des quetes ou autres

Et enfin un mods plein écran.

Quelqu'un pourait me donner des liens comme je comprend peut l'anglais, je n'arrive pas forcément a trouvé.

-----------------------------------------------------------------------------

Hello everyone I find the software very well, but it lacks some point that may break a play.

A Start menu avoided started the game at once.

Dialog to insert the quests or other

Finally a full screen mods.

Someone give me links pourait as I can include English, I can not necessarily found.

Share this post


Link to post

Hi,

 

1. Menus are not supported and you will have to create them yourself. Look into Context set of functions such as Context::DrawImage and Context::DrawText. http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/context/

 

You can also invest into FlowGUI which is a full fledged menu system for Leadwerks. Costs only $10.

 

http://www.leadwerks.com/werkspace/topic/11262-flowgui-for-leadwerks/

 

2. Full screen is possible by setting the Window::FullScreen flag in Window::Create function.

 

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/window/windowcreate-r462

Share this post


Link to post

Merci pour c'est réponse qui mon était d'une grande utilité.

Connaiser vous un endroit ou apprendre a créer un jeu avec se logiciel de A à Z?

------------------------------------------------------------------------

 

 

 

 

 

Thank you for it is my response that was very useful.

Connaiser a place where you learn to create a game with is software from A to Z?

Share this post


Link to post

Soon there will be A to Z tutorials (under the Learn section of this website) on how to make a full game in Leadwerks.

Share this post


Link to post

I've seen some users using Arteria3D models in Leadwerks, but you better ask around.

Share this post


Link to post

Merci pour c'est réponse qui mon était d'une grande utilité.

Connaiser vous un endroit ou apprendre a créer un jeu avec se logiciel de A à Z?

------------------------------------------------------------------------

 

 

 

 

 

Thank you for it is my response that was very useful.

Connaiser a place where you learn to create a game with is software from A to Z?

 

Take a look at Aggrors project Saturn.

Hope this helps.

 

Share this post


Link to post

You can also invest into FlowGUI which is a full fledged menu system for Leadwerks. Costs only $10.

 

http://www.leadwerks.com/werkspace/topic/11262-flowgui-for-leadwerks/

 

I have a question in regards to this (probably a stupid one) can you make your own layouts, buttons, sliders etc in something like Illustrator and then use FlowGUI inside Leadwerks?

 

I still need to look into this although it looks very very good and useful. Not sure how it works exactly though but $10 :o

Share this post


Link to post

You have to watch Aggror's videos they explain everything clearly. You can change colour, size, font etc. pretty much everything. And you can use image based elements.

Share this post


Link to post

 

2. Full screen is possible by setting the Window::FullScreen flag in Window::Create function.

 

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/window/windowcreate-r462

I do not understand too how to create, it's a pity if these things do not be integrated base.

There would be a tutorial?

For already includes the English I can then "LUA"

 

Otherwise thank you for all your reply

Share this post


Link to post
self.window=Window:Create(self.title,0,0,1920,1080,window.FullScreen)

Share this post


Link to post

I do not understand too how to create, it's a pity if these things do not be integrated base.

There would be a tutorial?

For already includes the English I can then "LUA"

 

Otherwise thank you for all your reply

 

I'm not quite sure what kind of issues are you experiencing. As mentioned in the link I posted you just have to set the Fullscreen style when creating a new window. Simple as that.

 

Change the lines 11 and 12 in the default App.lua script to something like this (will open a 640x480 fullscreen window):

local windowstyle = window.FullScreen + window.Titlebar
self.window=Window:Create(self.title,0,0,"640","480",windowstyle)

Share this post


Link to post

Scripts/App.lua" : 11 : attempt to index global 'window' (a nil value)

 

--Create a window

local windowstyle = window.FullScreen + window.Titlebar

self.window=Window:Create(self.title,0,0,"640","480",windowstyle)

if System:GetProperty("fullscreen")=="1" then windowstyle=windowstyle+window.FullScreen end

self.window:HideMouse()

Share this post


Link to post

Window needs to start with an upper case 'W'. This forum messed up the cases.

Share this post


Link to post

--Create a window
local windowstyle = window.FullScreen + window.Titlebar
if System:GetProperty("fullscreen")=="1" then windowstyle=windowstyle+window.FullScreen end
self.window=Window:Create(self.title,0,0,"640","480",windowstyle)
self.window:HideMouse()

I have not quite understand but now launching its crash

Share this post


Link to post

It seems that I'm not good for her, but a good system will be handy as Unity ^^

 

In any case, thank you for taking the time to answer me

Share this post


Link to post

It seems that I'm not good for her, but a good system will be handy as Unity ^^

 

I'm not sure I understand your sentence, perhaps something got lost in the translation. What do you mean by the system? It literally takes only one flag to switch your game to full screen using the window.FullScreen.

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