# Tile index shift

**URL:** <https://discourse.mapeditor.org/t/tile-index-shift/1315>\
**Category:** Questions\
**Created:** [April 29, 2016, 4:22pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315 "2016-04-29T16:22:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jscoll1982](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jscoll1982](https://discourse.mapeditor.org/u/Jscoll1982)\
**Post date:** [April 29, 2016, 4:22pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/1 "2016-04-29T16:22:43Z")

</div>

Does anybody know if there is a way to have tile tile index start at 1 rather than 0?

---

<div class="post-metadata">

**Author:** ![Jscoll1982](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jscoll1982](https://discourse.mapeditor.org/u/Jscoll1982)\
**Post date:** [April 29, 2016, 5:17pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/2 "2016-04-29T17:17:48Z")

</div>

I would like to rephrase the question. When I say tile index I mean the tile ID number when you select a tile to place on the grid. Is there any way to make the ID start at 1 rather than start at 0?

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [April 29, 2016, 8:16pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/3 "2016-04-29T20:16:39Z")

</div>

This is the same thing you asked in your other topic, right? Please don’t do that and have a bit more patience.

> [@Tile index issue](http://discourse.mapeditor.org/t/tile-index-issue/1311):
>
> I noticed that the tile index starts at 0. My problem is that my current game engine does not support the tiled format extension. The engine I’m using uses a map array. I have to export the file as a csv file. Open the file with note pad, and copy and paste the numerical values into my engines map file. The problem is that my engines map uses 0 as an empty tile space. Tiled uses -1. So as a result my map is offset by one tile. Is there any way to get the tile index to start at 1 rather than 0?

---

<div class="post-metadata">

**Author:** ![Jscoll1982](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jscoll1982](https://discourse.mapeditor.org/u/Jscoll1982)\
**Post date:** [April 29, 2016, 8:39pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/4 "2016-04-29T20:39:06Z")

</div>

Sorry sir. I was not sure if I explained my question clearly. I was also wondering if anybody else knew a way around this. No reason to be hostile.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [April 29, 2016, 8:44pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/5 "2016-04-29T20:44:34Z")

</div>

I may be a bit direct, but I’m not hostile. 🙂

---

<div class="post-metadata">

**Author:** ![Jscoll1982](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jscoll1982](https://discourse.mapeditor.org/u/Jscoll1982)\
**Post date:** [April 29, 2016, 8:50pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/6 "2016-04-29T20:50:23Z")

</div>

Ok. My bad. It seemed like I upset you. Sorry if I came across impatient. I have a final project due for a gaming class that I’m in and the instructed has us doing tile maps by entering each integer in map array ourselves. This takes countless hours and is very tedious. Any way thanks for the help. This software is great. Hopefully I can find a way to implement it with my relatively limited knowledge. 😀👍

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [April 29, 2016, 9:16pm UTC](https://discourse.mapeditor.org/t/tile-index-shift/1315/7 "2016-04-29T21:16:20Z")

</div>

Hehe, it’s alright. Good luck with your final project!

And sounds like you need to tell your instructor about Tiled!
