Variable anchor for status bars, orbs, etc.

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderator: Forum Moderators

Forum rules
Before posting a new idea, you must read the following:
User avatar
lipk
Posts: 637
Joined: July 18th, 2011, 1:42 pm

Re: Variable anchor for status bars, orbs, etc.

Post by lipk »

Feature committed here. It's for the master branch so it will first appear in 1.13.0.
wesnoth_bar_adjust.png
optimother
Posts: 76
Joined: July 12th, 2014, 4:09 am

Re: Variable anchor for status bars, orbs, etc.

Post by optimother »

A huge step back in usability IMO.

A common pattern to target unit is to move your mouse to it's hex, and it's hex is the one highlighted with the hp/xp bar. But when the bar is floating anywhere on the map, colliding with other units it becomes obscuring, and easy to confuse with other units' bars.

The only excuse is that there are not much such huge units and hopefully it will not be a problem in multiplayer games where acting fast is required and silly mistakes are punished hard.
User avatar
lipk
Posts: 637
Joined: July 18th, 2011, 1:42 pm

Re: Variable anchor for status bars, orbs, etc.

Post by lipk »

A huge step back in usability IMO.
I hope you didn't draw that consequence from a single screenshot featuring two gigantic oversized sprites that are quite visually disruptive on their own.

Here's a bit more lifelike image:
wesnoth_bar_adjust2.png
The spectre is the only one that looks off to me. That guy, however, has a frame two times its height, so we can chop off some of the transparent area and it's all set.
optimother
Posts: 76
Joined: July 12th, 2014, 4:09 am

Re: Variable anchor for status bars, orbs, etc.

Post by optimother »

They are disruptive but with original bars locations they don't cause any problems with understanding the game setup just from a quick single glance, aren't they?
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Variable anchor for status bars, orbs, etc.

Post by zookeeper »

Frankly, I don't really see why we'd even experiment with trading a rare visual annoyance to rare interface confusion. The final decision cannot be to keep this new method as-is anyway, so how is feedback on it really going to help?

Aside from fixing the assets (which obviously isn't going to happen) or completely redesigning the bars and orbs (such as integrating them with the ellipses or something), the most sensible solution would seem to me to be to allow each unit type to define an optional x,y offset for the bars and orbs. Automatic solutions just aren't going to work, or they'd impose additional unnecessary requirements for the sprites and their dimensions.
optimother
Posts: 76
Joined: July 12th, 2014, 4:09 am

Re: Variable anchor for status bars, orbs, etc.

Post by optimother »

Agree with zookeeper: keep existing units rendered as before, add option for new ones to move the bars if author knows a better place for it.
User avatar
Ravana
Forum Moderator
Posts: 3011
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Variable anchor for status bars, orbs, etc.

Post by Ravana »

Agreed, that would make most sense, there arent many units like that and being able to change position from cfg file is better than having to edit images for this.
User avatar
lipk
Posts: 637
Joined: July 18th, 2011, 1:42 pm

Re: Variable anchor for status bars, orbs, etc.

Post by lipk »

They are disruptive but with original bars locations they don't cause any problems with understanding the game setup just from a quick single glance, aren't they?
They do, at least for me. The fact that the sprite covers multiple tiles alone makes it quite difficult to catch adjacent hexes.
The final decision cannot be to keep this new method as-is anyway,
Err, why?
Aside from fixing the assets (which obviously isn't going to happen)
We're talking about one sprite. I did check almost every mainline unit and none but the two dragons, the spectre and the human horseman/cavalry line have a baseframe larger than 72x72.
the most sensible solution would seem to me to be to allow each unit type to define an optional x,y offset for the bars and orbs.
That's fine with me.
User avatar
Iris
Site Administrator
Posts: 6798
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Variable anchor for status bars, orbs, etc.

Post by Iris »

lipk wrote:We're talking about one sprite. I did check almost every mainline unit and none but the two dragons, the spectre and the human horseman/cavalry line have a baseframe larger than 72x72.
Do standing animations count? Gryphons have 120x120 px frames.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
User avatar
lipk
Posts: 637
Joined: July 18th, 2011, 1:42 pm

Re: Variable anchor for status bars, orbs, etc.

Post by lipk »

No, only the baseframe is considered.
User avatar
Xudo
Posts: 563
Joined: April 3rd, 2009, 5:26 pm

Re: Variable anchor for status bars, orbs, etc.

Post by Xudo »

zookeeper wrote:The most sensible solution would seem to me to be to allow each unit type to define an optional x,y offset for the bars and orbs.
Add "Hide them completely by setting special key in [unit]" and it will be perfect.
User avatar
SFault
Posts: 483
Joined: November 10th, 2009, 2:21 pm
Location: Esbo, Finland

Re: Variable anchor for status bars, orbs, etc.

Post by SFault »

Bit off-topic, but I hope this could solve the thing where human swordmen's swords get mixed with the XP-bar. More than often I see someone with full white bar before noticing that it's just the sword of the unit.
segmentation fault
EBfW, GtR, Art, Old art
User avatar
doofus-01
Art Director
Posts: 4131
Joined: January 6th, 2008, 9:27 pm
Location: USA

Re: Variable anchor for status bars, orbs, etc.

Post by doofus-01 »

Xudo wrote:
zookeeper wrote:The most sensible solution would seem to me to be to allow each unit type to define an optional x,y offset for the bars and orbs.
Add "Hide them completely by setting special key in [unit]" and it will be perfect.
Yeah. The animation WML is pretty flexible as it is, but it would be much better if the orbs etc. weren't locked in the way they currently are. If anchoring the orbs to the corner of the base frame gives some people heartburn, manually specifying an x,y would also be fine. The ability to hide these things would be good too.
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
User avatar
firefox
Posts: 121
Joined: September 7th, 2009, 6:26 am
Location: Berlin

Re: Variable anchor for status bars, orbs, etc.

Post by firefox »

:eng: If the bars would be replaced with orbs that take the current color of the bar, it would still be possible to get an overview without having to browse every unit.
But this method would require more colors to indicate the differences more precisely. :hmm:

For example: A full-health unit and a near-full-health unit share the same green tone for their bars.
Yet you can tell the difference by the lenght of the bar. You could not tell it from orbs, so you have to check the status window.
This has a great effect on units with high hp, as the difference between green and yellow can be quite huge there.

:geek: So if the color sheme would be expanded from 4 to maybe 8 colors, the orb display would be possible.

(Although I don't know if it makes the game better. Personally I find that the bars look very stylish.)
may the source be with you
=(^.^)= nyan~
User avatar
GunChleoc
Translator
Posts: 506
Joined: September 28th, 2012, 7:35 am
Contact:

Re: Variable anchor for status bars, orbs, etc.

Post by GunChleoc »

I think bars are better for beginners, because you don't need to memorize the colors to understand them.
Post Reply