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

    gifted-whale-78169

    03/04/2023, 11:50 PM
    any idea why the scene goes fullscreen but not the window itself when on pop os? it also doesnt let me turn fullscreen back off
  • b

    billowy-waiter-28954

    03/05/2023, 9:06 AM
    Not really :/
  • b

    billowy-waiter-28954

    03/05/2023, 4:00 PM
    In my adventures to make LDtk work with Ceramic, I had to improve
    ceramic.NineSlice
    so that it can not only stretch slices, but also repeat the pattern. That was quite a mess to sort out but it now works 🙂
  • b

    billowy-waiter-28954

    03/05/2023, 6:37 PM
    Well, well, this is starting to look like correct
  • b

    billowy-waiter-28954

    03/05/2023, 6:50 PM
    Mmmmh... something wrong with that one 🤔
  • b

    billowy-waiter-28954

    03/05/2023, 9:08 PM
    Ok, background does display correctly now, but still having an issue with the wall tiles
  • a

    ambitious-knife-25690

    03/05/2023, 10:33 PM
    @billowy-waiter-28954
  • a

    ambitious-knife-25690

    03/05/2023, 10:33 PM
    i'm having weird behaviour with active = true/false
  • a

    ambitious-knife-25690

    03/05/2023, 10:33 PM
    if i set touchable and visible myself it works fine, but with active it fails
  • a

    ambitious-knife-25690

    03/05/2023, 10:34 PM
    i do think i need active here, but, it doesn't seem to work as guided
  • a

    ambitious-knife-25690

    03/05/2023, 10:35 PM
    i'm not sure what is different, the source code seems like vis + touchable = active
  • f

    faint-toothbrush-51643

    03/06/2023, 1:05 AM
    i had weird problems with that when i was doing text
  • b

    billowy-waiter-28954

    03/06/2023, 8:55 AM
    You should avoid mixing up visible+touchable and active. Use one or the other depending on your use case
  • b

    billowy-waiter-28954

    03/06/2023, 9:02 AM
    Or if you do mix them up, reassign your visible/touchable values everytime after changing active value
  • a

    ambitious-knife-25690

    03/06/2023, 12:17 PM
    Well, i'd like to just use active but it has the weird issue above
  • a

    ambitious-knife-25690

    03/06/2023, 12:17 PM
    why does it get rendered and not go invisible?
  • a

    ambitious-knife-25690

    03/06/2023, 12:19 PM
    when active is shown, it is just active in the entire project. When visible + touchable is shown it is a combination of both but it works
  • a

    ambitious-knife-25690

    03/06/2023, 12:22 PM
    does
    .active
    work in children? 🤔
  • b

    billowy-waiter-28954

    03/06/2023, 1:06 PM
    if you set active = false, then set visible = true. The visual will retain that you want it to be visible = true when active is false. If you set active = false when visual is already visible = false, then when you set back active = true on that visual, it will become visible = false again
  • b

    billowy-waiter-28954

    03/06/2023, 1:06 PM
    So, it's possible to use both, but you should really know what you are doing.
  • b

    billowy-waiter-28954

    03/06/2023, 1:07 PM
    Easiest in that case is probably to set visible and touchable to the values you want everytime you change active state
  • a

    ambitious-knife-25690

    03/06/2023, 1:12 PM
    yeah, but in the gif when i set
    active
    to false or true
    visible
    is not used in the entire backend and it ends up like that
  • a

    ambitious-knife-25690

    03/06/2023, 1:14 PM
    but i think i will just continue working with just visible + touchable
  • b

    billowy-waiter-28954

    03/06/2023, 1:25 PM
    Again, I think it's probably related to the order in which you set active/visible/touchable
  • b

    billowy-waiter-28954

    03/06/2023, 1:25 PM
    Anyway, if you think something is not behaving as expected, I'll need a project that specifically reproduces the issue. Otherwise there is not much I can do
  • a

    ambitious-knife-25690

    03/06/2023, 1:31 PM
    Alright 👍
  • b

    billowy-waiter-28954

    03/06/2023, 10:31 PM
    LDtk project -> Ceramic (Haxe) -> Unity (C#) 😁
  • s

    straight-twilight-37046

    03/07/2023, 3:48 PM
    (I'm new to this so don't judge the question but,) What do you mean by Ceramic (Haxe) -> Unity (C#)? Like, is the code being converted to said language or is it just being made in a way usable by Unity or something? (As I said, I don't know crap about Ceramic but this post interested me.)
  • a

    ambitious-knife-25690

    03/07/2023, 3:53 PM
    ceramic can export to unity in the same way that you can run things on html5
  • a

    ambitious-knife-25690

    03/07/2023, 3:53 PM
    so haxe code -> unity
1...949596...124Latest