ENIGMA Forums

Contributing to ENIGMA => Proposals => Topic started by: egofree on December 08, 2014, 11:57:49 am

Title: Improving tiles editing
Post by: egofree on December 08, 2014, 11:57:49 am
Currently, in the rooms editor when you want to edit a tile in the 'Modify' tab, you have to go to the 'Add' tile and specify the tile's layer with the depth field. If you load for instance a GM project, by default the depth is 100000. If you want to move a tile, first you have to go the add tile and set the depth to 100000. I think this is not intuitive. I propose to move this field and to put it above the tabs. This field is used both in the add and modify tabs. Also when a room is loaded i will test if there are already tiles in the room and put into this field the depth of the first tile.

(http://nsa33.casimages.com/img/2014/12/08/141208055026547767.png)
Title: Re: Improving tiles editing
Post by: Goombert on December 08, 2014, 01:38:14 pm
I am fine with this change.
Title: Re: Improving tiles editing
Post by: IsmAvatar on December 08, 2014, 02:20:57 pm
Looks OK to me.

Just curious, any chance we could turn it into a Combo Box with all of the current layers? Or would that be too much work (e.g. no easy way to get all of the layers currently in use without iterating over all the tiles)?
Title: Re: Improving tiles editing
Post by: egofree on December 08, 2014, 03:05:36 pm
Looks OK to me.

Just curious, any chance we could turn it into a Combo Box with all of the current layers? Or would that be too much work (e.g. no easy way to get all of the layers currently in use without iterating over all the tiles)?

Next step.  :)
Title: Re: Improving tiles editing
Post by: egofree on December 13, 2014, 08:50:10 am
I've added a combo box that contains all tiles layers of the current room :

(http://nsa33.casimages.com/img/2014/12/13/141213024924570665.png)

The delete button will delete all tiles for the selected layer. If you want to delete all tiles regardless of the layer, use the delete button in the room toolbar.
I will add also the checkbox 'Hide others layers'.
Title: Re: Improving tiles editing
Post by: Josh @ Dreamland on December 13, 2014, 09:15:07 am
If we're writing a wish list, I've always wanted tile and object grouping. I think Robert was working on something where you could assign non-ID ordering to objects, but it'd probably help him just to have the ability to group strings of identical objects in that tree view. (Or is it a list view? I forget if Swing distinguishes.)