https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • q

    quick-king-64105

    05/18/2019, 7:04 AM
    (There's nuance and flexibility and the devil in the details, like everywhere.)
  • q

    quick-king-64105

    05/18/2019, 7:04 AM
    I plan to poke this hard next time I'm at my codebase.
  • b

    bright-gpu-74537

    05/18/2019, 7:10 AM
    hmmm, right, i think i see what you mean conceptually... would it be possible to create an issue on haxeui-flixel with a small test case? I dont really know the internals of flixel (like this is the first ive heard about substates) so would be good to be able to run some code and see where it goes weird / wrong
  • q

    quick-king-64105

    05/18/2019, 7:12 AM
    That is the plan 😃
  • b

    bright-gpu-74537

    05/18/2019, 7:13 AM
    great, thanks!
  • u

    user

    05/18/2019, 9:25 PM
    Test
  • u

    user

    05/18/2019, 9:43 PM
    ping :)
  • q

    quick-king-64105

    05/18/2019, 10:52 PM
    But does it work both ways?
  • q

    quick-king-64105

    05/18/2019, 10:52 PM

    https://cdn.discordapp.com/emojis/502861002069639171.gifā–¾

  • b

    brave-kangaroo-30399

    05/18/2019, 11:52 PM
    Good this gives me an excuse to delete gitter off my phone
  • b

    bright-gpu-74537

    05/19/2019, 8:04 AM
    oh thats intersting... nice one
  • s

    sparse-table-35282

    05/20/2019, 8:57 PM
    @bright-gpu-74537 I'll try to get back to you later this week after my travel is done. Did you try the kha app I linked? I'm feeling like it's likely to be something I'm doing in my layouts. I'm building everthing in code instead of xml, and I'm wondering if that's why I'm having issues.
  • u

    user

    05/21/2019, 10:41 AM
    Rōnin Announcement - Restarting Bridge
  • q

    quick-king-64105

    05/22/2019, 4:05 PM
    What I have for followup on that isn't a broken mess, actually. @brave-kangaroo-30399 's method seems to be the one covered in Could we maybe work this class in as a shim?
  • q

    quick-king-64105

    05/22/2019, 4:07 PM
    That's a bit much, I'm sure.
  • q

    quick-king-64105

    05/22/2019, 4:07 PM
    That's the gist of the four folders there.
  • b

    bright-gpu-74537

    05/22/2019, 4:24 PM
    I'm frankly surprised this went as well as it did.
  • b

    bright-gpu-74537

    05/22/2019, 4:24 PM
    šŸ˜„
  • b

    bright-gpu-74537

    05/22/2019, 4:26 PM
    so does "ideal" work? Thats how i think i would have used it, again, not knowing anything about flixel though
  • b

    brave-kangaroo-30399

    05/22/2019, 4:27 PM
    I guess I’m more worried about memory leaks than it not working from my suggestion, I know it works
  • b

    brave-kangaroo-30399

    05/22/2019, 4:28 PM
    And the haxe UI substate kinda defeats the purpose of HaxeUI, which is to blend seamlessly into your existing workflow
  • b

    brave-kangaroo-30399

    05/22/2019, 4:28 PM
    The UI state is how flixel-UI did it, and it’s limiting if you want a custom state or substate class
  • b

    bright-gpu-74537

    05/22/2019, 4:29 PM
    whats wrong with the "ideal" method though? Isnt that valid?
  • b

    brave-kangaroo-30399

    05/22/2019, 4:31 PM
    What the ideal isn’t doing is hiding the ā€œoldā€ UI when it would display the substate’s one
  • b

    brave-kangaroo-30399

    05/22/2019, 4:31 PM
    Hiding, deactivating, etc
  • b

    bright-gpu-74537

    05/22/2019, 4:31 PM
    ah
  • b

    brave-kangaroo-30399

    05/22/2019, 4:32 PM
    My way removes them all from the active container in a sense, which (maybe) is the same as deactivating them
  • b

    bright-gpu-74537

    05/22/2019, 4:32 PM
    right
  • b

    bright-gpu-74537

    05/22/2019, 4:33 PM
    yeah, i mean, you could also just use
    Screen.instance.addComponent
    and
    Screen.instance.removeComponent
    i guess?
  • b

    bright-gpu-74537

    05/22/2019, 4:33 PM
    the component would be a view, which would be, like a substate
1...303132...1687Latest