Jump to content

Realtime Playing/Editing


martyj
 Share

Recommended Posts

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.

  • Upvote 2
Link to comment
Share on other sites

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.

  • Upvote 3
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...