Jump to content

Full Screen & Menu


xana
 Share

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.

Link to comment
Share on other sites

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

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

  • Upvote 1

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

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)

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

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()

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

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.

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.

 Share

×
×
  • Create New...