AggrorJorn Posted April 13, 2013 Share Posted April 13, 2013 I am still confused with the use of Lua and the script editor. I have created a new Lua project to test out some Lua scripting. The first thing that I wonder about are the run and debug button. There is no C++ code involved, so why are they both looking for an executable while I am building a Lua project? Quote Link to comment Share on other sites More sharing options...
Josh Posted April 13, 2013 Share Posted April 13, 2013 The new Lua project needs the executable built. The new program has some parameters filled into the source code that are based on the values you enter when creating a new project. So you must compile it with Visual Studio or Xcode before running it. 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...
Rick Posted April 13, 2013 Share Posted April 13, 2013 Yeah, going forward we have to compile the exe's in both release and debug even for Lua since those exe's are what App.lua get passed to so it runs. When you get the map not supported with new version you have to go to VS and recompile also as it'll point to the updated libs. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 13, 2013 Author Share Posted April 13, 2013 okay, so everytime we create a new project we need to build the debug as well the release version ourselves. Got it, thanks. Quote Link to comment Share on other sites More sharing options...
Josh Posted April 13, 2013 Share Posted April 13, 2013 There were two reasons for this decision. Based on the feedback we got at the GDC, we are focusing on C++ as our primary game language. It is expected the user should have Visual C++ 2010 or Xcode installed to compile games. I wanted to reduce the number of builds required to update Leadwerks 3. (And for your own created projects, you would have to recompile the executable anyways.) 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...
ESP Posted April 14, 2013 Share Posted April 14, 2013 So that's why I cannot create an executable. I do not have visual studio..... Robin Quote Programmer , Intel Quad core, NVIDIA GeForce GT 220, Windows 7 Pro, Galaxy Tab 2 ( 7" and 10"), LE2,LE3,3DWS 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.