PerEspen00 Posted May 1, 2017 Share Posted May 1, 2017 Hi! I know there are several discussions already out there talking about networking options and so on. There are also a duzzin tutorials out there. But I never found a clearcut answer to: is it possible to create a multiplayer game in LW using only LUA? I do have the professional edition, but I would prefer to use only LUA since I feel very comfortable using it. I read something about enet plugin for lua, if this works, could somebody show me how to install it please. Thanks, Quote Link to comment Share on other sites More sharing options...
Jazz Posted May 1, 2017 Share Posted May 1, 2017 This works quite well. http://www.leadwerks.com/werkspace/topic/14699-networking-in-lua/#entry99965 Quote --- Scott Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060 Link to comment Share on other sites More sharing options...
PerEspen00 Posted May 1, 2017 Author Share Posted May 1, 2017 Thanks, That loads in the package and I can access everything. I have done some networking in unity before but this different. Does anyone have an example project or something so I can see how everything works together? The tutorial on their website doesn't seem to work, I might not be doing it correctly though. I'm new to networking but I want to learn. My main question concerns how I get two games running at the same time? Do I have to export each time and create a standealone? Any help is appreciated! Quote Link to comment Share on other sites More sharing options...
Genebris Posted May 1, 2017 Share Posted May 1, 2017 My main question concerns how I get two games running at the same time? Do I have to export each time and create a standealone? You don't need to compile your Lua code, you can simply launch your exe file from project folder. I was using google drive to automatically send changes to my second pc. Quote Link to comment Share on other sites More sharing options...
PerEspen00 Posted May 1, 2017 Author Share Posted May 1, 2017 Ok thanks! That works! 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.