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

    billowy-waiter-28954

    12/22/2022, 11:53 PM
    That said you can still have arcade bodies in sub objects, it’s just that you have to update them explicitly with the position you want (see https://github.com/ceramic-engine/ceramic-samples/blob/master/pixel-platformer/src/Player.hx#L143 as à example)
  • g

    gifted-whale-78169

    12/23/2022, 1:37 AM
    ah ok, thanks!
  • g

    gifted-whale-78169

    12/23/2022, 1:39 AM
    makes sense that it does check parent visuals, I tried doing body.updateCenter() and it didn't update, but it makes sense now, I need to add the parent position not just floor
  • g

    gifted-whale-78169

    12/23/2022, 3:55 AM
    what if the position is static? the body still doesnt line up with the floor quad
  • g

    gifted-whale-78169

    12/23/2022, 3:57 AM
    i understand that its because it doesnt take into account the relative position of the
    elevator
    , but even with code that updates a separate body that isnt attached to the floor its still a bit buggy
  • g

    gifted-whale-78169

    12/23/2022, 4:12 AM
    found a solution, if i make the class extend visual and just make a child thats the actual elevator texture i can make the floor collider have an absolute position
  • f

    faint-toothbrush-51643

    01/04/2023, 5:31 AM
    i should really try out tweens
  • b

    billowy-waiter-28954

    01/04/2023, 9:17 AM
    Yes, that’s easy and convenient stuff 😄
  • f

    faint-toothbrush-51643

    01/04/2023, 6:17 PM
    uhhh
  • e

    elegant-twilight-61392

    01/04/2023, 10:20 PM
    that looks correct to me
  • b

    billowy-waiter-28954

    01/04/2023, 11:40 PM
    Feel free to explain what you want to do if you need help
  • f

    faint-toothbrush-51643

    01/04/2023, 11:48 PM
    oh, i forgot to say, i fixed it
  • f

    faint-toothbrush-51643

    01/04/2023, 11:49 PM
    the issue was that the function i passed in wasn't actually multiplying with the value
  • f

    faint-toothbrush-51643

    01/05/2023, 10:47 PM
    so how do scene fades work?
  • b

    billowy-waiter-28954

    01/06/2023, 10:03 AM
    When you assign a new scene to a slot already used by another scene, the existing scene calls fadeOut() and is then destroyed when fadeOut() has finished. The new scene fadeIn is called at the same time previous’s fadeOut() is called
  • b

    billowy-waiter-28954

    01/06/2023, 4:11 PM
    !mention @Ceramic Anybody participating in Ludum Dare and using Ceramic for that this WE?
  • a

    ambitious-knife-25690

    01/06/2023, 4:14 PM
    lol, on it
  • a

    ambitious-knife-25690

    01/06/2023, 4:17 PM
    !mention @User Anybody participating in Ludum Dare and using Ceramic for that this WE?
  • g

    gifted-whale-78169

    01/06/2023, 4:21 PM
    Not planning on it, I already have a project with ceramic and I'm starting a new project soon too
  • g

    gifted-whale-78169

    01/06/2023, 4:22 PM
    Would be sick to see some more ceramic games though
  • b

    billowy-waiter-28954

    01/06/2023, 4:27 PM
    I wish more people would (ludum) dare to try Ceramic he he . .
  • f

    faint-toothbrush-51643

    01/06/2023, 4:37 PM
    when does the new scene's create() get called in all that, and when does the loading happen?
  • b

    billowy-waiter-28954

    01/06/2023, 4:41 PM
    fadeIn() is always called after create()
  • b

    billowy-waiter-28954

    01/09/2023, 3:12 PM
    I think eventually I'll have to create something similar to deepnight's GameBase for Ceramic. Need to polish a few things before that though. And will work on that AFTER supporting LDtk anyway, but it would be nice to have that as a quick starter, especially for game jams
  • a

    ambitious-knife-25690

    01/09/2023, 3:33 PM
    is the code for you ld game open source? it would be cool to add it to the snippet list
  • b

    billowy-waiter-28954

    01/09/2023, 4:00 PM
    I initially planned to because I wanted to submit a COMPO entry, but honestly it's quite a mess 😂
  • b

    billowy-waiter-28954

    01/09/2023, 4:00 PM
    In terms of sample code, I am more thinking about providing a step by step tutorial to create a platformer game
  • b

    billowy-waiter-28954

    01/09/2023, 4:01 PM
    But before that, I want to add LDtk support to Ceramic, because that's what I want to use in the tutorial
  • b

    billowy-waiter-28954

    01/09/2023, 4:01 PM
    (tutorial, that will come with the project code of course)
  • h

    happy-lighter-99358

    01/09/2023, 8:03 PM
    Does Ceramic have any pathfinding built in (eg. A star or something like that)?
1...343536...124Latest