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

    brave-kangaroo-30399

    05/22/2019, 4:33 PM
    Actually yeah that might make sense
  • b

    bright-gpu-74537

    05/22/2019, 4:33 PM
    is there anything "magic" about substate?
  • b

    bright-gpu-74537

    05/22/2019, 4:34 PM
    or is it just for organisational purposes?
  • b

    brave-kangaroo-30399

    05/22/2019, 4:34 PM
    Nah there’s just some logic to update the main state or not
  • b

    brave-kangaroo-30399

    05/22/2019, 4:34 PM
    If it’s a pause menu or just an overlay
  • q

    quick-king-64105

    05/22/2019, 4:34 PM
    The ideal doesn't work, no.
  • q

    quick-king-64105

    05/22/2019, 4:35 PM
    However, the last one, the proposal, does work and does come being just one line off the ideal.
  • q

    quick-king-64105

    05/22/2019, 4:35 PM
    It uses the class I asked if we could look at rolling in.
  • q

    quick-king-64105

    05/22/2019, 4:36 PM
    Miss when I had a server in my apartment, was quite easy to push such things >.<
  • q

    quick-king-64105

    05/22/2019, 4:36 PM
    Typically people will make a backsplash to the substate.
  • q

    quick-king-64105

    05/22/2019, 4:37 PM
    Well, insofar as I've seen.
  • q

    quick-king-64105

    05/22/2019, 4:38 PM
    Also, bonus "because I slaughter everything" points here for my morning, the alphabetical order is the same as the written order. XD
  • q

    quick-king-64105

    05/22/2019, 4:45 PM
    MSGhero, I don't know whether I have an answer to: > And the haxe UI substate kinda defeats the purpose of HaxeUI, which is to blend seamlessly into your existing workflow I would have to see a worked example of it properly cooperating in the same FlxGroup as other objects, colliding, etc. The impression I'm under is that, as the label on the tin implies, it's reasonable for UIs, menus, that sort of thing. So to say it "blends seamlessly" seems to suggest it has some magical power to overcome that fundamental design aspect. It is a servicable, cross-library UI library/etc. Sure. It shows potential and I have hope. Sure. I'm willing to wrestle it to the ground and poke it hard, sure. :eyebrowwiggle: But being said, it's relegated to the space of UIs and menus in my workflow. Nothing more. This is especially ironic given that the current text adventure work I'm doing is all UI, and the entire playstate is basically HaxeUI with a background, using Flixel as the backend for no other reason than it's familiar XD
  • q

    quick-king-64105

    05/22/2019, 4:46 PM
    It's way too many sleep-deprived words for "I fail to see what's wrong with building out a pause menu with this, and the kit to do it trivially with. I'd - in fact - expect that to be a prime use."
  • b

    bright-gpu-74537

    05/22/2019, 4:48 PM
    shouldnt it "cooperating in the same FlxGroup as other objects, colliding, etc"? I mean, a Button is just a FlxGroup at the end of the day, no?
  • b

    bitter-family-72722

    05/22/2019, 4:48 PM
    no. 😄
  • q

    quick-king-64105

    05/22/2019, 4:48 PM
    I'm not sure at the underlying level what a Button is.
  • q

    quick-king-64105

    05/22/2019, 4:48 PM
    But objects are arranged in groups.
  • b

    bitter-family-72722

    05/22/2019, 4:48 PM
    at least not FlxButton, but that's probably not relevant here
  • q

    quick-king-64105

    05/22/2019, 4:48 PM
    So any object in that group should be able to collide.
  • b

    bright-gpu-74537

    05/22/2019, 4:48 PM
    it ends up as a FlxGroup i think
  • b

    bright-gpu-74537

    05/22/2019, 4:48 PM
    i mean a haxeui button
  • b

    bright-gpu-74537

    05/22/2019, 4:48 PM
    isnt any component in haxeui-flixel just a FlxGroup?
  • q

    quick-king-64105

    05/22/2019, 4:49 PM
    Again, I can't answer that. I can say that I would assume sooner or later we get down through some nesting of FlxGroups to objects that should be collidable with some certainty, at least.
  • q

    quick-king-64105

    05/22/2019, 4:49 PM
    Could probably ask for type and see what happens, lazy excuses here.
  • b

    bright-gpu-74537

    05/22/2019, 4:50 PM
    pretty sure it does... checking now
  • b

    bright-gpu-74537

    05/22/2019, 4:50 PM
    https://github.com/haxeui/haxeui-flixel/blob/new-component-method/haxe/ui/backend/ComponentSurface.hx#L3
  • b

    bright-gpu-74537

    05/22/2019, 4:50 PM
    FlxSpriteGroup
  • b

    bright-gpu-74537

    05/22/2019, 4:50 PM
    not sure if thats different
  • q

    quick-king-64105

    05/22/2019, 4:51 PM
    Typed version of FlxGroup.
1...313233...1687Latest