CCDirectLink / crosscode-map-editor

Map Editor for CrossCode
MIT License
51 stars 19 forks source link

Ability to select an active entity from a list by name #122

Open ghost opened 4 years ago

Vegita2 commented 4 years ago

Needs some more information. what is an active entity? Where should that list be? What exactly should it do?

Also a lot of entities don't have names

ghost commented 4 years ago

I was on my phone when I wrote this. I should clarify.

  1. Let's change 'active entity' to 'any entity on the map.'
  2. Similar to the history tab, it should be free floating.
  3. Have a list of names. If you click on a name, then it will be like clicking the entity on the canvas.

Whole point of this is for when two entities sit on top of each other. It becomes a pain to manage. I realized this issue after loading up a map made by hand to the map editor.

Vegita2 commented 4 years ago

i think a solution similar to tiled for selecting entities that are on top of each other would make more sense:

By default you interact with the top-most object. When you need to select an object below another object, first select the higher object and then hold Alt while clicking at the same location to select lower objects. You can also hold Alt while opening the context menu to get a list of all objects at the clicked location, so you may directly select the desired object.

https://doc.mapeditor.org/en/stable/manual/objects/#selecting-and-deselecting

ghost commented 4 years ago

I think that works, too.