hi everyone, i am creating the sunnyside world game found in itchio, i have some questions,
1.the animations exist as a spritesheets seperately,all states of every animation in one image,
so for every animation i need to add a tilesource and then a sprite for the character, i have hair animation , hitting with sword animation , all seperatelty, my question is, is it okey to work like this? do i find problems later when the functionalities increase?
2.i am drawing the map from a tilesource, is there any way to speed the process
thanks everyone
IDK much about 2D, but Tiled exports to native Defold’s collection. A spritesheet is also workable in Defold as well.
So I’m reading your explanation as that you have a walk animation that has, say, 20 separate png files. Rather than doing tilesource, a sprite atlas would be better. Would just add an animation group then add all the separate images to that group.
Also, it’s good to mention that our formats are text based, so that one might easily create or manipulate files using custom scripts. E.g. you could have a python script regenerate such an atlas when you need to.
Sunnyside World by danieldiggle - this one?
You can use a tilesource as source (Image property) for your sprite, no problem:
You then need to define animations in your tilesource, using then sequences from tile A to B, e.g. 1-10.
The problem, I believe you’re referring to, with the linked asset is that each animation is separated:
This is sadly not suited neither for atlas nor tilesource. Spritesheets, even for other engines, usually contain all animations as well. You can join all of those partial spritesheets into one actual spritesheet or export each frame separately and set up an atlas in Defold. With this asset you have aseprite source, so you can go both ways.
There are new Defold Tilemap Editor features released last year that speed up the process a lot (multiple tiles brush selection, copying, pasting, etc)
You can also use external Editors and import to Defold, like mentioned Tiled, but also TileSetter and Sprite Fusion: