https://linen.dev logo
Join DiscordCommunities
Powered by
# ceramic
  • f

    faint-toothbrush-51643

    08/23/2022, 2:30 PM
    i haven't tried nineslice yet
  • f

    faint-toothbrush-51643

    08/23/2022, 11:31 PM
    I do not
    Copy code
    C:/Haxe/SpineCeramic/src/prex/ui/PrexUIObject.hx:8: characters 8-25 : Type not found : ceramic.NineSlice
    C:/Haxe/SpineCeramic/src/prex/ui/PrexUIObject.hx:15: characters 11-20 : Type not found : NineSlice
  • b

    billowy-waiter-28954

    08/24/2022, 12:26 AM
    Then I don’t know what you did but you didn’t update to latest ceramic release
  • f

    faint-toothbrush-51643

    08/24/2022, 12:57 AM
    you're right
  • f

    faint-toothbrush-51643

    08/24/2022, 1:07 AM
    oh
  • f

    faint-toothbrush-51643

    08/24/2022, 1:07 AM
    so when i try to update ceramic, it doesn't work
  • f

    faint-toothbrush-51643

    08/24/2022, 1:07 AM
    Copy code
    PS C:\Haxe> haxelib run ceramic setup
    Detected existing ceramic version v0.14.2 (C:/Haxe/ceramic)
    Update ceramic to v0.16.0? (y/n)
    y
    Downloading ceramic-windows.zip...
    Download complete : 298648459 bytes in 113.4s (2570.2KB/s)
    Called from ? line 1
    Called from Main.hx line 117
    Called from Main.hx line 193
    Called from Main.hx line 440
    Called from Main.hx line 440
    Called from Main.hx line 440
    Called from Main.hx line 440
    Called from Main.hx line 442
    Called from /usr/local/lib/haxe/std/neko/_std/sys/FileSystem.hx line 87
    Uncaught exception - std@file_delete
    PS C:\Haxe> ceramic version
    0.14.2 (C:\Haxe\ceramic\tools)
  • g

    great-oyster-61535

    08/24/2022, 1:58 AM
    Have you tried with sudo?
  • g

    great-oyster-61535

    08/24/2022, 1:58 AM
    Super user i mean* Linux bad
  • f

    faint-toothbrush-51643

    08/24/2022, 1:59 AM
    what do you mean?
  • g

    great-oyster-61535

    08/24/2022, 1:59 AM
    Running PS on admin perms
  • g

    great-oyster-61535

    08/24/2022, 2:00 AM
    Ultimately, it seems like it has trouble replacing old files. You could try manually downloading ceramic from within haxelib and unzipping in the dedicated folder
  • r

    refined-laptop-39041

    08/24/2022, 2:17 AM
    That wouldn't do anything I think
  • f

    faint-toothbrush-51643

    08/24/2022, 4:26 AM
    alright got it all sorted out
  • f

    faint-toothbrush-51643

    08/24/2022, 4:26 AM
    i think the problem was that i had something open in vscode
  • f

    faint-toothbrush-51643

    08/24/2022, 4:27 AM
    it looks like the current implementation doesn't have the option to use
    tile
    , only
    texture
    ?
  • b

    billowy-waiter-28954

    08/24/2022, 8:40 AM
    That's right, I'll add the
    tile
    support sooner than later though
  • b

    billowy-waiter-28954

    08/24/2022, 8:42 AM
    Actually, Ceramic can be installed without git and without haxelib utility. One just need to download a zip archive from the release page, unpack it somewhere, and open a terminal/powershell inside
    ceramic/tools
    . There you can use
    ./ceramic
    command directly, or make it global with
    ./ceramic link
  • b

    billowy-waiter-28954

    08/24/2022, 8:42 AM
    The haxelib utility is just a helper to automate a bit of that
  • f

    faint-toothbrush-51643

    08/25/2022, 12:10 AM
    forgot to post this earlier, the nineslices are indeed working for me
  • b

    billowy-waiter-28954

    08/25/2022, 9:31 AM
    Cool good to know 🙂
  • b

    billowy-waiter-28954

    08/26/2022, 3:17 PM
    https://github.com/ceramic-engine/ceramic/commit/eebce177e6fd354e7058d2e60df617cba1309ab3 NineSlice tile support pushed to git
  • f

    faint-toothbrush-51643

    08/27/2022, 1:14 AM
    How would I go about doing a Text with stroke and fill?
  • f

    faint-toothbrush-51643

    08/27/2022, 1:14 AM
    Actually, come to think of it, what would be a good way to do full-on custom image fonts? Should I extend Text or do it all myself? (monospace)
  • b

    billowy-waiter-28954

    08/27/2022, 7:25 AM
    You could use a custom bitmap font with pre-rendered strokes, or apply the same shader to every glyph quad
  • f

    faint-toothbrush-51643

    08/27/2022, 7:26 AM
    "pre-rendered strokes"?
  • b

    billowy-waiter-28954

    08/27/2022, 7:31 AM
    A bitmap font is just a png image with a fnt file. Glyphs can be anything, images, characters with strocke included etc…
  • b

    billowy-waiter-28954

    08/27/2022, 7:32 AM
    I use Bmglyph on mac to create that kind of font but there is probably something similar on other os
  • b

    billowy-waiter-28954

    08/27/2022, 7:32 AM
    Outside of the scope of ceramic though
  • b

    billowy-waiter-28954

    08/27/2022, 7:33 AM
    If you want to do that from ceramic directly, that can be done with a shader
1...101112...124Latest