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

    bright-gpu-74537

    05/23/2019, 8:02 AM
    me neither to be honest... ill deep dive into flixel at some point... no doubt im missing something
  • b

    brave-kangaroo-30399

    05/23/2019, 11:15 AM
    Do you expect
    container.add(button)
    to work or does it have to use addComponent?
  • b

    brave-kangaroo-30399

    05/23/2019, 11:15 AM
    FlxSprites don’t have add or children
  • b

    bright-gpu-74537

    05/23/2019, 12:08 PM
    well, i would expect it, personally, to work with the framework, so the backend would be handling the use of children, but something like this should work:
  • b

    bright-gpu-74537

    05/23/2019, 12:08 PM
    Copy code
    haxe
    var vbox = new VBox();
    vbox.addComponent(new Button());
    vbox.addComponent(new Button());
    vbox.addComponent(new Button());
    add(vbox);
  • b

    bright-gpu-74537

    05/23/2019, 12:09 PM
    though to be fair, i think that does work
  • b

    bright-gpu-74537

    05/23/2019, 12:09 PM
    i think the best "use case" here, is getting it to work with that collision sample
  • b

    bright-gpu-74537

    05/23/2019, 12:10 PM
    it creates a bunch of images (crates) and bounces them around... its trivial to replace the images with haxeui components, but then it all sort of falls apart
  • b

    brave-kangaroo-30399

    05/23/2019, 4:53 PM
    That does work, not sure what you mean by collision sample
  • b

    bitter-family-72722

    05/23/2019, 4:54 PM
    this .gif from earlier I assume https://discordapp.com/channels/162395145352904705/565569107701923852/580845609439854604
  • b

    bitter-family-72722

    05/23/2019, 4:54 PM
    in the FlxCollisions demo
  • b

    brave-kangaroo-30399

    05/23/2019, 5:00 PM
    That link doesn’t do anything from my phone, but ok
  • b

    bright-gpu-74537

    05/23/2019, 5:02 PM
    yeah, i mean this: https://github.com/HaxeFlixel/flixel-demos/tree/master/Features/CollisionAndGrouping
  • b

    bright-gpu-74537

    05/23/2019, 5:03 PM
    i mean, i would say that that should work (in the sense that it should be feasible) and if / when it does, then i would say that is pretty tight integration with flixel...
  • b

    bright-gpu-74537

    05/23/2019, 5:05 PM
    otherwise, as mentioned, you very much have a "ui floating over the top of a framework"... which is verrrrry HaxeUI v1... πŸ˜ƒ
  • b

    bitter-family-72722

    05/23/2019, 8:19 PM
    this seems haxeui-related πŸ˜‰ https://twitter.com/IanHarrigan1982/status/1131650329408417793
  • b

    bright-gpu-74537

    05/23/2019, 8:23 PM
    looks familiar... i should probably get around to changing that image... its actually haxeui v1
  • b

    bitter-family-72722

    05/23/2019, 8:37 PM
    also, the logo doesn't really fit that round shape
  • w

    witty-island-52596

    05/23/2019, 8:38 PM
    here we go
  • b

    bright-gpu-74537

    05/23/2019, 9:01 PM
    haha
  • b

    bright-gpu-74537

    05/23/2019, 9:08 PM
    become a patreon @bitter-family-72722 and ill change it :-p
  • b

    bright-gpu-74537

    05/23/2019, 9:08 PM
    ... ... ... really, dont
  • b

    bright-gpu-74537

    05/23/2019, 9:10 PM
    πŸ˜ƒ
  • l

    loud-salesclerk-7438

    05/23/2019, 9:24 PM
    +1 for keeping the child safe version πŸ˜ƒ
  • b

    bright-gpu-74537

    05/23/2019, 10:26 PM
    Fuck? Shit? Piss?
  • b

    bitter-family-72722

    05/23/2019, 10:27 PM
    I think he means the HaxeUI logo without sharp edges
  • b

    bright-gpu-74537

    05/23/2019, 10:27 PM
    oh - thats funny
  • u

    user

    05/23/2019, 10:27 PM
    MOM HE SWORE
  • b

    bright-gpu-74537

    05/23/2019, 10:29 PM
    i feel like a cunt now πŸ˜„
  • b

    bright-gpu-74537

    05/23/2019, 10:29 PM
    (totally valid in british vernacular)
1...373839...1687Latest