# Million Tile Engine

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

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

**Page:** 4

---

## [A long shot but I thought I'd ask](https://forums.solar2d.com/t/a-long-shot-but-i-thought-id-ask/324209)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 20\
**Last updated:** [April 4, 2014, 11:40am UTC](https://forums.solar2d.com/t/a-long-shot-but-i-thought-id-ask/324209 "2014-04-04T11:40:27Z")

</div>

Hi dyson, i’m trying to use particle candy with mte for firing at sprites. I can get my player shooting properly, but I can’t seem to get any collision detection working. No code errors – I just dont get any collision…

---

## [player movement gets stuck on platforms made of tiles](https://forums.solar2d.com/t/player-movement-gets-stuck-on-platforms-made-of-tiles/322893)

<div class="topic-metadata">

**Author:** [@adam.qwan](https://forums.solar2d.com/u/adam.qwan)\
**Replies:** 12\
**Last updated:** [April 3, 2014, 9:59pm UTC](https://forums.solar2d.com/t/player-movement-gets-stuck-on-platforms-made-of-tiles/322893 "2014-04-03T21:59:17Z")

</div>

I have platforms made of tiles in a single row and often the player will get stuck and is only able to move beyond some point without a running start. The player seems to get stuck at the location where two tiles meet. …

---

## [Reset Tint Tile?](https://forums.solar2d.com/t/reset-tint-tile/324193)

<div class="topic-metadata">

**Author:** [@SegaBoy](https://forums.solar2d.com/u/SegaBoy)\
**Replies:** 12\
**Last updated:** [April 3, 2014, 3:20pm UTC](https://forums.solar2d.com/t/reset-tint-tile/324193 "2014-04-03T15:20:15Z")

</div>

Very quick question… is it possible to reset a tile back to its original colour after using tintTile()? I noticed that setting the fill colour back to “white” should restore the image: http://forums.coronalabs.com/topic…

---

## [Multiple physics objects on wrapping map](https://forums.solar2d.com/t/multiple-physics-objects-on-wrapping-map/324132)

<div class="topic-metadata">

**Author:** [@Yokel\_Games](https://forums.solar2d.com/u/Yokel_Games)\
**Replies:** 4\
**Last updated:** [April 1, 2014, 8:12pm UTC](https://forums.solar2d.com/t/multiple-physics-objects-on-wrapping-map/324132 "2014-04-01T20:12:32Z")

</div>

Hi There, I have just been looking at the basic physics example and was wondering if there is anyway of using a backdrop sprite for the main sprite to bounce off, but to also have this layer wrap around (just on the Y a…

---

## [Building a Map](https://forums.solar2d.com/t/building-a-map/324140)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 4\
**Last updated:** [April 1, 2014, 5:24pm UTC](https://forums.solar2d.com/t/building-a-map/324140 "2014-04-01T17:24:56Z")

</div>

Hi dyson, After position lots of different obects on a map as sprites, I want to build a map that shows the positions of all these objects. Is it possible to loop through a map by tile and return whether or not a sprit…

---

## [Physical object in Tiled](https://forums.solar2d.com/t/physical-object-in-tiled/324129)

<div class="topic-metadata">

**Author:** [@ulydev5](https://forums.solar2d.com/u/ulydev5)\
**Replies:** 2\
**Last updated:** [April 1, 2014, 5:02pm UTC](https://forums.solar2d.com/t/physical-object-in-tiled/324129 "2014-04-01T17:02:57Z")

</div>

Hello, I’m trying to manually put physical objects in Tiled, instead of tiles (because of the stuck sprite problem + collision event repeated each tile). Here’s a screenshot of what I’m trying to do, I thought it would …

---

## [Setting up Enemy Radar](https://forums.solar2d.com/t/setting-up-enemy-radar/324075)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 8\
**Last updated:** [March 31, 2014, 6:25pm UTC](https://forums.solar2d.com/t/setting-up-enemy-radar/324075 "2014-03-31T18:25:06Z")

</div>

HI dyson, I am trying to setup an enemy with a ‘radar’ which is a circle to detect when my player comes into range so that the enemy will start firing. I create my sprite for my player, and then I make a circle. I us…

---

## [making a sprite invisible](https://forums.solar2d.com/t/making-a-sprite-invisible/324124)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 6\
**Last updated:** [March 31, 2014, 5:08pm UTC](https://forums.solar2d.com/t/making-a-sprite-invisible/324124 "2014-03-31T17:08:37Z")

</div>

Hi, I’m just trying to make a sprite re-appear on a random tile after collision with another sprite. I can’t seem to get this working! It seems simple enough but I’m not able to make this happen… is it possible that b…

---

## [Determine tiles selected under rectangular marquee](https://forums.solar2d.com/t/determine-tiles-selected-under-rectangular-marquee/323938)

<div class="topic-metadata">

**Author:** [@SegaBoy](https://forums.solar2d.com/u/SegaBoy)\
**Replies:** 10\
**Last updated:** [March 26, 2014, 7:26pm UTC](https://forums.solar2d.com/t/determine-tiles-selected-under-rectangular-marquee/323938 "2014-03-26T19:26:31Z")

</div>

Very quick question… presumably for Dyson, but if anybody else knows that would be swell. I have a rectangular marquee for spawning units. Given that I know the points of the rectangle with contentBounds(xMin,xMax,yMin,…

---

## [Explorable Map](https://forums.solar2d.com/t/explorable-map/323897)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 10\
**Last updated:** [March 26, 2014, 1:40am UTC](https://forums.solar2d.com/t/explorable-map/323897 "2014-03-26T01:40:29Z")

</div>

Hi, Is there any way to have a map blacked out until you explore an area like starcraft does? Thanks, Greg

---

## [Black tails](https://forums.solar2d.com/t/black-tails/323896)

<div class="topic-metadata">

**Author:** [@s0527705277](https://forums.solar2d.com/u/s0527705277)\
**Replies:** 2\
**Last updated:** [March 25, 2014, 3:54pm UTC](https://forums.solar2d.com/t/black-tails/323896 "2014-03-25T15:54:16Z")

</div>

Not sure why but instead of actual tails I have “black tails” http://postimg.org/image/h26un5189/ I’m rewriting my game from using Lime to MTE, could be I’m missing something the map: \\\<?xml version="1.0" encoding="U…

---

## [AddObject and GetObject using locX and locY Problem](https://forums.solar2d.com/t/addobject-and-getobject-using-locx-and-locy-problem/323855)

<div class="topic-metadata">

**Author:** [@icodemarine](https://forums.solar2d.com/u/icodemarine)\
**Replies:** 4\
**Last updated:** [March 24, 2014, 4:20pm UTC](https://forums.solar2d.com/t/addobject-and-getobject-using-locx-and-locy-problem/323855 "2014-03-24T16:20:08Z")

</div>

I have a set of actions that trigger a call to addObject where I pass in a table structure that has x, y, name and a couple of other values Later I call getObject to be able to determine the type of object previously p…

---

## [Setting Limits on Pinch Zoom](https://forums.solar2d.com/t/setting-limits-on-pinch-zoom/323894)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 4\
**Last updated:** [March 24, 2014, 4:06pm UTC](https://forums.solar2d.com/t/setting-limits-on-pinch-zoom/323894 "2014-03-24T16:06:43Z")

</div>

I would like to not be able to zoom in past the extents of the current display window, is there a way to control this? Also, I only want to be able to zoom out a certain amount, is there a way to control this? Thanks, …

---

## [Dealing with offscreen sprites](https://forums.solar2d.com/t/dealing-with-offscreen-sprites/322667)

<div class="topic-metadata">

**Author:** [@william3252](https://forums.solar2d.com/u/william3252)\
**Replies:** 12\
**Last updated:** [March 24, 2014, 3:08pm UTC](https://forums.solar2d.com/t/dealing-with-offscreen-sprites/322667 "2014-03-24T15:08:25Z")

</div>

Hey, I’m wondering if it’s possible to use mte to move/apply physics to sprites that are currently off the screen? I have a beat’em up style game where a bunch of enemies are following the player, using physics-based …

---

## [Is it possible to include a properties subtable when using addSprite?](https://forums.solar2d.com/t/is-it-possible-to-include-a-properties-subtable-when-using-addsprite/323819)

<div class="topic-metadata">

**Author:** [@adam.qwan](https://forums.solar2d.com/u/adam.qwan)\
**Replies:** 4\
**Last updated:** [March 21, 2014, 11:46pm UTC](https://forums.solar2d.com/t/is-it-possible-to-include-a-properties-subtable-when-using-addsprite/323819 "2014-03-21T23:46:49Z")

</div>

I guess my current task is to create a new sprite that has properties values so that when i collide with it, i can read/take the “egg.properties.health”. right now, if i collide with an object that does not have egg.pro…

---

## [Moving Sprites between Maps](https://forums.solar2d.com/t/moving-sprites-between-maps/323735)

<div class="topic-metadata">

**Author:** [@johnlangone](https://forums.solar2d.com/u/johnlangone)\
**Replies:** 8\
**Last updated:** [March 21, 2014, 8:40pm UTC](https://forums.solar2d.com/t/moving-sprites-between-maps/323735 "2014-03-21T20:40:19Z")

</div>

Hey Dyson, Is it possible to move sprites over between maps? For instance, I have a map used as a staging area as players join the game. Their sprites are loaded, configured etc. When the game starts, I load a new map i…

---

## [getMap() changed?](https://forums.solar2d.com/t/getmap-changed/323770)

<div class="topic-metadata">

**Author:** [@SegaBoy](https://forums.solar2d.com/u/SegaBoy)\
**Replies:** 10\
**Last updated:** [March 21, 2014, 7:10pm UTC](https://forums.solar2d.com/t/getmap-changed/323770 "2014-03-21T19:10:14Z")

</div>

Hey Dyson - quick question. It’s my own fault for not sticking up to date with the latest updates, and then struggling when I decided to update (damn those sexy new features :0) ) You may or may not remember that I was…

---

## [setScreenBounds..](https://forums.solar2d.com/t/setscreenbounds/323727)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 10\
**Last updated:** [March 20, 2014, 6:29pm UTC](https://forums.solar2d.com/t/setscreenbounds/323727 "2014-03-20T18:29:25Z")

</div>

Hi dyson, My display window is the left half of the screen. The right half is for game info. I’m using: mte.setScreenBounds(0,0,display.contentWidth / 2,display.contentHeight) What I am seeing is that when I scroll …

---

## [Fire on the Move](https://forums.solar2d.com/t/fire-on-the-move/323732)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 2\
**Last updated:** [March 19, 2014, 9:29pm UTC](https://forums.solar2d.com/t/fire-on-the-move/323732 "2014-03-19T21:29:01Z")

</div>

This is probably out of scope but I am going to ask… I am firing my phaser on the move, (mte.moveSpriteTo) I need to reposition the anchor of the beam to stay in position while my ship moves… I’m guessing I’d need to m…

---

## [Center of Sprite](https://forums.solar2d.com/t/center-of-sprite/323706)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 12\
**Last updated:** [March 19, 2014, 7:01pm UTC](https://forums.solar2d.com/t/center-of-sprite/323706 "2014-03-19T19:01:57Z")

</div>

Hi dyson, I am trying to shoot a laser beam between two sprites on a map. I can’t seem to get to the center of the sprites, the beam is quite unpredictable. Using sprite .x and .y doesn’t find the center of the sp…

---

## [Move to Touch](https://forums.solar2d.com/t/move-to-touch/323657)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 10\
**Last updated:** [March 17, 2014, 7:21pm UTC](https://forums.solar2d.com/t/move-to-touch/323657 "2014-03-17T19:21:37Z")

</div>

Ok, I am moving a sprite to a touch location, but I want to rotate the sprite so that it is pointing at the location to move to, does mte have a way of doing this or can I just rotate the sprite myself? I added my own t…

---

## [Is MTE compatible with using .setFillColor in this way?](https://forums.solar2d.com/t/is-mte-compatible-with-using-setfillcolor-in-this-way/323584)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 8\
**Last updated:** [March 17, 2014, 5:04pm UTC](https://forums.solar2d.com/t/is-mte-compatible-with-using-setfillcolor-in-this-way/323584 "2014-03-17T17:04:30Z")

</div>

Hey Dyson, It’d be awesome to let players customize their player’s colors like in this tutorial… but before .setfillcolor actually can work, we must use: player.sprite.lighting = false which won’t really be effective,…

---

## [Boolean properties in Tiled](https://forums.solar2d.com/t/boolean-properties-in-tiled/323650)

<div class="topic-metadata">

**Author:** [@thassman](https://forums.solar2d.com/u/thassman)\
**Replies:** 2\
**Last updated:** [March 17, 2014, 1:33pm UTC](https://forums.solar2d.com/t/boolean-properties-in-tiled/323650 "2014-03-17T13:33:27Z")

</div>

Hi, When i assign a property in Tiled, as a boolean it is recognised in MTE as a string. Ex: in Tiled i set a property isEnemy = true when i check that property in tiled it is object.properties.isEnemy == “true” ins…

---

## [How to make lighting affect other sprites?](https://forums.solar2d.com/t/how-to-make-lighting-affect-other-sprites/323627)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 2\
**Last updated:** [March 17, 2014, 1:25pm UTC](https://forums.solar2d.com/t/how-to-make-lighting-affect-other-sprites/323627 "2014-03-17T13:25:42Z")

</div>

Hi Right now lighting works great on the ground of the level, but badguy sprites are full-bright. How does one make other moving sprites obey the lighting? Thanks Sir

---

## [Million Tile Engine price survey](https://forums.solar2d.com/t/million-tile-engine-price-survey/322979)

<div class="topic-metadata">

**Author:** [@dyson122](https://forums.solar2d.com/u/dyson122)\
**Replies:** 6\
**Last updated:** [March 15, 2014, 1:09pm UTC](https://forums.solar2d.com/t/million-tile-engine-price-survey/322979 "2014-03-15T13:09:11Z")

</div>

If you guys could go to my survey and cast a vote on what you think MTE should cost, that would help me out! http://forums.coronalabs.com/topic/44769-million-tile-engine-price-survey/ -or http://forums.coronalab…

---

## [Releasing a camera that's focused on a sprite](https://forums.solar2d.com/t/releasing-a-camera-thats-focused-on-a-sprite/323566)

<div class="topic-metadata">

**Author:** [@tablecloth](https://forums.solar2d.com/u/tablecloth)\
**Replies:** 4\
**Last updated:** [March 14, 2014, 4:00pm UTC](https://forums.solar2d.com/t/releasing-a-camera-thats-focused-on-a-sprite/323566 "2014-03-14T16:00:20Z")

</div>

Is there any way to release the camera after setCameraFocus(sprite) has been called? I’d like to start with the camera following the player, but if the touch camera scroll is activated (user drags the screen around, movi…

---

## [Stitching TMX files together?](https://forums.solar2d.com/t/stitching-tmx-files-together/319168)

<div class="topic-metadata">

**Author:** [@nate06](https://forums.solar2d.com/u/nate06)\
**Replies:** 14\
**Last updated:** [March 12, 2014, 9:29pm UTC](https://forums.solar2d.com/t/stitching-tmx-files-together/319168 "2014-03-12T21:29:16Z")

</div>

Real quick question that I could not find answered on the forums (apologize if it has already been covered)- how does MTE handle enormous worlds? EG: Tiled seems to have a max map size of 9999x9999 - what if I wanted a w…

---

## [Freeform Movement - Possible?](https://forums.solar2d.com/t/freeform-movement-possible/323383)

<div class="topic-metadata">

**Author:** [@tablecloth](https://forums.solar2d.com/u/tablecloth)\
**Replies:** 4\
**Last updated:** [March 8, 2014, 6:35pm UTC](https://forums.solar2d.com/t/freeform-movement-possible/323383 "2014-03-08T18:35:14Z")

</div>

Hey there, Is it possible to do freeform movement with the latest version of MTE? I’ve been testing out touch movement, and while it works with sprites going from tile to tile, it feels rather…sloppy. Ideally I’d like t…

---

## [Dealing with different size maps](https://forums.solar2d.com/t/dealing-with-different-size-maps/323352)

<div class="topic-metadata">

**Author:** [@lukestirk](https://forums.solar2d.com/u/lukestirk)\
**Replies:** 4\
**Last updated:** [March 7, 2014, 7:07pm UTC](https://forums.solar2d.com/t/dealing-with-different-size-maps/323352 "2014-03-07T19:07:06Z")

</div>

Hi, My game has different levels and all of the maps will be different sizes. This is an example, level one is 570 x 750 and level 2 is 811 x 512. I got the first level all set up in game looking good (2nd screenshot) …

---

## [toggleWorldWrap hangs Corona with Tiled latest build (9Feb2014)](https://forums.solar2d.com/t/toggleworldwrap-hangs-corona-with-tiled-latest-build-9feb2014/323149)

<div class="topic-metadata">

**Author:** [@St3v3](https://forums.solar2d.com/u/St3v3)\
**Replies:** 10\
**Last updated:** [March 7, 2014, 9:33am UTC](https://forums.solar2d.com/t/toggleworldwrap-hangs-corona-with-tiled-latest-build-9feb2014/323149 "2014-03-07T09:33:43Z")

</div>

Hello There seems to be an issue with Tiled Daily Builds .tmx output and mte.toggleWorldWrapX( ), mte.toggleWorldWrapY( ). If both are true Corona will hang. If one or none are true it all seems to work. I’ve attach…

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

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