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

    boundless-state-97873

    04/30/2023, 7:08 AM
    Can I load a texture in a class other than Scene? I have Enemy extends Visual class. Is there any way to load and apply a texture in it? Or do I have to do preload in the parent scene and pass the texture to the Enemy class?
  • b

    boundless-state-97873

    04/30/2023, 7:12 AM
    The name enemy textures are id:Num. I have no problem making them strings (id1.png, for example). Question, is it possible to use path as in web? For example, "./assets/1.webp" or just "Images.ID1"
  • b

    billowy-waiter-28954

    04/30/2023, 7:15 AM
    You should look at the assets guide: https://ceramic-engine.com/guides/assets/
  • b

    boundless-state-97873

    04/30/2023, 7:19 AM
    Thank you! I had completely forgotten about this. Was only looking for information in the examples on github and api 🙂
  • a

    ambitious-knife-25690

    04/30/2023, 8:52 PM
    hmm, it looks like ceramic isn't compatible with 4.3+
  • a

    ambitious-knife-25690

    04/30/2023, 8:53 PM
    or at least i think that's what is going on it isn't clear
  • a

    ambitious-knife-25690

    04/30/2023, 8:53 PM
    ahhh, it looks like there's just a lot of deprecated things around in the libs
  • b

    billowy-waiter-28954

    04/30/2023, 9:30 PM
    Latest ceramic is shipped with haxe 4.3.0 and so far everything is working fine?
  • b

    billowy-waiter-28954

    04/30/2023, 9:46 PM
    (Didn’t update to 4.3.1 yet)
  • a

    ambitious-knife-25690

    04/30/2023, 9:51 PM
    ahh, i manually updated it - must have missed an update announcement
  • a

    ambitious-knife-25690

    05/01/2023, 12:07 AM
    Copy code
    Please make sure Ceramic is not used when installing and Visual Studio Code is closed!
    Update ceramic to v1.1.1? (y/n)
    y
    Downloading ceramic-windows.zip...
    Download complete : 313434514 bytes in 22.8s (13415.5KB/s)
    Called from ? line 1
    Called from Main.hx line 118
    Called from Main.hx line 198
    Called from Main.hx line 448
    Called from Main.hx line 448
    Called from Main.hx line 448
    Called from Main.hx line 448
    Called from Main.hx line 448
    Called from Main.hx line 448
    Called from Main.hx line 450
    Called from /usr/local/lib/haxe/std/neko/_std/sys/FileSystem.hx line 87
    Uncaught exception - std@file_delete
  • a

    ambitious-knife-25690

    05/01/2023, 12:07 AM
    I tried to install the update and i get this message
  • a

    ambitious-knife-25690

    05/01/2023, 12:07 AM
    vscode is closed and i even tried restarting pc and running the command
  • a

    ambitious-knife-25690

    05/01/2023, 12:07 AM
    it might be worth noting that that path is weird because i'm not on linux
  • a

    ambitious-knife-25690

    05/01/2023, 12:07 AM
    i'm on windows but it may not matter
  • b

    billowy-waiter-28954

    05/01/2023, 6:42 AM
    @ambitious-knife-25690 I don’t know what is the root issue but the utility fails to delete the previous ceramic installation. You can delete it manually and try to install again
  • b

    boundless-state-97873

    05/01/2023, 8:30 AM
    What is the order of overlap (z-index) in ceramic? Usually the lower in the code is drawn, the z-index is higher. What am I forgetting?

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

  • b

    billowy-waiter-28954

    05/01/2023, 10:27 AM
    The order in which you add visuals doesn’t really matter. You have to use the depth property, which works in a similar way as z-index
  • a

    ambitious-knife-25690

    05/01/2023, 11:23 AM
    yo, would you mind sharing your rounded rect code? 😄
  • a

    ambitious-knife-25690

    05/01/2023, 12:16 PM
    ahh, ty that worked 👍
  • a

    ambitious-knife-25690

    05/01/2023, 12:16 PM
    if its worth any info, it doesn't appear to be related to permissions or ceramic running
  • a

    ambitious-knife-25690

    05/01/2023, 12:17 PM
    i tried admin rights and running the setup in my documents
  • a

    ambitious-knife-25690

    05/01/2023, 12:59 PM
    @boundless-state-97873 nvm i got it from the screenshot earlier - thanks! 😄
  • b

    billowy-waiter-28954

    05/01/2023, 1:04 PM
    I wish I knew what causes this
  • b

    billowy-waiter-28954

    05/01/2023, 1:05 PM
    Anyway at some point I’d like to generate a real install package, much easier for end user
  • a

    ambitious-knife-25690

    05/01/2023, 1:05 PM
    is debugging this process relatively simple to setup/run? i could try seeing what happens locally at some point
  • b

    billowy-waiter-28954

    05/01/2023, 1:13 PM
    This utility runs via neko, so you can rebuild it from the hxml in the haxelib if you want to modify it, add logs…
  • b

    billowy-waiter-28954

    05/01/2023, 10:54 PM
    This bug will be fixed in next Ceramic release, so you'll be able to use
    components
    package name if you want
  • a

    ambitious-knife-25690

    05/01/2023, 11:03 PM

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

  • a

    ambitious-knife-25690

    05/01/2023, 11:04 PM
    hmm, how would one have a gradient on a shape like this?
1...113114115...124Latest