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

    wonderful-motorcycle-11189

    05/11/2023, 3:34 PM
    is it possible that the error come from the Haxe Extensions?
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:35 PM
    let me see if creating a new project will help
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:39 PM
    yup even a new project will throw that error
  • a

    ambitious-knife-25690

    05/11/2023, 3:47 PM
    most likely reason is that you aren't running the latest ceramic @wonderful-motorcycle-11189
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:50 PM
    Hum
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:50 PM
    let me see
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:51 PM

    https://cdn.discordapp.com/attachments/853414608747364352/1106247146413506651/image.png▾

  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:51 PM
    1.1.1 isn't the latest version?
  • w

    wonderful-motorcycle-11189

    05/11/2023, 3:55 PM
    I though it was
  • w

    wonderful-motorcycle-11189

    05/11/2023, 5:02 PM
    Ill try that
  • w

    wonderful-motorcycle-11189

    05/11/2023, 6:04 PM
    yeh here u go fixed
  • a

    ambitious-knife-25690

    05/11/2023, 11:33 PM
    you can do asset reloading in ceramic can't you?
  • a

    ambitious-knife-25690

    05/11/2023, 11:33 PM
    could that be explained a bit? I wonder if it is possible to reload haxeui xmls 🤔
  • b

    billowy-waiter-28954

    05/12/2023, 7:41 AM
    Yes I need to add a guide about that
  • b

    billowy-waiter-28954

    05/12/2023, 7:41 AM
    This, I don't know, depends if haxeui is capable of updating UI from XML data at runtime or if that has to be processed by a macro. @bright-gpu-74537 will be able to answer that 😄
  • b

    bright-gpu-74537

    05/12/2023, 7:45 AM
    its processed by macro... it can also be processed at runtime, but i dont think its going to be as simple as "oh, this will just work"... for example, the macro that processes the xml, will also create typed vars of named components... that aint gonna work at runtime
  • b

    bright-gpu-74537

    05/12/2023, 7:46 AM
    technically not a deal breaker, but i think you get used to "myButton" automatically being a member var, then you change it to "myButton2" in the xml and no only is myButton still there, myButton2 wouldnt be
  • b

    billowy-waiter-28954

    05/12/2023, 7:58 AM
    Anyway @ambitious-knife-25690, if you want to try hot reload on something more simple, like an image, in your scene's preload(), you add `watchDirectory()`:
    Copy code
    haxe
        override function preload() {
    
            assets.watchDirectory();
    
            assets.add(Images.SOME_IMAGE);
    
        }
  • b

    billowy-waiter-28954

    05/12/2023, 7:59 AM
    Then in the code where you use that image, you can wrap it into an `autorun()`:
    Copy code
    haxe
    var quad = new Quad();
    autorun(() -> {
        quad.texture = assets.texture(Images.SOME_IMAGE);
    });
  • b

    billowy-waiter-28954

    05/12/2023, 8:00 AM
    If you target
    web
    , be sure to enable the
    electron
    plugin because that's a requirement to make hot reload work on that target
  • b

    billowy-waiter-28954

    05/18/2023, 6:09 PM
    Hey there, new Ceramic release with plenty of small things! https://github.com/ceramic-engine/ceramic/releases/tag/v1.2.0
  • b

    billowy-waiter-28954

    05/18/2023, 6:09 PM
    @User
  • e

    early-oil-11497

    05/18/2023, 6:11 PM
    👏
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:12 AM
    congrats!
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:12 AM
    I was curious if I wanted to use Spine art for the game how would you guys approach the maps? assuming its a sidescroller style game
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:13 AM
    like would you use tileD?
  • f

    faint-toothbrush-51643

    05/22/2023, 4:13 AM
    oh hey i've been using spine
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:14 AM
    hey!
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:14 AM
    yeh I was tempted to paint my background
  • w

    wonderful-motorcycle-11189

    05/22/2023, 4:14 AM
    well the environment
1...120121122123124Latest