https://linen.dev logo
Join Discord
Powered by
# ceramic
  • b

    bright-gpu-74537

    02/27/2023, 1:49 PM
    it is yeah
  • a

    ambitious-knife-25690

    02/27/2023, 1:49 PM
    commented it out and didn't seem to load either
  • b

    billowy-waiter-28954

    02/27/2023, 1:49 PM
    The implementation provided by Ceramic should be slightly better because it also handles the case of web version running via electron (and with
    electron
    plugin enabled to use
    fs
    )
  • a

    ambitious-knife-25690

    02/27/2023, 1:50 PM
    that does make sense
  • a

    ambitious-knife-25690

    02/27/2023, 1:50 PM
    Copy code
    hx
    WARNING: cant load from file system on non-sys targets [/C:/Users/Jazz/Pictures/brainbig.png]
    found this in the console
  • a

    ambitious-knife-25690

    02/27/2023, 1:50 PM
    but
    sys
    define should work with nodejs
  • b

    bright-gpu-74537

    02/27/2023, 1:50 PM
    only if you have hxnodejs i think
  • a

    ambitious-knife-25690

    02/27/2023, 1:50 PM
    I do
  • b

    bright-gpu-74537

    02/27/2023, 1:51 PM
    ok, cool - so it does make sense to have the separate function then as there maybe be better impls 👌
  • b

    billowy-waiter-28954

    02/27/2023, 1:51 PM
    your app is running in the renderer process, not the node process
  • a

    ambitious-knife-25690

    02/27/2023, 1:54 PM
    lol, easy
  • b

    bright-gpu-74537

    02/27/2023, 1:55 PM
    so guess after all this, i can be expecting a nice guide from you: "adding haxeui backends"... right?... .... right???!?! 😝
  • a

    ambitious-knife-25690

    02/27/2023, 1:57 PM
    🏃‍♂️
  • a

    ambitious-knife-25690

    02/27/2023, 1:57 PM
    😂
  • a

    ambitious-knife-25690

    02/27/2023, 1:58 PM
    I might come back to that tho, but, I want to make stuff! 🤣
  • a

    ambitious-knife-25690

    02/27/2023, 1:58 PM
    i think i've had "write haxe tutorials" on my side project list... forever
  • b

    bright-gpu-74537

    02/27/2023, 1:59 PM
    well, i was half joking ofc, if you start writing docs you'll show me up (not hard 😄 ) But this backend from inception to done (?) has been interesting to watch - you've made it seem fairly effortless - kudos 👍
  • a

    ambitious-knife-25690

    02/27/2023, 2:00 PM
    ahh, i've had a lot of help 😅
  • a

    ambitious-knife-25690

    02/27/2023, 2:01 PM
    > well, i was half joking ofc... the thing is though, it really isn't "that much" to do
  • b

    bright-gpu-74537

    02/27/2023, 2:01 PM
    🙂 i think kudos to ceramic and Jeremy also ofc, the framework naturally lends itself to haxeui it seems (parent / child stuff) and the api solid and well laid out
  • b

    bright-gpu-74537

    02/27/2023, 2:02 PM
    true true, depending on the framework it can vary HUGELY ofc - but even understanding how it all slots into place can be quite hard to grep at first i think
  • a

    ambitious-knife-25690

    02/27/2023, 2:02 PM
    and it seems like if something needs to be done, there's so many backends, there's likely some example you can probably piece together
  • b

    bright-gpu-74537

    02/27/2023, 2:03 PM
    yeah, references help, it also helps that for the most part, the backend api is stable now... i very rarely touch the backends, and if i do, i VERY VERY rarely change the api
  • a

    ambitious-knife-25690

    02/27/2023, 2:03 PM
    yeah, once that clicked - things seemed to become a lot easier to just go through
  • a

    ambitious-knife-25690

    02/27/2023, 4:59 PM
    @billowy-waiter-28954 is there anything obviously wrong here?
  • a

    ambitious-knife-25690

    02/27/2023, 4:59 PM
    I get a successful callback that things have been loaded
  • a

    ambitious-knife-25690

    02/27/2023, 4:59 PM
    but texture is returning null anyway
  • a

    ambitious-knife-25690

    02/27/2023, 5:01 PM
    oh, going back to old logic removing
    assets.owner.load
    makes it work
  • a

    ambitious-knife-25690

    02/27/2023, 5:02 PM
    but i figured i used it right this time round - ah well 😂
  • b

    billowy-waiter-28954

    02/27/2023, 5:05 PM
    yes, what is that 😆
1...848586...124Latest