Skip to content

Sprite asset guide · Asset families

Interface sprites, panels and icons ​

Interface art has to work at the size where players use it. An icon that looks clear in a large preview may become ambiguous in an inventory slot. A decorative button still needs a visible focus state, a usable hit area and room for its label.

SPRITE WORKSHOP

Resize the panel without stretching its border

Change the panel dimensions and compare whole-image scaling with nine-slice scaling. The star remains a separate sprite. Switch the button artwork between raised and pressed states.

Interactive scene loads when this section is in view.

Nine-slice preserves four 12-pixel corners, stretches each edge along one axis and stretches the center along both. The slice boundaries in this demo are chosen for these source images.

Raised button
Pressed button
Separate icon

Source artwork: UI Pack by Kenney. CC0. Demo layout, controls and technical overlays by Cinevva. File provenance.

Inventory states as well as symbols ​

ElementStates or variants to planCheck
ButtonNormal, hovered, focused, pressed, disabledKeyboard focus remains visible without a mouse
Inventory slotEmpty, occupied, selected, unavailableItem art and selection border remain distinct
Status iconActive, inactive, warningMeaning survives a change in color
Progress barEmpty, partial, fullFill direction and label remain clear
PanelSmall and large layoutsBorder, corners and content padding survive resizing

Focus and hover describe different interactions. A keyboard or controller user can focus a button without pointing at it. Avoid relying on hover artwork to provide the only visible navigation cue.

Godot themes organize control styling through resources such as fonts, icons and StyleBoxes. Its documentation notes that focus styles can be drawn over a control’s other state styling, allowing an outline to remain visible. Godot’s UI skinning guide.

Resize panels with preserved corners ​

Nine-slice divides a rectangular texture into corners, edges and a center. Keep corners at their intended size while stretching or tiling the other regions as the panel grows. Choose the slice boundaries where the decorative corner ends.

The border width and the space reserved for text are separate decisions. Test the smallest supported panel as well as the largest. A panel can preserve its corners correctly and still place a label too close to them. Godot exposes texture margins and content-related settings through StyleBoxTexture.

Check icons at the intended display size ​

Compare icons as a set. Keep apparent weight, stroke treatment, perspective and padding consistent. Make similar items distinguishable through shape or an accompanying label, especially when the player must select quickly.

Separate the visual bounds from the interactive region. A tiny symbol can sit inside a larger button. Test the intended input methods and avoid placing small controls so close that selecting one frequently activates its neighbor.

Exercise the layout with difficult content ​

Use a long item name, a three-digit count, an empty inventory and a disabled action. Navigate with keyboard or controller, then inspect the layout at the smallest supported viewport. Check both light and dark scene backgrounds when the interface is translucent.

Keep text in the UI layout where it needs localization or dynamic values. Baking labels into button images requires separate artwork for each language and makes changing values difficult. For world pickups that become inventory icons, use the scale and state checks in the objects guide.

Find candidate assets ​

Loading audio player...