Skip to content

Conversation

Geokureli
Copy link
Member

@Geokureli Geokureli commented Mar 11, 2025

Fixes: #2710

Less drastic version of #3394

FlxSprite: fix issue where setting cliprect completely off the frame prevents it from working later
FlxBitmapText: Improve performance, memory, and allow more control via extension
FlxRect: Add contains method
FlxFrame: Add overlaps, contains and isContained methods
FlxFrame: Make constructor public
FlxColorTransformUtil: Add reset, set, multiple scaleMultipliers overloads, overloaded setMultipliers and made alpha args optional in most functions
FlxColor: Made alpha args optional in most functions

@moxie-coder
Copy link
Contributor

moxie-coder commented Mar 11, 2025

wouldn’t this be a duplicate PR?? I don’t see any difference between the two in the commits

@moxie-coder
Copy link
Contributor

oh never mind I see it

@DetectiveBaldi
Copy link
Contributor

I noticed in the other pr about this topic it mentions how this could contribute to per-character text effects. Is there work that still needs to be done there? Or are there any examples already available

@Geokureli
Copy link
Member Author

I noticed in the other pr about this topic it mentions how this could contribute to per-character text effects. Is there work that still needs to be done there? Or are there any examples already available

I'm planning on making examples using #3394 as it's not as feasible using this PR. Even then, since this is only usable with renderTile, it may end up being an unofficial external tool, rather than a flixel-supported feature of flixel/addons

@Geokureli Geokureli merged commit c7bf42a into HaxeFlixel:dev Mar 28, 2025
10 of 11 checks passed
@Geokureli Geokureli deleted the bitmapText-cleanup branch March 28, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

large FlxBitmapText draws slowly even when only a small portion is on screen
3 participants