2DWorlds Forums
New Editor Features - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: New Editor Features (/showthread.php?tid=18)



New Editor Features - Jacob__mybb_import1 - 10-07-2012

Yesterday I added a feature that makes it possible to show "action buttons" based on either the selected objects or the active tool. These are to make repetitive tasks easier, like adding a texture.

Does anyone have a suggestion? The buttons are programmed in Lua unlike everything else, so adding new ones is really easy.


RE: New Editor Features - Ghosty - 10-07-2012

I noticed that with terrain and textures while working on a game earlier. I like it, except for one bug I found.

If one such button is active, then everything directly below or above it in the world is inaccessible, as if it's not just the one little GUI button but a strip covering the screen.

Example screenshot:

[Image: 347i8hv.png]

(Also, you need to fix the text on the little sign to the left in the Classic world!)

As for ideas:

[Boxes, Circles, Triangles, Water, Ladders, Seats] Set the default color for adding this object, or change the color on an existing one

[Boxes, Circles, Triangles] Set as a spawn point


RE: New Editor Features - Jacob__mybb_import1 - 10-09-2012

All done.


RE: New Editor Features - technoguyx - 10-11-2012

Nice. If it's written in Lua (and using the same Lua API 2DWorlds uses) you could let players write their own Lua scripts to assign to buttons. The code would be stored along with the 2DWorlds data in the client. Could come in handy.