Question about Tiled

Started by
8 comments, last by retro_style 9 years ago

So I'm trying to understand how tiled works. How do we import terrain tiles etc that were made in other programs? Do we need to convert the files into another format? All of my files that I want to use have their own original file ending e.g. .pyxel

When I try to locate the files within the program they turn up as grey -and I can't seem to upload the files. Any help would be much appreciated.

Advertisement

Hi,

I don't know what this .pyxel format is but Tiled normaly uses .png files for the tileset and you have to define the terraininformation within the editor.

Take a look at the TMX map format if you want to understand how everything will look like in the end.

TMX Map Format.

https://github.com/bjorn/tiled/wiki/TMX-Map-Format

Follow my hobby projects:

Ognarion Commander (Java/LIBGDX): https://github.com/OlafVanSchlacht/ognarion-commander

Hi,

I don't know what this .pyxel format is but Tiled normaly uses .png files for the tileset and you have to define the terraininformation within the editor.

Take a look at the TMX map format if you want to understand how everything will look like in the end.

TMX Map Format.

https://github.com/bjorn/tiled/wiki/TMX-Map-Format

The .pyxel ending comes from the pixel art program called Pyxel Edit which I've been using to make all my graphics. I'm not sure what i'm doing wrong here. I've got files that are named both .png and .pyxel yet Tiles doesn't seem to recognise the files. I've just been going map>add external tile set>to the file but it is greyed out. I don't understand what a lot of that link says either. I just want to be able to import stuff so that I can start designing levels.

Do I need to give the files an element and put them into groups first or something? I'm totally new at this so I have no idea of what I'm doing beyond the art stuff.


I've just been going map>add external tile set>to the file but it is greyed out

When I use this optionen Tiled wants me to find a file with the ending .tsx which is the tileset format for tiled. However if I use Map -> Create new Tileset you get to choose some options here. In the dialog you can reference to an external file which can be any kind of image format (jpg, gif, png, etc...).

In the dialog you also have to configure your tiles width, height and some kind of spacing padding if you have a small space between them.

Follow my hobby projects:

Ognarion Commander (Java/LIBGDX): https://github.com/OlafVanSchlacht/ognarion-commander


I've just been going map>add external tile set>to the file but it is greyed out

When I use this optionen Tiled wants me to find a file with the ending .tsx which is the tileset format for tiled. However if I use Map -> Create new Tileset you get to choose some options here. In the dialog you can reference to an external file which can be any kind of image format (jpg, gif, png, etc...).

In the dialog you also have to configure your tiles width, height and some kind of spacing padding if you have a small space between them.

OK I went to new tile set and was able to link the image to the source but then after saving the image just disappeared? Where did it go?

I know the pixel size was right. All my graphics are 16x16 pixels but I left the margin as 0 for both. Should I have changed that?

I have not used this software, but it sounds like it is expecting a tile-sheet.. A single png with all your tiles combined in a grid.

Then you do "make new tileset" and it will pick tiles out of the sheet based on your paramaters.

I have not used this software, but it sounds like it is expecting a tile-sheet.. A single png with all your tiles combined in a grid.

Then you do "make new tileset" and it will pick tiles out of the sheet based on your paramaters.

I'm not sure but I'm only trying to import one tile set at the moment. I might try editing the tile though cos there's a lot of unused tiles and many of them have the same tile number... maybe this is messing with things.

This is all just experimentation though. To learn how this program works.


OK I went to new tile set and was able to link the image to the source but then after saving the image just disappeared? Where did it go?

I know the pixel size was right. All my graphics are 16x16 pixels but I left the margin as 0 for both. Should I have changed that?

I can't reproduce the disappearing of images. Regarding the margin etc. if you have not made a small border between your tiles then putting spacing and margin to 0 is the right decision.

Maybe take a look at this tutorial if you're trying to learn:

http://gamedevelopment.tutsplus.com/tutorials/introduction-to-tiled-map-editor-a-great-platform-agnostic-tool-for-making-level-maps--gamedev-2838

Follow my hobby projects:

Ognarion Commander (Java/LIBGDX): https://github.com/OlafVanSchlacht/ognarion-commander


OK I went to new tile set and was able to link the image to the source but then after saving the image just disappeared? Where did it go?

I know the pixel size was right. All my graphics are 16x16 pixels but I left the margin as 0 for both. Should I have changed that?

I can't reproduce the disappearing of images. Regarding the margin etc. if you have not made a small border between your tiles then putting spacing and margin to 0 is the right decision.

Maybe take a look at this tutorial if you're trying to learn:

http://gamedevelopment.tutsplus.com/tutorials/introduction-to-tiled-map-editor-a-great-platform-agnostic-tool-for-making-level-maps--gamedev-2838

I still have a copy of all of my stuff (which has been backed up) so that's not the problem. I can follow that link exactly but the images aren't showing up in the side bar. All I can see is a map description. On the link you showed he has the file name in the side bar and the images. It looks like there's a drop down box but there's no such thing in my program...

Edit: The images are showing up under the stamp thingy in tile sets but I can't seem to find how to move them where they should be in that guide. I'm guessing that this is a version difference?

I got it working!

It's so cool to be able to use your own designs. Fantastic program!

This topic is closed to new replies.

Advertisement