HaxeFlixel / HaxeFlixel/flixel

FlxText color behaves odd

Open
#3,426 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Discovered in https://github.com/HaxeFlixel/flixel/pull/3413

it changes the format color, and not the color transform, which can cause confusion. Ideally, text.color should behave like sprite.color, and there should be a textColor that changes the font, or something

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 and the behavior described in pull request 3413, focusing on how text.color currently affects the format color versus the color transform. Clarify the intended distinction between text.color and a possible textColor property before deciding what behavior and API would count as done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.