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

    brave-kangaroo-30399

    05/22/2019, 8:21 PM
    Oh that’s not the drawing surface?
  • b

    bright-gpu-74537

    05/22/2019, 8:21 PM
    not really
  • b

    bright-gpu-74537

    05/22/2019, 8:22 PM
    couldnt think of a better name
  • b

    bright-gpu-74537

    05/22/2019, 8:22 PM
    ComponentNativeObject
  • b

    bright-gpu-74537

    05/22/2019, 8:22 PM
    ?
  • b

    bright-gpu-74537

    05/22/2019, 8:22 PM
    😄
  • b

    brave-kangaroo-30399

    05/22/2019, 8:22 PM
    Well if there are all those layers, I might as well get rid of sprite group and deal with position kind of stuff at one of those levels
  • b

    bright-gpu-74537

    05/22/2019, 8:23 PM
    well, you only have access to ComponentImpl and ComponentSurface
  • b

    bright-gpu-74537

    05/22/2019, 8:23 PM
    the rest are core
  • b

    brave-kangaroo-30399

    05/22/2019, 8:23 PM
    Sure but Impl sounds like a good place for it
  • b

    brave-kangaroo-30399

    05/22/2019, 8:23 PM
    Surface typedefs FlxSprite and the Impl deals with children?
  • b

    bright-gpu-74537

    05/22/2019, 8:23 PM
    yeah, ComponentImpl is just what ComponentBase used to be called
  • b

    brave-kangaroo-30399

    05/22/2019, 8:24 PM
    Idk I’ll think about it
  • b

    brave-kangaroo-30399

    05/22/2019, 8:24 PM
    Either FlxSprite or FlxGroup
  • b

    bright-gpu-74537

    05/22/2019, 8:24 PM
    just now you dont have to up cast to get things from component, ie, no more of this:
    cast(this, Component).width
  • b

    brave-kangaroo-30399

    05/22/2019, 8:24 PM
    Yes I remember doing that often haha
  • b

    bright-gpu-74537

    05/22/2019, 8:25 PM
    yeah, it was a pain, and indicated the heiracy was wrong
  • b

    bright-gpu-74537

    05/22/2019, 8:25 PM
    there is still a fair amount of clean up that can now be done in all the backends because of that, but at least now its possible
  • b

    bright-gpu-74537

    05/22/2019, 8:40 PM
    there are some gotchas, for sure
  • b

    bright-gpu-74537

    05/22/2019, 8:40 PM
    like, a label in a button
  • b

    bright-gpu-74537

    05/22/2019, 8:40 PM
    the button moves about with the animation
  • b

    bright-gpu-74537

    05/22/2019, 8:41 PM
    the label doesnt, and thats because it never recieves a
    handlePosition
    because as far as haxeui is concerned, it hasnt moved
  • b

    bright-gpu-74537

    05/22/2019, 8:44 PM
    i could be wrong, im no expert on either, but wouldnt this backend actually make sense to be more like haxeui-kha?
  • b

    bright-gpu-74537

    05/22/2019, 8:44 PM
    I mean, the underlying system seems verrrry similar, and it seems alot of the issues that were sorted when i wrote that backend apply here
  • b

    bright-gpu-74537

    05/22/2019, 8:44 PM
    (again, no expert, just a gut feeling)
  • b

    brave-kangaroo-30399

    05/22/2019, 9:47 PM
    Yeah it would be more like kha and less core flixel classes
  • b

    brave-kangaroo-30399

    05/22/2019, 9:48 PM
    A lot of what I reimplemented is more kha-y or flash-y
  • q

    quick-king-64105

    05/23/2019, 12:51 AM
    O.o Go to bed, wake up to this. This makes my soul hurt less than usual.
  • b

    bright-gpu-74537

    05/23/2019, 7:08 AM
    im still maybe not understanding something about flixel, but it seems that "all" the backend needs to be is a FlxSprite (i know im oversimplifying and have no doubt not thought certain parts out) but in essence is that possible? And then, it should all integrate with flixel - which is something i would have expected
  • q

    quick-king-64105

    05/23/2019, 7:39 AM
    I... honestly don't have the level of knowledge needed to give a good answer to your question.
1...363738...1687Latest