HaxeFlixel / HaxeFlixel/flixel

`FILL` Alignment Mode for FlxText

Open
#2,861 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OpenFL / Lime Text
Dominant language
Haxe
Stars
2.2k
Forks
522
Avg merge
34m
Merged PRs (30d)
1

Description

I think some kind of alignment mode that fills itself with the text using the FieldWidth as a basis would be neat to see

Something similar to this
image

image
(this is what it looks like when I space the zeroes)

- Misses:0 / Score:0 - is what the raw text looks like

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

Start by reviewing FlxText's existing alignment modes and how FieldWidth is handled. Determine the expected behavior for a FILL mode from the examples and define how it should be tested across different text lengths and widths.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.