Jump to content

Documentation on the use of Lua and Leadwerks ?


BadMasterUA
 Share

Recommended Posts

Good afternoon. I want to know when documentation on the use of Lua in the engine? I read what I suggested Josh in steam (http://steamcommunity.com/sharedfiles/filedetails/?id=221869951#-1) but I still did not understand, looked lessons Aggror

(

https://www.youtube.com/channel/UCv4v6y2NZCUazHrXnama37w

) but still did not understand. I read lessons Lua but I do not know how to use them with the engine. Please help, I'm very bad speak English and it is very difficult to understand is that there are now in the documentation and video of me than that it is clear. Even zhdya order that would write this, I used a Goole translator.

sad.png

 

P.s.

Sorry if again made ​​a stupid topic.

Link to comment
Share on other sites

Dig reference , theres is code example in Lua at bottom.

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitysetcolor-r162

 

And check all tutorials :

http://www.leadwerks.com/werkspace/page/tutorials/

 

You have two other game demos :

http://www.leadwerks.com/werkspace/files/file/492-bombkiller/

http://www.leadwerks.com/werkspace/files/file/475-darkness-awaits-project-31/

 

But begin simple rotating cube , than simple cube with character controller you move using keys and continue until you have all you need to make a game :)

Stop toying and make games

Link to comment
Share on other sites

Dig reference , theres is code example in Lua at bottom.

http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitysetcolor-r162

 

And check all tutorials :

http://www.leadwerks.com/werkspace/page/tutorials/

 

You have two other game demos :

http://www.leadwerks.com/werkspace/files/file/492-bombkiller/

http://www.leadwerks.com/werkspace/files/file/475-darkness-awaits-project-31/

 

But begin simple rotating cube , than simple cube with character controller you move using keys and continue until you have all you need to make a game smile.png

Thank you'll understand next weekend

Link to comment
Share on other sites

you dont have understand the syntax. you cant create a window with just saying FULLSCREEN wink.png

 

Syntax:

  • static Window* Create(const std::string& title="Leadwerks", int x=0, int y=0, int width=1024, int height=768, int style=Titlebar)

--Create a window fullscreen
self.window=Window:Create(title, x, y, w, h, Window.FullScreen)

 

like HD

 

self.window=Window:Create('MYWINDOW', 0, 0, 1920, 1080, Window.FullScreen)

 

 

parameters can also be variables. which type you can see in the syntax description

It doesn´t work... why? mhmmm It works... why?

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