Skip to main content

Customize the UI

Palette​

The UI uses a small palette, the same in every widget:

ColorsRGBUsed for
Ink#0F1626Panels, secondary buttons, card background (with transparency)
Ink 2#1A2236Hovered panels, portrait backgrounds
Silver white#D6E0ECThin outlines, idle texts
White#ECF4FFPrimary buttons, titles, selected card background
Galaxy blue#6C9FE1Accents, glows, hover outlines
Light blue#8FBEFBActive ring of the HUD party list, pressed outlines
Selection blue#4B90EBSelected card outline and glow
Dark text#2E3445Texts on light backgrounds (primary buttons, selected card)
Muted#A9B1C3Secondary texts (UID, levels)

The font is the engine Roboto (Light, Regular, Bold), often with letter spacing for the titles.

Texts and localization​

Every text of the UI comes from the String Table ST_ACS_Common (root of the template folder).

ST_ACS_Common

  1. Key: the id used by the widgets (ACS_BTN_PLAY_AS_HOST, ACS_ALERT_SELECT_PARTY_ACCOUNT...)
  2. Source String: the text. Change it here, every widget that uses the key follows
  3. Import from CSV / Export to CSV: edit all the texts in a spreadsheet

To translate the game, gather the String Table with the Localization Dashboard like any other text of the project.

Action Button​

Core/Widget/Component/Button/WBP_ACS_ActionButton is the button of every screen. Drop it in a widget, set its Label, then bind On Action Clicked (or On Clicked).

WBP_ACS_ActionButton

PropertyRole
LabelThe text of the button (use a String Table entry)
bPrimaryPrimary (light pill, dark text) or secondary (dark pill, light text)
IconOptional texture shown left of the label, for example a gamepad button glyph. Empty by default: the icon slot is then collapsed and the label is centered
MinWidth / HeightSize of the pill (280 x 60 by default)
StylePrimary / StyleSecondaryThe Button styles (normal, hovered, pressed) of the two variants
LabelColorPrimary / LabelColorSecondary, IconBg..., Icon...Text and icon colors of the two variants
Event / animation
On Action Clicked, On ClickedFired on click (same event: bind the one you prefer)
Anim_HoverGlow behind the pill, 1.04 scale, accent outline (0.1 s)
Anim_ShineA light sweep over the pill on hover (0.15 s)
Anim_ClickThe label presses in (0.1 s)

Account card​

Core/Widget/Component/Card/WBP_ACS_PartyAccount_Card has three states:

  • Hover: glow, 1.04 scale, 2 px accent outline, emblem scale, shine sweep (like the buttons);
  • Selected: light, slightly see-through background, selection blue outline, blue glow around the card, dark texts;
  • Idle: dark glass card.

The title screen calls Set Selected on every card when the account changes. The card only plays Anim_Select (forward or reverse, 0.12 s) when its state really changes:

SetSelected of the account card

HUD party list​

Core/Widget/Component/Unit/WBP_ACS_Unit_A shows one character of the party: its name, its round portrait and its key. The active character is shown with a circle: a light ring (T_ACS_UI_Kit_RingBold) and a round glow (T_ACS_UI_Kit_Glow) around the portrait, the portrait at 1.08 scale and the name at full opacity (Anim_Active, 0.12 s). The others keep a thin neutral ring and a dimmed name (Anim_Unactive).

Animations​

The widget animations follow the same timing, change it in the Animations panel of each widget:

  • feedback (hover, click, selection): 0.1 to 0.15 s, linear keys with a fast start;
  • screen intros: about 0.25 to 0.35 s, with small offsets between the elements;
  • only the ambient loops (idle glows of the title screen) are slower.

UI kit​

The textures of the UI are generated procedurally, in TextureLibrary/UI/Kit. Use them in your own widgets for the same look.

The UI kit textures

  1. /Game/SomndusStudio/AnimeCharacterSelector/TextureLibrary/UI/Kit
  2. The kit textures (white, tint them with the widget color)
  3. T_ACS_UI_Kit_RingBold, the active ring of the HUD party list
TextureUse
Glow, GlowPillSoft glows behind portraits, cards and buttons (draw as Image, stretched)
Gradient, GradientHVertical / horizontal fades (gloss, side shades)
Frame9-slice rounded frame (draw as Box, margin 0.4): outlines that can fade with the widget opacity
Ring, RingBoldThin and bold circles
ShineLight sweep of the hover animations
Emblem, Diamond, DiamondFrame, DiamondOutline, Sparkle, Plus, ChevronSmall shapes: emblem of the cards, page indicator, add button, arrows
Hatch, Ornament, PortraitFadeBackground details and portrait fades
Outlines that fade

A Rounded Box outline does not follow the widget Render Opacity: to fade an outline in an animation, use the Frame texture (Box) instead of a Rounded Box outline.