cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

Gap with TMX map and spacing tileset #165

Closed Sparksx closed 9 years ago

Sparksx commented 9 years ago

Hello

I use an TMX map with 1px spacing between tiles. Tiles on first line are correctly rendered. But other line have tiles gap. line 2 : 1 tile gap Line 3 : 2 tiles gap etc

I use this tileset (16 x 16 with 1px spacing) roguelikesheet_transparent My tmx file : http://paf.im/WTrxX

I've a bad config or it's a bug ?

benpaddlejones commented 9 years ago

This is an issue with Tiled not Quintus, suggest you ask question such as this direct to Tiled or the Quintus Google+ group.

Sparksx commented 9 years ago

I go to ask this ! But did you recommend me an other software like tiled ?

Thanks

Sparksx commented 9 years ago

Hi,

I have found the solution : my tilset is composed of 16px tiles with 1px spacing. the last line tiles haven't the 1px spacing on right, so Quintus don't find him.

I've just add 1px spacing to correct this.

Sparksx commented 9 years ago

Someone who work on tiled map editor say me tileset didn't need spacing at right of last line tile. So you have a bug with rendering when tilset have spacing and last line tile don't have.

benpaddlejones commented 9 years ago

Is the issue in Tiled or when the tmx is loaded into a browser by quintus?

Sparksx commented 9 years ago

It's in tiled but I've do a pull request to correct it