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

    faint-toothbrush-51643

    05/22/2023, 6:03 AM
    would the level graphic, in the game, be a large image, or constructed with data?
  • w

    wonderful-motorcycle-11189

    05/22/2023, 2:01 PM
    Hum good question
  • f

    faint-toothbrush-51643

    05/22/2023, 3:52 PM
    and would you want the collision to be tile-based or line-based?
  • f

    faint-toothbrush-51643

    05/22/2023, 3:52 PM
    for an example, fancy pants adventure is fully drawn and line-based
  • w

    wonderful-motorcycle-11189

    05/22/2023, 5:10 PM
    Hum
  • w

    wonderful-motorcycle-11189

    05/22/2023, 5:10 PM
    not sure 100%
  • w

    wonderful-motorcycle-11189

    05/22/2023, 5:10 PM
    also how does the entity system works?
  • b

    billowy-waiter-28954

    05/22/2023, 5:31 PM
    https://ceramic-engine.com/guides/entities/
  • w

    wonderful-motorcycle-11189

    05/22/2023, 5:35 PM
    I see
  • g

    gifted-whale-78169

    05/25/2023, 2:26 AM
    Hopefully I get back to work with ceramic soon, I keep getting preoccupied with other languages and projects :(
  • c

    cool-musician-79004

    05/25/2023, 7:20 PM
    When ceramic compiles for desktop, does it use electron ?
  • a

    ambitious-knife-25690

    05/25/2023, 8:10 PM
    by desktop do you mean cpp?
  • b

    billowy-waiter-28954

    05/25/2023, 8:46 PM
    No, electron is only needed when running for web
  • b

    billowy-waiter-28954

    05/25/2023, 8:46 PM
    It is not needed either if you need to build for web and don't run the result via ceramic tools
  • c

    cool-musician-79004

    05/25/2023, 9:20 PM
    I mean whatever is used for desktop (MacOs, Windows) apps
  • a

    ambitious-knife-25690

    05/25/2023, 10:02 PM
    nah, it's native cpp export
  • a

    ambitious-knife-25690

    05/25/2023, 10:02 PM
    you can use electron if you want to
  • a

    ambitious-knife-25690

    05/25/2023, 10:02 PM
    not necessary tho
  • f

    faint-toothbrush-51643

    05/27/2023, 5:06 PM
    Does Ceramic have any samples using SpriteSheet?
  • b

    billowy-waiter-28954

    05/27/2023, 9:05 PM
    Yes, the pixel platformer sample
  • b

    billowy-waiter-28954

    05/27/2023, 9:06 PM
    But it’s a spritesheet created from code
  • b

    billowy-waiter-28954

    05/27/2023, 9:06 PM
    You want to do that or load a spritesheet from a file? (Like aseprite file)
  • f

    faint-toothbrush-51643

    05/27/2023, 9:10 PM
    i haven't worked with spritesheet makers in quite a while
  • f

    faint-toothbrush-51643

    05/27/2023, 9:10 PM
    currently exploring my options
  • b

    billowy-waiter-28954

    05/27/2023, 9:11 PM
    Loading an aseprite file is the easiest, it’s supported by Ceramic
  • b

    billowy-waiter-28954

    05/27/2023, 9:12 PM
    Otherwise you’ll need to create the animations from code at runtime (like in the pixel platformer sample)
  • b

    billowy-waiter-28954

    05/27/2023, 9:12 PM
    A third option is to create a json file next to a png that describes the data, in the « aseprite json format » and rename it with the .sprite extension
  • b

    billowy-waiter-28954

    05/27/2023, 9:13 PM
    But then using aseprite directly is generally better
  • f

    faint-toothbrush-51643

    05/27/2023, 9:43 PM
    ah so it works like haxeflixel
  • b

    billowy-waiter-28954

    05/27/2023, 9:52 PM
    Ceramic also has some optims when using aseprite files: it shares a single atlas for every loaded spritesheet with the same assets object https://twitter.com/jeremyfaivre/status/1635746124609748997
1...120121122123124Latest