[Question] How does making custom tiles work?
I answered a similar question earlier today.
Check out this image:
That person had a picture with 4 sprites.
Here it is zoomed in: (Ignore the slight outline, it shouldn't be there.)
The text doesn't need any properties set since it should be a background object.
The two cannons and the cloud should be portalable, collision objects. I'll add one dot at the top right corner of both sprites so it is considered solid. If I put a dot at the 5th pixel, the object would be considered non-portalable.
Here is the finished tiles.png:
Basically, sprites should be 16x16 each with a one pixel border on the right and bottom. (17x17) The dots on the upper right indicate what properties it holds. Although the color doesn't matter, it helps when you're making tiles. Also, make sure the background is transparent, or the image will treat is like all the properties are set.
Check out this image:
That person had a picture with 4 sprites.
Here it is zoomed in: (Ignore the slight outline, it shouldn't be there.)
The text doesn't need any properties set since it should be a background object.
The two cannons and the cloud should be portalable, collision objects. I'll add one dot at the top right corner of both sprites so it is considered solid. If I put a dot at the 5th pixel, the object would be considered non-portalable.
Here is the finished tiles.png:
Basically, sprites should be 16x16 each with a one pixel border on the right and bottom. (17x17) The dots on the upper right indicate what properties it holds. Although the color doesn't matter, it helps when you're making tiles. Also, make sure the background is transparent, or the image will treat is like all the properties are set.