Page 22 of 93
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 9:10 am
by petri
agris wrote:Sorry if this has been asked before, but I didn't see it skimming the thread. Will the dungeon editor be able to display all the GUI elements / panels and have the Lua script defining the dungeon be editable at the same time? Optionally, that would let us paint with broad strokes using the GUI and then switch over to the script and implement something by hand (if we wished). Ideally, the editor would recognize changes made in the dungeon's Lua script in real time, and they would be reflected in the editor and vice-versa. This means that the Lua script controlling the dungeon would probably need to be edited within the dungeon editor, not just in notepad.
The goal is to make the transition between dungeon editing and scripting as seamless as possible but it remains to be seen how far we can push with this without going overboard with development time.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 9:21 am
by Curunir
I meant to ask if the editor will come with any pre-built example code for puzzles or if there would be any tutorial, no matter how basic, on how to get started with scripting. I'm speaking only for myself, but I have great difficulty thinking in abstract terms and understanding programming, so I think some kind of tutorial / example code would be great, no matter how basic.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 9:31 am
by Tomm
I'm pretty sure there's going to be a wiki page for this stuff, no need to panic.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 10:16 am
by Darklord
petri wrote:
Only a single wallset per level is supported.
That's a shame, being able to transition from one to the other would have been nice.
Daniel.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 10:46 am
by Thels
petri wrote:Only a single wallset per level is supported.
Darklord wrote:That's a shame, being able to transition from one to the other would have been nice.Daniel.
Clever minds might find a way to cheat around this. Only the automap would be a dead giveaway.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 1:20 pm
by OmegaProxima
So, after the editor completes, will almost human release new dungeons?? If yes, is there any time estimate? Thanks again for this great game

Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 3:10 pm
by Darklord
OmegaProxima wrote:So, after the editor completes, will almost human release new dungeons?? If yes, is there any time estimate? Thanks again for this great game

I think AH will probably sell an expansion with a new dungeon, new creatures/tileset etc. The editor will be for fans to make new dungeons.
Daniel.
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 3:18 pm
by Curunir
My monies - I throw them at new wall/floor sets!

Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 4:02 pm
by Thels
petri wrote:Done:
- Initial planning
- Script editor
- Design for entity serialization in game readable format
- Integrated dungeon editor into game code base
- New IMGUI implementation
- Clean up global variables in code editor
- Map view
- Tool bar
- Selection tool
- Wall drawing tool
- Place new object tool
- Asset browser (with filtering by tags)
- Object inspector
- Object inspector properties for most entities
- IMGUI text box control
- IMGUI combobox control
Work in progress:
-
Todo:
- Teleport target gizmo
- Facing
- Rectangle selection
- Object deletion
- Assigning custom object identifiers for scripting, e.g. "treasuryDoor" instead of "iron_door_20_15_0" (need to handle duplicate identifiers gracefully)
- Clean up gui layout and panel graphics
- Entity serialization
- Load/Save dungeon
- Exporting and packaging all files of an user made dungeon into single file
- Add support for user made dungeons to New Game dialog
- Remove "$wallset" support from dungeon objects
- Consider adding new entity type, door frame?
Hope you had an enjoyable Wappu!
What's this IMGUI stuff exactly? Is it just convenience in the editor, or does it allow something to be done in the game?
Re: Dungeon Editor Progress
Posted: Wed May 02, 2012 4:47 pm
by petri
Thels wrote:Hope you had an enjoyable Wappu!
What's this IMGUI stuff exactly? Is it just convenience in the editor, or does it allow something to be done in the game?
Wappu was great! Too much good food and very nice people!
IMGUI = Immediate Mode Gui, a coding technique for building graphical user interfaces.