Jump to content

  • Log In with Google      Sign In   
  • Create Account

Garrett Hoofman

Member Since 05 Sep 2007
Offline Last Active Aug 19 2016 03:30 PM

#5301255 External Level Editor?

Posted by on 18 July 2016 - 01:56 PM

I had the same dilemma for a level editor for my game engine ( http://opengine.io )

 

What I ended up doing was using the Three.js editor: http://threejs.org/editor/

It's convenient in that it's already put together with the translate/scale/rotate gizmo, groups, model loading etc. Also since it's in javascript it's fairly easy to export a json representation of the whole scene. Or using javascript you can write out a binary file and create your own scene format.

 

I took it a step further and used the source code for the Three.js editor and wrapped it inside an Electron app, which gives me access to the file system.

 

Screenshot of my editor using threejs: https://pbs.twimg.com/media/Cm3xQC2VMAASaOM.jpg:large

 

The downside to this approach is it uses a different rendering engine than my own, but it works as a stop gap until my engine is ready for it's own scene editor ( aka I have time to make it ). However, since it's all WebGL wrapped in Chrome, it's cross-platform.




PARTNERS