HaxeFlixel / HaxeFlixel/flixel
FlxText and FlxBitmapText need a common interface
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
At the moment, it is not possible to write a class with text elements where it is possible to change between FlxText and FlxBitmapText due to the lack of a common base class or interface.
Having something like an IFlxText would allow us to write classes with text elements interchangeable between the two, and could replace places in flixel where presently FlxText has been used but a bitmap text might be desired, for example on sliders.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting FlxText and FlxBitmapText and the existing slider usages mentioned in the issue. Determine the shared interface or base-class requirements, then verify that text elements can interchangeably use either implementation, including in places where FlxText is currently assumed.
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
- Mostly clear
- Newbie friendliness
- 25/100