FlxBitmapText isn't exactly the best thing in HaxeFlixel. Even the alpha's bugged.
Speaking of bugs, your problem probably is, and you could try inquiring in GitHub.
Just an enthusiast.
FlxBitmapText isn't exactly the best thing in HaxeFlixel. Even the alpha's bugged.
Speaking of bugs, your problem probably is, and you could try inquiring in GitHub.
I'm glad the problem's solved.
...and mine still isn't. weeps
How about "import flixel.addons.weapon.FlxTypedWeapon"?
I checked the addons library's changelog, and apparently FlxWeapon was abstracted to FlxTypedWeapon.
@test84 You sure you did "import flixel.addons.weapon.FlxWeapon"?
This may have already been tested by you, since I can't exactly comprehend things right now, but did you try "import flixel.math.FlxRect" or "import flixel.math.*"?
I know someone's bound to post an alternative using FlxTween, but I found it heavier on performance and asynchronous with the title method.
If you ask why I used bitmap text instead of regular text, it's due to forced antialiasing, regardless of font size.
"Music" is FBT with fadeIn. "Sound" is FBT with FlxTween. Text below are FlxButton PNGs. The "palette" included not only shows that Music obviously isn't fading in just like the buttons, but also shows that FlxTween doesn't go well with fadeIn.
FSU.fadeIO works as intended with FlxBar, FlxSprite, and FlxButton, but not with FlxBitmapText (initial alpha is 0, but executing the methods only bring it to alpha 1 instantly). Is there a way to solve this?
EDIT: Apparently, even setting a FlxBitmapText instance's alpha to 0.01 will make said instance show fully opaque.
EDIT2: Image added for clarification. I'm also using AngelCode bitmap font, since I couldn't get XNA to work.
EDIT3: One day later, no response, no solution. Is this a bug?
EDIT4: Inquired about this on GitHub, noted to be a bug. Gonna standby until further notice.
Suppose I have a main menu and an options menu, both having the same background and layout. What I intend to create is a "dissolving" transition, or a "fade directly to desired screen instead of a color before such". Is this possible? Is there a working snippet for this? Did I miss some documentation for this?
I will provide additional details if I haven't explained properly.