stride3d / stride3d/stride

Nine Slice support

Open
#2,768 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

It would be really great if Stride had 9 Slicing, such as seen in Unity, Godot, and Gamemaker (amongst others I'm sure.)

Is your feature request related to a problem? Please describe.
It's difficult if not impossible to display a nice looking UI Panel that's more complicated than a simple colored border and background.

Describe the solution you'd like
A way to stretch and/or tile an image such that the corners are un-scaled, edges scale in only one direction, and center scales in both directions.

Describe alternatives you've considered
I've briefly considered trying to duplicate the effect using nine separate image elements but if that's possible it's going to be very painful.

Additional context
Examples from other engines:
Unity
Godot
Gamemaker

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reviewing Stride’s existing UI image-element and rendering entry points, using the linked Unity, Godot, and GameMaker references to define corner, edge, and center behavior. Done means UI images can stretch or tile while keeping corners unscaled and edges constrained to one direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.