KTyJLXy Posted March 1, 2014 Share Posted March 1, 2014 Sup guys. I hope you all having a nice day and all that stuff. My english is not so good, so i must ask you to forgive me about that, but i hope that you will understand me. (But some build-in grammar check on this forum would be nice...). Well, i've recently bought leadwerks steam edition. It's pretty cool and simple IDE, but i have some questions about it. First, i can't find any info 'bout .lua file that starts the game. Well, the thing i wanna do is to create a map file from starting .lua script and load it. But i cant figure out where that starting script is. I'm pretty new to all that object coding stuff, since in the time of my education i've used such languaches as asm/C and Haskell/Lisp. All this OOP is just very confusing to me Second, there are many tutorials about compiling the game, but they all seems to be outdated. I don't have any "source" folder in my projects. Well, i can run the game allright with the leadwerks editor, but i want to share it with friends of mine, for example. So what did i do? I've packed whole project folder and sent it. Surprice, it works. With steam integration, no less. All that shift + tab stuff. Works like some black magic. I've tried searching throught the tutorials, no effect. So, any help/tutorial links would be much appreciated. Thanks for your time Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 1, 2014 Share Posted March 1, 2014 Here http://www.leadwerks.com/werkspace/page/tutorials/ Here http://www.leadwerks.com/werkspace/topic/6217-c-lua-and-android-tutorials And here http://www.leadwerks.com/werkspace/topic/8103-gameplay-tutorial-requests-here 2 Quote Link to comment Share on other sites More sharing options...
KTyJLXy Posted March 1, 2014 Author Share Posted March 1, 2014 Thank you very much. Any tips about how can i make windows install.exe for my projects? Quote Link to comment Share on other sites More sharing options...
bandrewk Posted March 1, 2014 Share Posted March 1, 2014 There is a "publish" button inside the project manager. It will create an installer for you. Quote Link to comment Share on other sites More sharing options...
KTyJLXy Posted March 1, 2014 Author Share Posted March 1, 2014 There is a "publish" button inside the project manager. It will create an installer for you. **** this i'm blind Thank you. Just found that button. Were trying to use export button instead. So, last question, how do i create new map file from app.lua and open it for editing? Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 1, 2014 Share Posted March 1, 2014 map files are created in the editor only. in App.lua to laod a map file use LoadMap function. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
KTyJLXy Posted March 1, 2014 Author Share Posted March 1, 2014 map files are created in the editor only. in App.lua to laod a map file use LoadMap function. So there are no way to create map files from the .lua scripts? I just need to have some empty map files as a premade and use them? Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 1, 2014 Share Posted March 1, 2014 Make new empty level in the editor save is as "MyMap" for example. And in App.lu or in another script , just load this empty map with MapLoad each time you need it. Beware , thete is no function so save a map if you add objects to the scene. (Could be a great new feature to be able to save maps ) Quote Stop toying and make games Link to comment Share on other sites More sharing options...
KTyJLXy Posted March 2, 2014 Author Share Posted March 2, 2014 Beware , thete is no function so save a map if you add objects to the scene. (Could be a great new feature to be able to save maps ) So, if i'll generate map procedurally from the empty map template - i will not be able to save any changes? That is, if i understand that correctly. Thing is, i want to make labyrinth, like good ol' dungeon crawlers. And no save maps means no save games Quote Link to comment Share on other sites More sharing options...
Rick Posted March 2, 2014 Share Posted March 2, 2014 It means you won't be able to use Leadwerks .map file but you can make your own and load it when the game starts. You don't need the Leadwerks map at all if you plan on doing procedurally generated content. Quote Link to comment Share on other sites More sharing options...
KTyJLXy Posted March 2, 2014 Author Share Posted March 2, 2014 It means you won't be able to use Leadwerks .map file but you can make your own and load it when the game starts. You don't need the Leadwerks map at all if you plan on doing procedurally generated content. Thank you guys, that would be all of my questions for now Quote 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.