Jump to content

Get an error trying to do Lua Scripting Tutorial


intog
 Share

Recommended Posts

I've used Leadwerks on/off and wanted to get a refresher and start from scratch on lua scripting.

 

I'm starting with this tutorial:

 

http://www.leadwerks.com/werkspace/page/tutorials/_/lua-scripting-r12

 

upon running, I get this error:

 

POcahF8.jpg

 

Can someone assist? I'm not sure what this error means, but I pasted directly from the sample as the tutorial states.

 

Thanks!

Link to comment
Share on other sites

Since the introduction of the new GUI/window creation, creating a window now requires you to include the parameters of Window:Create():

 

Syntax

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

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

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