hero creator ui feedback

I'm trying to refactor the abilities' tab on the hero creation room to accomodate Race ASIs, but I don't like what I landed on, and I could use some UX/UI advice hahah This's the new working prototype (moved the buttons onto a grid to make space for the bigger divs below, and replaced the Modifier for the Race ASI, showing modifier instead of the total value on hover)
No description
48 Replies
ccjmk
ccjmkOP•3y ago
like it, I still don't get used to these.. I will past the Before here and remove it from the main thread
ccjmk
ccjmkOP•3y ago
Current layout:
No description
Calego
Calego•3y ago
I've a feeling you could save some room by making the abilities themselves set in stone instead of a select
ccjmk
ccjmkOP•3y ago
I also considered replacing the calculation buttons for a select, and overall using all the realstate with bigger buttons, a little closer to how the Charactermancer on R20 does it that actually happens on some cases.. but yeah, could do.
Calego
Calego•3y ago
I'm not super familiar with r20's but dndbeyond sounds similar to that
ccjmk
ccjmkOP•3y ago
because right now the behavoirs change a little, tried making it as intuitive as possible to use4 i think its better if I just show all cases
ccjmk
ccjmkOP•3y ago
if you click Roll:
No description
ccjmk
ccjmkOP•3y ago
No description
ccjmk
ccjmkOP•3y ago
No description
ccjmk
ccjmkOP•3y ago
No description
Calego
Calego•3y ago
interesting You're thinking about this from the perspective of the Score value being the 'first class citizen' and then assigning abilities to those scores
ccjmk
ccjmkOP•3y ago
damn you smart Calego, that makes sense It's a lot more intuitive to have the 6 abilities fixed, in order
Calego
Calego•3y ago
dndbeyond reverses that, making the ability the 'first class citizen' which values are assigned to (screenshots coming in)
ccjmk
ccjmkOP•3y ago
I think R20 does to, and it totally makes sense
Calego
Calego•3y ago
No description
No description
No description
Calego
Calego•3y ago
They also combine "Manual/Rolled" where the roll populates the otherwise editable input The usage of selects for the values is really intuitive, though probably harder to pull off in a Foundry context, is this a standard foundry interface or are you using svelte or something?
ccjmk
ccjmkOP•3y ago
standard I really wanted to explore migrating this to a framework eventually, but for now everything's done by hand
Calego
Calego•3y ago
Regarding racial ASI, yeah that's a tough one. Ideally you show what the input is, any modifiers to that input, and then the derived value somewhere. You might be able to squeeze that into a row if you make the abilities little headings over each row eg
Strength
[ 20 ] [+/-] -1 19
Strength
[ 20 ] [+/-] -1 19
ccjmk
ccjmkOP•3y ago
prototyping something ..
Calego
Calego•3y ago
Yeah, that makes sense. The key to the selects working is that the other ones change their options when assigned. That's probably a pita to pull off by hand
ccjmk
ccjmkOP•3y ago
F.. I wanted to replace something while touching the html and my mind defaulted to "oh, replace, ctrl+R!" ...
Calego
Calego•3y ago
rip
ccjmk
ccjmkOP•3y ago
tried two different things here.. Strengh is "adding the race value directly", so for example the selected roll/standard array value is 14, but as it has a +2, it shows 16, with a 16-equivalent modifier of +3. Dex is showing the race bonus on the option, but it looks hedious imo haahah
No description
ccjmk
ccjmkOP•3y ago
maybe this? and keep the value outside of the select for the modifier ? The rules themselves mention it's more widely used than the Score, it I guess it makes sense to give it some prime real estate
ccjmk
ccjmkOP•3y ago
No description
ccjmk
ccjmkOP•3y ago
I sort of like this last one.. but I have no idea how I will accomodate this for Point Buy/Manual Input. Manual could be a 1-20 select maybe, one less UI to think I'll put this to rest a little, my mind demands some gaming haha
Calego
Calego•3y ago
I wouldn't put anything about the "race bonus" in the select which is the user's input. I would instead have a "total" column after the user input column with the two added together. So the thing you end up with is kinda like:
Strength _+1_ [15 v] 16 (+3)
Dexterity _+2_ [10 v] 12 (+1)
Strength _+1_ [15 v] 16 (+3)
Dexterity _+2_ [10 v] 12 (+1)
Daniel Thorp
Daniel Thorp•3y ago
What about something like this? I feel like it's more of a sequential order:
Strength [15 v] _+1_ = 16 (+3)
Dexterity [10 v] _+2_ = 12 (+1)
Strength [15 v] _+1_ = 16 (+3)
Dexterity [10 v] _+2_ = 12 (+1)
ccjmk
ccjmkOP•3y ago
im a little unfamiliar with the syntax here, _X_ i imagine is italics, the [## v] is supposed to be the select ?
Daniel Thorp
Daniel Thorp•3y ago
Yeah If you decide to put one, it might look nice to make the = symbol slightly darker There's CSS variables for secondary text I believe
ccjmk
ccjmkOP•3y ago
No description
ccjmk
ccjmkOP•3y ago
styling might be a little bit off but.. i kinda like it for the select ones.. Manual input could be just 1-20 select, roll and standard array the corresponding values
Calego
Calego•3y ago
I believe RAW ability score input can't be below 3 or above 18? I don't have a source for that
ccjmk
ccjmkOP•3y ago
Hmm I honestly don't recall such a rule, but I can double check on the SRD
Calego
Calego•3y ago
3d6 means 3-18 the raw point buy is only 8 - 15 and the standard array is something like that
ccjmk
ccjmkOP•3y ago
But i definitely dig this ui for manual input (with 1-20 or 3-18, whatever 😆 ), standard array and roll. oh yeah, I added Manual Input*** as a means to "just put whatever you want so long as your DM agrees"
Calego
Calego•3y ago
yeah it would be nice to be allow a number input for 'manual' select for 1- whatever reasonable is also totally usable I dig it
ccjmk
ccjmkOP•3y ago
im slightly confused by this phrase.. my idea now would be to use this last suggestion by arcanist for: * roll: Rolls 3d6 drop lowest x6, rearrange those rolls on the selects as you please * standard array : rearrange the array with the selects as you see fit * manual input: 1-20 on each select, put whatever you want. so no literal number input on the manual input. I have it know, but the selects are better imo.. i can save the user from typing something off and breaking stuff 😛 so my only last concern would be how to fit Point Buy here.. because a select is not reasonable there imo
Daniel Thorp
Daniel Thorp•3y ago
Why not? You could add a point total at the bottom and then the cost next to the value in the select
ccjmk
ccjmkOP•3y ago
oh but the select gets unerringly complicated hahaha well.. no actually I could just put 8-15 on the select and recalculate the points ?
Daniel Thorp
Daniel Thorp•3y ago
You could change the color of the total label and give it a strike through (for accessibility) when it's over the limit Yeah, recalculate in the change event listener for all of the selects
ccjmk
ccjmkOP•3y ago
yeah, I was having some tunnel vision because right now I don't let them go over 27 points, but now I can, and just yell at them if they do 😄 like it, hands on the dough now!
Daniel Thorp
Daniel Thorp•3y ago
You could even make the total editable for custom point buy rules...
ccjmk
ccjmkOP•3y ago
I was absolutely gonna do that too, thought that the very instant I typed my last message haha and that's ezpz
Daniel Thorp
Daniel Thorp•3y ago
Register a "point buy total points" setting and pull the value from there
ccjmk
ccjmkOP•3y ago
I'm taking the time to also allow customizing the rolls, before it was a fixed 4d6kh1, but it's just text, why not let users play with that too!? 😄
No description
ccjmk
ccjmkOP•3y ago
lots of hardcoded scaffolding yet, don't fret if the stuff you see don't really line up hahah but next im doing is plugging in race values and calculating totals & mods again also taking the opportunity to refactor the code a lot, this Ability Tab was the very first thing I did when I joined the guys on the hackathon
ccjmk
ccjmkOP•3y ago
It's a Christmas miracle! the HCT now considers Race bonus properly! (plus setting customization goodies)
Want results from more Discord servers?
Add your server