karai17 / Simple-Tiled-Implementation

Tiled library for LÖVE
Other
847 stars 121 forks source link

In love2d when I am testing, it says that it does not support tile collections and I will need to make a tile altlas #266

Closed CheriBerry closed 2 years ago

CheriBerry commented 2 years ago

help.zip Can someone please fix this.

karai17 commented 2 years ago

sti does not support tile collections. you will need to stitch together your tiles into a single image rather than many images.

5H2 commented 2 years ago

what does this mean? How would I do this? I am new to lua, do you have a good video? thanks!

karai17 commented 2 years ago

You need to import them all into photoshop and build a single image out of them, or use some tile atlas building software.

5H2 commented 2 years ago

Video? I'm sorry im very new and I don't know how to do anything, what do I do after making the texture atlas?

karai17 commented 2 years ago

Create a tileset with it in Tiled and use that to build your map. I don't have any videos on hand, but it's fairly straight forward. Basically, instead of using a bunch of images to create your map, you combine them all into 1 image and use tiles from that image to place onto your map (hense the name Tiled or tilemaps).

xor32dotcom commented 2 years ago

Create a tileset with it in Tiled and use that to build your map. I don't have any videos on hand, but it's fairly straight forward. Basically, instead of using a bunch of images to create your map, you combine them all into 1 image and use tiles from that image to place onto your map (hense the name Tiled or tilemaps).

this is the checkbox that solved the problem for me aaawtf

note: if you select the other option on the checkbox this will not work and create the problem hes having.

technically speaking. even if all you had was a single image that's not the intended image, that error would not occur

dwexel commented 2 years ago

I got this error even when I had used a single tile atlas. It solved the issue when I embedded the tileset into the map in Tiled. (I think that Tiled recently switched to not embedding the tileset by default.)

CheriBerry commented 2 years ago

I fixed it. I had just forgot to make it a tileset