Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Issues #235

Open
DalekCraft2 opened this issue Oct 6, 2022 · 7 comments
Open

XML Issues #235

DalekCraft2 opened this issue Oct 6, 2022 · 7 comments

Comments

@DalekCraft2
Copy link

To preface, this is HaxeFlixel 4.11.0, with Lime 8.0.0 and OpenFL 9.2.0. I'm using the latest release of Flixel UI, not the latest commit.

  • The XML reader automatically changes every name to be all-lowercase, which seems unnecessary.
  • Creating a text tag for an FlxUINumericStepper will not create an FlxUIInputText, but instead a normal FlxUIText. Not adding a text tag will allow for the FlxUINumericStepper to be created normally, but will also make it impossible to change things like the width of the text field.
  • The input_text tag does create an FlxUIInputText, but it appears with no background and white text by default, like a normal FlxUIText.
@Geokureli
Copy link
Member

to be honest, flixel-ui is a very one of the least maintained parts of flixel. I personally don't use it, and I highly recommend haxeui-flixel instead.

@DalekCraft2
Copy link
Author

Oh. I had no idea that that existed. Is it compatible with flixel in that its components can be added to states and such?

@Geokureli
Copy link
Member

yes, I'm working on an example for my Newgrounds API, I'll upload it tomorrow morning and share here.

@Geokureli
Copy link
Member

@DalekCraft2 Here's is my example:
https://github.com/Geokureli/Newgrounds/blob/flixel-ui/test/haxeui-flixel/Source/states/IntroState.hx#L17

classes that use ComponentBuilder.build will extend FlxSpriteGroup, and can be added to your state, or other groups.

@DigiEggz
Copy link
Contributor

DigiEggz commented Mar 2, 2023

I hope this repository won't be abandoned completely! I rely on it and its useful features for my project. I'll continue to try and maintain as long as we can still get PRs through.

@Geokureli
Copy link
Member

I realize that porting an existing project to haxe-ui is no small feat, but to be absolutely frank, I despise flixel-ui on a fundemental level and most people who do use it tend to use it for one small thing, and I've seen many people in the haxe forum talk about dropping it entirely.

it would make much much much more sense to recreate haxe-ui's components (without the macro xml building) in a new Flixel-UI repo than to try and maintain flixel-ui IMO

@DigiEggz
Copy link
Contributor

DigiEggz commented Mar 6, 2023

I use things like FlxUICursor and the FireTongue implementation and I don't know how long/difficult it would be recreate all of this in haxe-ui.

I'll keep an eye on the progress of haxe-ui, but deadlines prevent me from dropping this library at the moment. If there are plans to shutter this project, official references to it such as RPGInterface should be removed to prevent misguidance and confusion.

Edit: For clarity and in the meantime, I'm more than happy to continue to help with this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants