martyj Posted December 22, 2016 Share Posted December 22, 2016 So I've wanted this feature in an engine for a really long time, it's just a very difficult task. It would be nice if Leadwerks could have the ability to modify the map then immediately play the game without having to run a separate application. If you could "pause" your game logic in editing mode, then resume to test out new features. I think the phrasing would be seamless integration. Lua code would be easy to reload into the engine, whereas with C++ you would have to use calls like dlopen http://man7.org/linux/man-pages/man3/dlopen.3.html to reload compiled binaries. This may be come easier with the C++ Action Class. I could modify my game to support this, but I would require the ability save a Map out. It would be nice to also toggle Leadwerks UI elements such as the Assets pane, or terrain editing. At least for me, it would save a ton of time to not have to reload the game to test a feature. I spend a lot of time in my loading screen. 2 Quote Link to comment Share on other sites More sharing options...
Rick Posted December 22, 2016 Share Posted December 22, 2016 I really wish the map was in text form. It would open up more doors for us making functionality, like this. This would be cool and scripts that have syntax errors or runtime errors would just be ignored so the game can keep running but of course tells us of the error. Not holding my breathe but it would be cool. 3 Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted December 23, 2016 Share Posted December 23, 2016 Einlander did something similar some while ago. While this isn't exactly what you want, this might still be interesting to you: http://www.leadwerks.com/werkspace/blog/120/entry-1414-playing-around-with-near-real-time-map-edititng/ Quote Link to comment Share on other sites More sharing options...
Josh Posted December 23, 2016 Share Posted December 23, 2016 Leadwerks 2 actually ran object scripts as you were editing. It was a disaster. 1 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...
reepblue Posted December 23, 2016 Share Posted December 23, 2016 It would be nice to see scripted emitters and such be live, but I understand if that can't happen. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
martyj Posted December 23, 2016 Author Share Posted December 23, 2016 @josh. I wouldn't expect object scripts to be ran in edit mode, but to pause all execution of them, edit the map, then resume the scripts when the editing is finished. Quote Link to comment Share on other sites More sharing options...
Rick Posted December 23, 2016 Share Posted December 23, 2016 Leadwerks 2 actually ran object scripts as you were editing. It was a disaster. I blame shoddy error handling for that Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted December 23, 2016 Share Posted December 23, 2016 Sounds like you guys want your car serviced while your driving 1 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.