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

    cool-psychiatrist-49311

    06/12/2020, 7:53 AM
    ok
  • b

    bright-gpu-74537

    06/12/2020, 7:53 AM
    ?
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:53 AM
    I forgot the -lib
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:54 AM
    oh wow it works
  • b

    bright-gpu-74537

    06/12/2020, 7:54 AM
    hehe, ye of little faith? 😄
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:54 AM
    I confess
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:54 AM
    haha
  • b

    bright-gpu-74537

    06/12/2020, 7:54 AM
    can i see it it? Does it work "right" ?
  • b

    bright-gpu-74537

    06/12/2020, 7:55 AM
    sweet
  • b

    bright-gpu-74537

    06/12/2020, 7:55 AM
    shame about the font... haxeui-heaps doesnt support custom fonts yet has i have NO idea how they work
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:56 AM
    but getting this when hovering on a button:
    ../haxeui-heaps/haxe/ui/backend/AssetsImpl.hx:35: All tiles must be of the same texture
  • b

    bright-gpu-74537

    06/12/2020, 7:57 AM
    interesting, and thats a crash? I guess i should make one big atlas...
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:57 AM
    yes crash
  • b

    bright-gpu-74537

    06/12/2020, 7:57 AM
    actually, i think probably the way im doing 9 slice is maybe dumb in heaps
  • b

    bright-gpu-74537

    06/12/2020, 7:57 AM
    ok, good to know
  • c

    cool-psychiatrist-49311

    06/12/2020, 7:57 AM
    I can log an issue
  • b

    bright-gpu-74537

    06/12/2020, 7:57 AM
    sure, sounds great
  • b

    bright-gpu-74537

    06/12/2020, 7:57 AM
    weird that it doesnt do that for other things, like the dialog bg, etc
  • b

    bright-gpu-74537

    06/12/2020, 7:58 AM
    actually, i think that makes sense, i think when you mouse over you are changing the tile, but obviously its not from the same texture
  • c

    clever-oil-61353

    06/12/2020, 7:59 AM
    possible to highlight or similar using css instead of a texture change? i guess that makes sense.... almost time for me to pass on out lol
  • b

    bright-gpu-74537

    06/12/2020, 8:01 AM
    well, the kenney theme is 100% bitmap based
  • b

    bright-gpu-74537

    06/12/2020, 8:01 AM
    everything is an image
  • c

    clever-oil-61353

    06/12/2020, 8:01 AM
    ah ok
  • b

    bright-gpu-74537

    06/12/2020, 8:02 AM
    its almost certainly just down to my ignorance of how to use heaps effectively
  • c

    clever-oil-61353

    06/12/2020, 8:05 AM
    been a while since i looked at heaps.... cant remember exactly how their setup worked.
  • c

    cool-psychiatrist-49311

    06/12/2020, 8:08 AM
    oh well, so
    h2d.Graphics::beginTileFill
    must always draw the same texture?
  • c

    cool-psychiatrist-49311

    06/12/2020, 8:09 AM
    maybe haxeui has to have multiple
    h2d.Graphics
    then....
  • c

    cool-psychiatrist-49311

    06/12/2020, 8:09 AM
    or build a spritesheet on the fly
  • b

    bright-gpu-74537

    06/12/2020, 8:11 AM
    yeah - ill have to investigate, i guess building a spritesheet in the fly might make sense... dunno
  • b

    bright-gpu-74537

    06/12/2020, 8:12 AM
    although, multiple h2d graphics might also be sensible
1...272273274...1687Latest