[Question] How does making custom tiles work?

Mapping related threads and questions go in here!
Post Reply
User avatar
PvtVain
Posts: 123
Joined: 04 Mar 2012, 10:36

Post » 06 Mar 2012, 07:02

I feel stupid to ask this, but how does it work?. I've seen a couple of things regarding it, But it's kinda confusing IMO. Cause I need to make a few custom tiles for I Love Portals.

User avatar
byrono
Posts: 118
Joined: 02 Feb 2012, 21:53

Post » 06 Mar 2012, 07:07

%appdata%/love/mari0/mappacks/your_mappack/
Then make your tiles and call them tiles.png

User avatar
Zlmpery
Posts: 339
Joined: 05 Feb 2012, 19:12
Contact:

Post » 06 Mar 2012, 07:08

I answered a similar question earlier today.

Check out this image:
Image

That person had a picture with 4 sprites.
Image

Here it is zoomed in: (Ignore the slight outline, it shouldn't be there.)
Image

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.
Image

Here is the finished tiles.png:
Image

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.

User avatar
PvtVain
Posts: 123
Joined: 04 Mar 2012, 10:36

Post » 06 Mar 2012, 07:10

Oh okay thank you.

Post Reply