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

    faint-toothbrush-51643

    09/12/2022, 4:27 AM
    also what's that thing where you put another scene on top of the current scene?
  • g

    gifted-whale-78169

    09/12/2022, 2:06 PM
    stacking?
  • g

    gifted-whale-78169

    09/12/2022, 2:06 PM
    idk
  • g

    gifted-whale-78169

    09/12/2022, 2:08 PM
    I want to use particles too, tell me if you find anything
  • g

    gifted-whale-78169

    09/12/2022, 2:09 PM
    But it looks like it's in the same state as spritesheet animations, barely any documentation and zero examples
  • g

    gifted-whale-78169

    09/12/2022, 2:10 PM
    I'm still waiting on the platformer example to continue my game 😩
  • b

    billowy-waiter-28954

    09/12/2022, 3:55 PM
    Platformer is still not ready yet but it soon will!
  • b

    billowy-waiter-28954

    09/12/2022, 3:55 PM
    I’ll provide an example for particles, next
  • b

    billowy-waiter-28954

    09/12/2022, 3:59 PM
    I know the wait can be longer than you wish, but these things take time to do (and are done when I have bandwidth for that). Patience is key here, those samples will be available for everyone eventually 🤞
  • f

    faint-toothbrush-51643

    09/12/2022, 6:21 PM
    and what about the thing with the scene overlay or subscene or whatever it's called? i think i remember it being discussed here a while ago but i can't find it
  • b

    billowy-waiter-28954

    09/12/2022, 9:46 PM
    You simply use app.scenes.set(someIdentifier, scene)
  • b

    billowy-waiter-28954

    09/12/2022, 9:47 PM
    And to have control on which scene is above witch one, you set the scenes depth property, like any other visual
  • b

    billowy-waiter-28954

    09/12/2022, 10:48 PM
    https://discord.com/channels/162395145352904705/162664383082790912/1019015997040115742
  • f

    faint-toothbrush-51643

    09/13/2022, 12:01 AM
    so what are the pros and cons of using a scene vs. just another Visual?
  • b

    billowy-waiter-28954

    09/13/2022, 8:33 PM
    Scene brings a lifecycle with preload, create, update methods that you just have to override
  • b

    billowy-waiter-28954

    09/13/2022, 8:33 PM
    It provides an
    assets
    object out of the box as well
  • b

    billowy-waiter-28954

    09/13/2022, 8:34 PM
    So it depends if you need those features or not
  • f

    faint-toothbrush-51643

    09/14/2022, 12:12 AM
    What determines the order scenes are auto-updated?
  • f

    faint-toothbrush-51643

    09/14/2022, 12:40 AM
    i see that it gets
    _updatingScenes
    from
    all
    but I can't find where it gets
    all
  • b

    billowy-waiter-28954

    09/14/2022, 10:23 AM
    There is no garante provided by Ceramic but update us called in the order scenes were created
  • b

    billowy-waiter-28954

    09/14/2022, 10:25 AM
    If you want to have control over the update order, you can set autoUpdate to false in your sub-scenes and call you sub-scenes update() methods from your main scene update()
  • g

    gifted-whale-78169

    09/14/2022, 3:38 PM
    Can't wait to see it
  • g

    gifted-whale-78169

    09/14/2022, 3:39 PM
    Mainly for spritesheets but still lol
  • g

    gifted-whale-78169

    09/14/2022, 3:39 PM
    Also can't wait to see particles in action
  • g

    gifted-whale-78169

    09/14/2022, 3:40 PM
    lmao
  • f

    faint-toothbrush-51643

    09/14/2022, 5:26 PM
    constructed, or
    set
    in the scene manager, or `create`'d?
  • b

    billowy-waiter-28954

    09/14/2022, 5:38 PM
    Constructed
  • f

    faint-toothbrush-51643

    09/14/2022, 5:45 PM
    good to know
  • b

    billowy-waiter-28954

    09/14/2022, 11:37 PM
    Good news, I've identified an issue that was making this audio that seems off in the sample you provided @faint-toothbrush-51643
  • f

    faint-toothbrush-51643

    09/14/2022, 11:38 PM
    ooh what was it?
1...161718...124Latest