I’m working on a 2D platformer, and was working with the sprite editor when I came across a problem. I’m working with level assets (sprites) which I’ve needed to split up into multiple tiles to get them to align in the game world when placing them down. The default physics shapes were not very clean due to the assets being small, pixelated sprites. I then created custom physics shapes for each object in a level which was a bit of a pain due to the way I sliced them, but was able to get a clean result.
The problem is, I have different sprite sheets for different levels I’m working on. Though they all have the same overall shape and serve the same purpose per level, I would need to create a custom physics shape for each one.
I couldn’t find anything in the documentation for custom physics shapes that allows me to copy them, so I’m led to believe that I’ll probably need to have two separate layers of tiles to accomplish what I’m looking for (i.e. using one tilemap for collision and another for the visually distinct sprites of that level).
Would this be the best way to do this, or is there another way to copy physics shapes between objects?