# Million Tile Engine

**URL:** https://forums.solar2d.com/c/million-tile-engine/70.md

[Latest](https://forums.solar2d.com/latest.md) · [Categories](https://forums.solar2d.com/categories.md)

---

## [About the Million Tile Engine category](https://forums.solar2d.com/t/about-the-million-tile-engine-category/149024)

<div class="topic-metadata">

**Author:** [@system](https://forums.solar2d.com/u/system)\
**Replies:** 0

</div>

---

## [Image objects in Isometric map are placed at the wrong location when loading map](https://forums.solar2d.com/t/image-objects-in-isometric-map-are-placed-at-the-wrong-location-when-loading-map/345826)

<div class="topic-metadata">

**Author:** [@stanga](https://forums.solar2d.com/u/stanga)\
**Replies:** 4\
**Last updated:** [November 2, 2017, 1:06am UTC](https://forums.solar2d.com/t/image-objects-in-isometric-map-are-placed-at-the-wrong-location-when-loading-map/345826 "2017-11-02T01:06:47Z")

</div>

We’re trying to use MTE to display an isometric tile map in our game and noticed that objects are drawn in the wrong location when loading the map. The drawObject function is using the following level positions when add…

---

## [Hosting the source](https://forums.solar2d.com/t/hosting-the-source/342730)

<div class="topic-metadata">

**Author:** [@johnfl46](https://forums.solar2d.com/u/johnfl46)\
**Replies:** 32\
**Last updated:** [February 25, 2017, 3:24am UTC](https://forums.solar2d.com/t/hosting-the-source/342730 "2017-02-25T03:24:10Z")

</div>

Hello, I’d like to see about getting the uncompiled version of this library? Id like to setup a source project on github for community driven development and maintenance. Is there another version of this engine that is n…

---

## [properties bug on line 9941, when loading json](https://forums.solar2d.com/t/properties-bug-on-line-9941-when-loading-json/341096)

<div class="topic-metadata">

**Author:** [@Dimahh90](https://forums.solar2d.com/u/Dimahh90)\
**Replies:** 2\
**Last updated:** [September 13, 2016, 10:00pm UTC](https://forums.solar2d.com/t/properties-bug-on-line-9941-when-loading-json/341096 "2016-09-13T22:00:51Z")

</div>

Hey guys, I really hope I’ll get an answer on this one here. I created a map with tiled and saved it as a “tmx”. Now I do mte.loadMap( “myMap.tmx” ) and the mte loads the map. 2 WARNINGS appear like this: WARNING…

---

## [Best way to shift table (array) items to the left or to the right continuously?](https://forums.solar2d.com/t/best-way-to-shift-table-array-items-to-the-left-or-to-the-right-continuously/340923)

<div class="topic-metadata">

**Author:** [@cshaopin](https://forums.solar2d.com/u/cshaopin)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 6:29am UTC](https://forums.solar2d.com/t/best-way-to-shift-table-array-items-to-the-left-or-to-the-right-continuously/340923 "2016-09-01T06:29:24Z")

</div>

Hello, I have 4 display object called t1, t2, t3, t4. They are actually 4 squares which will be displayed on the screen. Each square has different colors. For example, T1 (red), T2 (green), T3 (blue), T4 (yellow). W…

---

## [get clicked tile position](https://forums.solar2d.com/t/get-clicked-tile-position/340228)

<div class="topic-metadata">

**Author:** [@przelewelo](https://forums.solar2d.com/u/przelewelo)\
**Replies:** 0\
**Last updated:** [July 12, 2016, 10:11am UTC](https://forums.solar2d.com/t/get-clicked-tile-position/340228 "2016-07-12T10:11:09Z")

</div>

Hello everybody I would like to create windows build that can use MTE for tile engine. Im currently at the begining of work :) and discovering MTE. Problem is that on windows I would like to have “click and go” mec…

---

## [Low fps on Android](https://forums.solar2d.com/t/low-fps-on-android/337494)

<div class="topic-metadata">

**Author:** [@thefest29](https://forums.solar2d.com/u/thefest29)\
**Replies:** 6\
**Last updated:** [May 14, 2016, 1:45pm UTC](https://forums.solar2d.com/t/low-fps-on-android/337494 "2016-05-14T13:45:45Z")

</div>

Hello. I using MTE engine, its very nice, but i discouraged about optimisation in this engine. I’ve created a map via Tiled map editor, its 160\*100 tiles, each tile is 96x48 px, isometric type. Then i added some tilese…

---

## [use standart physics](https://forums.solar2d.com/t/use-standart-physics/338231)

<div class="topic-metadata">

**Author:** [@wwwref](https://forums.solar2d.com/u/wwwref)\
**Replies:** 2\
**Last updated:** [May 14, 2016, 1:44pm UTC](https://forums.solar2d.com/t/use-standart-physics/338231 "2016-05-14T13:44:23Z")

</div>

Hi everyone. I just started to learn corona. How i can use standard physics? i try \[lua\]local physics = require( “physics” ) physics.start() mte.toggleWorldWrapX(true) mte.toggleWorldWrapY(true) local map = mte.l…

---

## [Million Tile Engine vs Dusk](https://forums.solar2d.com/t/million-tile-engine-vs-dusk/333778)

<div class="topic-metadata">

**Author:** [@michael714](https://forums.solar2d.com/u/michael714)\
**Replies:** 4\
**Last updated:** [October 27, 2015, 11:07am UTC](https://forums.solar2d.com/t/million-tile-engine-vs-dusk/333778 "2015-10-27T11:07:59Z")

</div>

Which do you recommend, Million Tile Engine or Dusk? Thanks!

---

## [Many vertical or horizontal 1-pixel gaps in Sonic Demo.](https://forums.solar2d.com/t/many-vertical-or-horizontal-1-pixel-gaps-in-sonic-demo/335774)

<div class="topic-metadata">

**Author:** [@ouguolin2013](https://forums.solar2d.com/u/ouguolin2013)\
**Replies:** 12\
**Last updated:** [September 14, 2015, 9:18am UTC](https://forums.solar2d.com/t/many-vertical-or-horizontal-1-pixel-gaps-in-sonic-demo/335774 "2015-09-14T09:18:42Z")

</div>

I found many gaps in Sonic Demo in MTE v0.99, How to get ride of this? See attachment.

---

## [MTE parallax layers offset](https://forums.solar2d.com/t/mte-parallax-layers-offset/313536)

<div class="topic-metadata">

**Author:** [@FatPixel](https://forums.solar2d.com/u/FatPixel)\
**Replies:** 18\
**Last updated:** [July 27, 2015, 12:22pm UTC](https://forums.solar2d.com/t/mte-parallax-layers-offset/313536 "2015-07-27T12:22:19Z")

</div>

Hi All Let me start saying that MTE is grat. Thanks for creating it. It is exactly what I need for my scroll shooter. I have few questions though, and the first one I have to ask today as I cant figure out how to setup…

---

## [looking for best tile engine](https://forums.solar2d.com/t/looking-for-best-tile-engine/334945)

<div class="topic-metadata">

**Author:** [@eng.tareqali](https://forums.solar2d.com/u/eng.tareqali)\
**Replies:** 0\
**Last updated:** [July 25, 2015, 3:35am UTC](https://forums.solar2d.com/t/looking-for-best-tile-engine/334945 "2015-07-25T03:35:45Z")

</div>

i am looking for best tile engine , what is the best recommended one . regards,

---

## [\[Resoved\] Problem about sprite groups on map](https://forums.solar2d.com/t/resoved-problem-about-sprite-groups-on-map/333474)

<div class="topic-metadata">

**Author:** [@jospic](https://forums.solar2d.com/u/jospic)\
**Replies:** 2\
**Last updated:** [May 5, 2015, 2:44pm UTC](https://forums.solar2d.com/t/resoved-problem-about-sprite-groups-on-map/333474 "2015-05-05T14:44:45Z")

</div>

Hi, I have an issue with displaying a group of sprites. I need to put a group of objects on the map and, after create them, I need move each one independently from others. It seems that the setting kind = “group” consi…

---

## [Why an invisible tile turns visible when move the camera?](https://forums.solar2d.com/t/why-an-invisible-tile-turns-visible-when-move-the-camera/332903)

<div class="topic-metadata">

**Author:** [@suprasumomario](https://forums.solar2d.com/u/suprasumomario)\
**Replies:** 0\
**Last updated:** [April 2, 2015, 8:07pm UTC](https://forums.solar2d.com/t/why-an-invisible-tile-turns-visible-when-move-the-camera/332903 "2015-04-02T20:07:00Z")

</div>

My map consists of 4 parts (quadrants) so I put some tiles on invisible (i would like to delete, but mte can’t do it) and when I move camera for another area and run camera back again the invisible tile just shows up aga…

---

## [Million Tile Engine Beta Release](https://forums.solar2d.com/t/million-tile-engine-beta-release/311849)

<div class="topic-metadata">

**Author:** [@dyson122](https://forums.solar2d.com/u/dyson122)\
**Replies:** 1136\
**Last updated:** [March 28, 2015, 3:21pm UTC](https://forums.solar2d.com/t/million-tile-engine-beta-release/311849 "2015-03-28T15:21:28Z")

</div>

Million Tile Engine Beta v0.990 https://drive.google.com/file/d/0B8zoywKO40aiMjZHaXh2NElPZFU/view?usp=sharing - FREE Design Program Build The Million Tile Engine is a Lua library which w…

---

## [How to remove a black stripe on my map?](https://forums.solar2d.com/t/how-to-remove-a-black-stripe-on-my-map/332519)

<div class="topic-metadata">

**Author:** [@suprasumomario](https://forums.solar2d.com/u/suprasumomario)\
**Replies:** 2\
**Last updated:** [March 16, 2015, 5:06pm UTC](https://forums.solar2d.com/t/how-to-remove-a-black-stripe-on-my-map/332519 "2015-03-16T17:06:00Z")

</div>

I’m getting a weird issue: My map consist to show 15x10 blocks on the screen at time (each block has 32x32 pixels, then the resolution needed is 480x320). When I try to render the map, something happens, a black stripe …

---

## [is MTE no more available?](https://forums.solar2d.com/t/is-mte-no-more-available/332467)

<div class="topic-metadata">

**Author:** [@suprasumomario](https://forums.solar2d.com/u/suprasumomario)\
**Replies:** 4\
**Last updated:** [March 14, 2015, 5:58pm UTC](https://forums.solar2d.com/t/is-mte-no-more-available/332467 "2015-03-14T17:58:22Z")

</div>

Hi folks, I tried to access the page who maintainer had published and it is no longer available, even the page. So… no way to get it up? Supposed MTE page: https://gumroad.com/l/staO Thanks!

---

## [MTE not being destroyed with composer.removeScene()?](https://forums.solar2d.com/t/mte-not-being-destroyed-with-composer-removescene/332327)

<div class="topic-metadata">

**Author:** [@chris.kocuba](https://forums.solar2d.com/u/chris.kocuba)\
**Replies:** 0\
**Last updated:** [March 7, 2015, 10:41pm UTC](https://forums.solar2d.com/t/mte-not-being-destroyed-with-composer-removescene/332327 "2015-03-07T22:41:43Z")

</div>

Hello- The situation I am encountering is when using MTE in a scene where the scene is meant to be repeated with the press of a Try Again button. Upon pressing the Try Again button, the composer is directed to a tryagain…

---

## [how to determine if sprite is on screen?](https://forums.solar2d.com/t/how-to-determine-if-sprite-is-on-screen/332221)

<div class="topic-metadata">

**Author:** [@jmansfield](https://forums.solar2d.com/u/jmansfield)\
**Replies:** 4\
**Last updated:** [March 4, 2015, 7:05pm UTC](https://forums.solar2d.com/t/how-to-determine-if-sprite-is-on-screen/332221 "2015-03-04T19:05:17Z")

</div>

how would you determine if a given sprite is on screen or not?

---

## [Our App game - Azmara](https://forums.solar2d.com/t/our-app-game-azmara/331785)

<div class="topic-metadata">

**Author:** [@Azmar](https://forums.solar2d.com/u/Azmar)\
**Replies:** 0\
**Last updated:** [February 14, 2015, 4:06pm UTC](https://forums.solar2d.com/t/our-app-game-azmara/331785 "2015-02-14T16:06:36Z")

</div>

Hello, we made a game using MTE. Besides Dyson showing demo’s on what the engine can do, I don’t believe there is any real video’s of MTE in action, so I decided to post our app! MTE is lacking some exposure and maybe th…

---

## [Full 360 Rotation Character Movement](https://forums.solar2d.com/t/full-360-rotation-character-movement/331568)

<div class="topic-metadata">

**Author:** [@hiphopsded](https://forums.solar2d.com/u/hiphopsded)\
**Replies:** 0\
**Last updated:** [February 4, 2015, 5:25am UTC](https://forums.solar2d.com/t/full-360-rotation-character-movement/331568 "2015-02-04T05:25:16Z")

</div>

Hello, I’m currently using the default player movement that is included with MTE. However, the default movement is only a tile by tile movement, and I would like full 360 movement, not grid locked. If anyone has any sam…

---

## [how do I enter dataSource in loadTileSet(name, source, dataSource)](https://forums.solar2d.com/t/how-do-i-enter-datasource-in-loadtileset-name-source-datasource/329820)

<div class="topic-metadata">

**Author:** [@cjc83486](https://forums.solar2d.com/u/cjc83486)\
**Replies:** 2\
**Last updated:** [January 5, 2015, 3:26pm UTC](https://forums.solar2d.com/t/how-do-i-enter-datasource-in-loadtileset-name-source-datasource/329820 "2015-01-05T15:26:43Z")

</div>

Hopefully someone who still uses this engine can tell me what format I put dataSource in. I currently load my tile sets like this: mte.loadTileSet(“build”, “images/build.png”) I thought that you could then use a .tsx …

---

## [Removing Scene effecting the number of MTE levels?](https://forums.solar2d.com/t/removing-scene-effecting-the-number-of-mte-levels/330916)

<div class="topic-metadata">

**Author:** [@chris.kocuba](https://forums.solar2d.com/u/chris.kocuba)\
**Replies:** 4\
**Last updated:** [January 3, 2015, 5:18pm UTC](https://forums.solar2d.com/t/removing-scene-effecting-the-number-of-mte-levels/330916 "2015-01-03T17:18:36Z")

</div>

Hello- I’m making a game in which one basic tiled map is re-used for the entire game but the scene has to reset to a default state before each turn. I am using the suggested Composer layout to transition between game st…

---

## [Getting stuck on nothin on the Platformer - Basic PHYSICS](https://forums.solar2d.com/t/getting-stuck-on-nothin-on-the-platformer-basic-physics/330819)

<div class="topic-metadata">

**Author:** [@mylegguy721](https://forums.solar2d.com/u/mylegguy721)\
**Replies:** 4\
**Last updated:** [December 25, 2014, 1:09am UTC](https://forums.solar2d.com/t/getting-stuck-on-nothin-on-the-platformer-basic-physics/330819 "2014-12-25T01:09:44Z")

</div>

I was testing out Platformer - Basic PHYSICS, and when I was moving around the character would occasionally get stuck as if they hit a wall, but nothings there. I just started to work on my own game and hoped it would fi…

---

## [how do I use surfaceData and surfaces?](https://forums.solar2d.com/t/how-do-i-use-surfacedata-and-surfaces/330773)

<div class="topic-metadata">

**Author:** [@mylegguy721](https://forums.solar2d.com/u/mylegguy721)\
**Replies:** 8\
**Last updated:** [December 22, 2014, 7:49pm UTC](https://forums.solar2d.com/t/how-do-i-use-surfacedata-and-surfaces/330773 "2014-12-22T19:49:33Z")

</div>

I think those properties in tiled are used if you have a tile that’s not a solid square. I have no idea how to use them. Here’s a picture of the ramp I’m trying to make work: https://www.dropbox.com/s/rs7q0bs1knj30js/ti…

---

## [Single tile Physics - Collision](https://forums.solar2d.com/t/single-tile-physics-collision/330284)

<div class="topic-metadata">

**Author:** [@Ziad.Ali](https://forums.solar2d.com/u/Ziad.Ali)\
**Replies:** 8\
**Last updated:** [November 28, 2014, 12:19am UTC](https://forums.solar2d.com/t/single-tile-physics-collision/330284 "2014-11-28T00:19:34Z")

</div>

Is it possible to make one single tile a physics object and detect collision with it? In corona examples, we have something like this: local function collisionDetect( self, event ) if ( event.phase == "began" ) then pr…

---

## [mte.getTilesWithProperty(\<anything\>) always nil - what am i missing here?](https://forums.solar2d.com/t/mte-gettileswithproperty-anything-always-nil-what-am-i-missing-here/329352)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 6\
**Last updated:** [November 5, 2014, 5:54am UTC](https://forums.solar2d.com/t/mte-gettileswithproperty-anything-always-nil-what-am-i-missing-here/329352 "2014-11-05T05:54:18Z")

</div>

Hi I’m using the function mte.getTilesWithProperty with just one variable (the name of the property) and no matter what property name i put it, it is always nil. My mini map has tiles with a property “physics” at least …

---

## [Where can I get the last update of the MTE?](https://forums.solar2d.com/t/where-can-i-get-the-last-update-of-the-mte/329635)

<div class="topic-metadata">

**Author:** [@d.mach](https://forums.solar2d.com/u/d.mach)\
**Replies:** 10\
**Last updated:** [October 28, 2014, 7:40pm UTC](https://forums.solar2d.com/t/where-can-i-get-the-last-update-of-the-mte/329635 "2014-10-28T19:40:13Z")

</div>

I have version 0.980 and it’s not running with the latest Corona builds. Where can I get the latest MTE version update? Is it working with current Corona builds? Thx for your help! Daniela

---

## [Anyway to toggle a tile's light?](https://forums.solar2d.com/t/anyway-to-toggle-a-tiles-light/329518)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 0\
**Last updated:** [October 24, 2014, 2:50am UTC](https://forums.solar2d.com/t/anyway-to-toggle-a-tiles-light/329518 "2014-10-24T02:50:13Z")

</div>

It appears that once a tile (with light properties) is loaded with the map , theres no way to remove the light when you “update” the tile to a different tile. the light remains. Also, is you upload a non-lit tile to a ti…

---

## [Problem loading maps from Latest Tiled version - Solution found](https://forums.solar2d.com/t/problem-loading-maps-from-latest-tiled-version-solution-found/329130)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 4\
**Last updated:** [October 15, 2014, 3:26pm UTC](https://forums.solar2d.com/t/problem-loading-maps-from-latest-tiled-version-solution-found/329130 "2014-10-15T15:26:59Z")

</div>

Dyson and others, If you are getting the following error when you try to load a new map: runtime error: File: mte.lua Line: 8099 ‘for’ limit must be a number stack traceback: mte.lua:8099: in function ‘loadMap’ m…

[Next page](https://forums.solar2d.com/c/million-tile-engine/70.md?page=1)
