dwarfcorp icon indicating copy to clipboard operation
dwarfcorp copied to clipboard

Redesign: Selection tool

Open com1clyf3 opened this issue 6 years ago • 8 comments

To recap: What started as a design proposal to make harvest, pickup, and chop all one single feature eventually exposed previous - but as of yet unactualized - design goals to make a fancy context specific selection tool.

In the process we've agreed to:

  • Do away with harvest.
  • Redesign away from pick/chop to a broader context specific selection tool.

Discussion thus far: image image

com1clyf3 avatar Apr 05 '18 15:04 com1clyf3

#222 relevant.

com1clyf3 avatar Apr 25 '18 17:04 com1clyf3

This is done! Needs some polish and some more commands. So far you can: Attack, Catch, Gather, Harvest, Cancel Task, Fire Dwarf, Promote Dwarf, Move Object, Destroy Object

universal_selector

mklingen avatar Jul 01 '18 21:07 mklingen

Starting to bug this. Expect I'll find more, and later I'll suggest some polish for the UI, unless you've got your own ideas there?

First issue found: Actions stay on screen when nothing is selected. Causes some overlapping UI, and the UI won't go away. Objects will also become unmoveable. Seems to mainly be caused by selecting many different kinds of entities.
image

(Rough repro. Probably multiple bugs)

  1. Start a game. Make and or find an area that has a natural enemy (like a demon, scorpion, etc), natural resources (trees,etc), and dwarves.

  2. Select all of these at once.

  3. Perform one of the actions given.

  4. Cancel out of as much of the UI as possible.

  5. Observe that the UI remains on screen and sometimes overlaps.

Also #785

236e5063

com1clyf3 avatar Jul 02 '18 20:07 com1clyf3

As for initial design feedback:

1.I think we should add the cancel tool to the selector, if possible.

  1. We should take the right click option and put it on left click instead. If the player left clicks a single entity, then they get the option menu. If they click and drag over more than one, then they get the feature options displayed at the bottom.

  2. Add more features for selecting dwarves: Follow/unfollow, emp, cancel task, empty backpack, etc...

  3. Selecting crafting objects: Players should be able to select certain crafting objects. which should pull up the appropriate bottom menu. For instance:

  1. Single left click Cutting Board
  2. Displays options: Destroy, move, cook
  3. Select cook
  4. The usual bottom tool menu displays the options menu for cooking.

This should work for anvils, forges, stoves, barrels, and cutting boards.

com1clyf3 avatar Jul 05 '18 18:07 com1clyf3

Fixed the multiple-menus opening thing.

Cancel tool is now in the selector. Cancel task and empty backpack are now in the selector.

mklingen avatar Jul 07 '18 13:07 mklingen

Working pretty nicely so far. Feel like players should be able to cancel things like dig, zones, and other task by selecting the designated area. That outside the realm of possibility or no?

We should add in an auto-gather of resources dropped after a canceled crafting task.

  1. Selecting crafting objects: Players should be able to select certain crafting objects. which should pull up the appropriate bottom menu.

This would be super powerful to add.

com1clyf3 avatar Jul 10 '18 20:07 com1clyf3

Regressing. What's your next steps for this?

com1clyf3 avatar Jul 20 '18 19:07 com1clyf3

Regressing. Any plans to continue dev here or no? @mklingen

com1clyf3 avatar Aug 23 '18 21:08 com1clyf3