intog Posted September 1, 2016 Share Posted September 1, 2016 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: Can someone assist? I'm not sure what this error means, but I pasted directly from the sample as the tutorial states. Thanks! Quote Link to comment Share on other sites More sharing options...
macklebee Posted September 1, 2016 Share Posted September 1, 2016 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) Quote 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 More sharing options...
intog Posted September 1, 2016 Author Share Posted September 1, 2016 Thanks. Yes I worked that out by digging around. The tutorial needs to be updated/corrected because it doesn't work as written. Quote Link to comment Share on other sites More sharing options...
Josh Posted September 1, 2016 Share Posted September 1, 2016 Thanks, I'll add the default arguments to the new window class. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
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.