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

    elegant-twilight-61392

    01/27/2023, 12:26 AM
    it works in the editor without being weird
  • e

    elegant-twilight-61392

    01/27/2023, 12:27 AM
    i was concerned about it adding the nodes it creates to the edited scene if i ran it in the editor causing it to save those nodes to the scene file which would cause all sorts of problems, but it seems like it Just Works ™️
  • a

    ambitious-knife-25690

    01/27/2023, 12:27 AM
    text is different in a different testcase 🤣
  • a

    ambitious-knife-25690

    01/27/2023, 12:28 AM
    and clipping doesn't work with splitters for one of the quadrants
  • a

    ambitious-knife-25690

    01/27/2023, 12:28 AM
    hell, yeah
  • a

    ambitious-knife-25690

    01/27/2023, 12:28 AM
    haxeui godot confirmed
  • b

    brave-kangaroo-30399

    01/27/2023, 1:02 AM
    I've been weighing the heaps backend vs one very custom to my lil framework
  • b

    brave-kangaroo-30399

    01/27/2023, 1:02 AM
    I really don't see a good way of fitting it into ECS or leaving it completely out of ECS otherwise
  • a

    ambitious-knife-25690

    01/27/2023, 1:03 AM
    fitting what? haxeui?
  • b

    brave-kangaroo-30399

    01/27/2023, 1:04 AM
    Yes
  • a

    ambitious-knife-25690

    01/27/2023, 1:04 AM
    unfortunately i keep going on side quests
  • e

    elegant-twilight-61392

    01/27/2023, 1:05 AM
    ~~i just realized that you can use gdscripts in godot like an ECS 😂 ~~ this is off topic lol
  • a

    ambitious-knife-25690

    01/27/2023, 1:06 AM
    but have you not considered doing
    Copy code
    hx
    @:build(haxe.ui.macros.ComponentMacros.build("page.xml"))
    class Page extends VBox {}
    
    @:fastFamily var pages:{page:EnumPage, ui:Page};
    
    iterate(pages, {
      ui.doThing();
    });
  • a

    ambitious-knife-25690

    01/27/2023, 1:07 AM
    the thing is msg
  • b

    brave-kangaroo-30399

    01/27/2023, 1:07 AM
    Not in the slightest
  • a

    ambitious-knife-25690

    01/27/2023, 1:07 AM
    i literally only just realised we can do this now 😂
  • a

    ambitious-knife-25690

    01/27/2023, 1:07 AM
    i've been having them completely separate the whole time
  • a

    ambitious-knife-25690

    01/27/2023, 1:07 AM
    what a mess!!!
  • b

    brave-kangaroo-30399

    01/27/2023, 1:07 AM
    That changes everything
  • a

    ambitious-knife-25690

    01/27/2023, 1:08 AM
    it really does man
  • a

    ambitious-knife-25690

    01/27/2023, 1:08 AM
    thank you for bringing this up 😂
  • a

    ambitious-knife-25690

    01/27/2023, 1:08 AM
    i've been dreading tackling that problem again
  • a

    ambitious-knife-25690

    01/27/2023, 1:09 AM
    this is way nicer
  • b

    brave-kangaroo-30399

    01/27/2023, 1:09 AM
    I never used the code definition parts of haxeui, so I'll have to brush up now
  • a

    ambitious-knife-25690

    01/27/2023, 1:32 AM
    all positioned from haxeui?? 😄
  • e

    elegant-twilight-61392

    01/27/2023, 1:32 AM
    yup
  • e

    elegant-twilight-61392

    01/27/2023, 1:32 AM
    it shows in the editor as a single node
  • a

    ambitious-knife-25690

    01/27/2023, 1:32 AM
    is that good or bad?
  • e

    elegant-twilight-61392

    01/27/2023, 1:33 AM
    both i guess
  • e

    elegant-twilight-61392

    01/27/2023, 1:33 AM
    you have to run the project to debug the positions of the child nodes, but its a lot cleaner if your not doing that
1...142614271428...1687Latest