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

    bright-gpu-74537

    07/01/2020, 2:11 PM
    yeah, at the moment it will, it loads the image and it ends up as ImageData, but it will need changes to make it work with a "raw" kha.Image
  • b

    bright-gpu-74537

    07/01/2020, 2:12 PM
    just checking real quick to see how simple that would be
  • f

    fast-rain-20339

    07/01/2020, 2:13 PM
    Casting it to
    haxe.ui.backend.ImageData
    didn't change anything
  • b

    bright-gpu-74537

    07/01/2020, 2:13 PM
    it wont, it goes through a whole "image loader" that checks http, file, assets, resources, etc
  • f

    fast-rain-20339

    07/01/2020, 2:14 PM
    Ah yeah, right.
  • b

    bright-gpu-74537

    07/01/2020, 2:14 PM
    and at the moment, that is a string
  • b

    bright-gpu-74537

    07/01/2020, 2:15 PM
    how are you using haxeui-core? Git i presume, but "haxelib dev" or "haxelib git"?
  • f

    fast-rain-20339

    07/01/2020, 2:15 PM
    haxelib git I believe
  • b

    bright-gpu-74537

    07/01/2020, 2:16 PM
    (just thinking about trying something, but want to do it on a branch)
  • b

    bright-gpu-74537

    07/01/2020, 2:16 PM
    can you haxelib git a branch?
  • b

    bright-gpu-74537

    07/01/2020, 2:16 PM
    (i dunno if you can)
  • f

    fast-rain-20339

    07/01/2020, 2:16 PM
    ...looking now
  • f

    fast-rain-20339

    07/01/2020, 2:16 PM
    oh, haxelib dev uses arbitrary dir, right. I'll just clone the branch
  • b

    bright-gpu-74537

    07/01/2020, 2:17 PM
    yeah
  • b

    bright-gpu-74537

    07/01/2020, 2:17 PM
    ok, clone
    experiments/ImageDataAsResource
    branch
  • b

    bright-gpu-74537

    07/01/2020, 2:17 PM
    no changes there yet, but thats a where they will go
  • f

    fast-rain-20339

    07/01/2020, 2:17 PM
    Awesome 👍
  • f

    fast-rain-20339

    07/01/2020, 2:19 PM
    Doesn't look like you've pushed the branch yet, but happy to wait
  • b

    bright-gpu-74537

    07/01/2020, 2:19 PM
    duh, yeah, pushed now
  • f

    fast-rain-20339

    07/01/2020, 2:19 PM
    👍
  • f

    fast-rain-20339

    07/01/2020, 2:55 PM
    I'm off for the night, 1am here. Didn't get around to working on textfield today but pretty sure it'll happen tomorrow. Pretty excited about this world editing tool, being able to load external assets from either the file system or a resource server will be awesome. Thanks for your help again 😄
  • b

    bright-gpu-74537

    07/01/2020, 2:56 PM
    no worries
  • b

    brave-kangaroo-30399

    07/01/2020, 3:20 PM
    @clever-oil-61353 I think both were on latest chrome, flixel backend
  • b

    brave-kangaroo-30399

    07/01/2020, 3:21 PM
    One was on a surface laptop I know, but every other flixel game was fine
  • b

    bright-gpu-74537

    07/01/2020, 4:09 PM
    @User - can you pull
    experiments/ImageDataAsResource
    for both haxeui-core and haxeui-kha and see if you can a) set images as normal (strings) also see if you can set images as
    haxe.ui.backend.ImageData
    , which in the case of haxeui-kha would resolve to a
    kha.Image
  • c

    clever-oil-61353

    07/01/2020, 4:15 PM
    @brave-kangaroo-30399 I believe there are some security/privacy settings that can affect images loading. Cant remember for sure. Hadnt touch chrome in a while til a couple days ago.
  • b

    brave-kangaroo-30399

    07/01/2020, 4:31 PM
    But everything else in the game was fine, it was just the HaxeUI part
  • b

    brave-kangaroo-30399

    07/01/2020, 4:31 PM
    Everything about it was just bizarre
  • f

    fast-rain-20339

    07/01/2020, 11:52 PM
    Awesome Ian, pulling now 👍
  • f

    fast-rain-20339

    07/01/2020, 11:57 PM
    Hm, currently getting no errors, and no images in the list, regardless of how I specify the image
1...299300301...1687Latest