# Million Tile Engine

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

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

**Page:** 2

---

## [Overlay is not working in CastleDemo](https://forums.solar2d.com/t/overlay-is-not-working-in-castledemo/329026)

<div class="topic-metadata">

**Author:** [@Savik](https://forums.solar2d.com/u/Savik)\
**Replies:** 2\
**Last updated:** [October 4, 2014, 4:07pm UTC](https://forums.solar2d.com/t/overlay-is-not-working-in-castledemo/329026 "2014-10-04T16:07:18Z")

</div>

So I’ve faced the problem when overlay is not shown in the project based on MTE. At first I thought that made some error, but then I’ve applied the same overlay to sample project ‘CastleDemo’ I’ve just added the compos…

---

## [Changing scenes cause 'masterGroup' to be a nil?](https://forums.solar2d.com/t/changing-scenes-cause-mastergroup-to-be-a-nil/329028)

<div class="topic-metadata">

**Author:** [@Savik](https://forums.solar2d.com/u/Savik)\
**Replies:** 2\
**Last updated:** [October 4, 2014, 3:23pm UTC](https://forums.solar2d.com/t/changing-scenes-cause-mastergroup-to-be-a-nil/329028 "2014-10-04T15:23:59Z")

</div>

Hello! So I have the project based on ‘CastleDemo’ sample. The scene rotation is menu-\> game -\> menu -\> game Once the game loaded first time everything is perfect. Ater game ends I use cleanup and composer.goToScene(…

---

## [Select and drag an object](https://forums.solar2d.com/t/select-and-drag-an-object/328593)

<div class="topic-metadata">

**Author:** [@drewbennett](https://forums.solar2d.com/u/drewbennett)\
**Replies:** 8\
**Last updated:** [September 17, 2014, 2:50pm UTC](https://forums.solar2d.com/t/select-and-drag-an-object/328593 "2014-09-17T14:50:09Z")

</div>

Hi Corona Forums! I’m stuck adding some functionality using MTE/Corona. I’m trying to select an object on the map and then drag that object to another location (a tree, or rock, or special object) I want to: Sel…

---

## [mte.redrawObject() is giveng error](https://forums.solar2d.com/t/mte-redrawobject-is-giveng-error/328335)

<div class="topic-metadata">

**Author:** [@udaynayak88](https://forums.solar2d.com/u/udaynayak88)\
**Replies:** 0\
**Last updated:** [September 6, 2014, 1:06pm UTC](https://forums.solar2d.com/t/mte-redrawobject-is-giveng-error/328335 "2014-09-06T13:06:26Z")

</div>

i set a tree on object layer with names tree1 and tree2. When i click on tree1 , i set a code to reDrawObject(“tree1”) , and it’s resize with some big scale and working perfectly. Now i click on tree2 and reDrawObject…

---

## [mte.redrawObject() is not working](https://forums.solar2d.com/t/mte-redrawobject-is-not-working/328320)

<div class="topic-metadata">

**Author:** [@udaynayak88](https://forums.solar2d.com/u/udaynayak88)\
**Replies:** 0\
**Last updated:** [September 5, 2014, 2:51pm UTC](https://forums.solar2d.com/t/mte-redrawobject-is-not-working/328320 "2014-09-05T14:51:06Z")

</div>

Hello All, i am trying to mte.redrawObject(objects\[1\].name) use seconde time on same object it will give error.

---

## [move multiple object on isometric map](https://forums.solar2d.com/t/move-multiple-object-on-isometric-map/325685)

<div class="topic-metadata">

**Author:** [@RJ5](https://forums.solar2d.com/u/RJ5)\
**Replies:** 4\
**Last updated:** [September 5, 2014, 7:08am UTC](https://forums.solar2d.com/t/move-multiple-object-on-isometric-map/325685 "2014-09-05T07:08:51Z")

</div>

is it possible to move multiple objects within an isometric map without defining them as sprites? so for example I have a 4x4 wall (built out of 16 tiles), when a certain condition is true I want all of the tiles to mov…

---

## [Enemy AI - Following Player and attacking](https://forums.solar2d.com/t/enemy-ai-following-player-and-attacking/328108)

<div class="topic-metadata">

**Author:** [@hiphopsded](https://forums.solar2d.com/u/hiphopsded)\
**Replies:** 0\
**Last updated:** [August 27, 2014, 9:29pm UTC](https://forums.solar2d.com/t/enemy-ai-following-player-and-attacking/328108 "2014-08-27T21:29:44Z")

</div>

Hello, I am having difficulty coding an enemy AI, where the enemy follows the player and attacks him. I don’t have any code as of yet to provide, other than what is provided when you purchase MTE. So if anyone could pr…

---

## [Parallax Lag](https://forums.solar2d.com/t/parallax-lag/328007)

<div class="topic-metadata">

**Author:** [@ulydev5](https://forums.solar2d.com/u/ulydev5)\
**Replies:** 4\
**Last updated:** [August 25, 2014, 9:46pm UTC](https://forums.solar2d.com/t/parallax-lag/328007 "2014-08-25T21:46:48Z")

</div>

Hello everyone, I finally got my parallax layers working. Unfortunately, my game now runs really slowly on an iPhone 3GS. The MTE debug shows that ~1600-1700 tiles (average) are displayed in-game, and that it’s using ar…

---

## [Parallax Help - What layer properties do I need here?](https://forums.solar2d.com/t/parallax-help-what-layer-properties-do-i-need-here/324591)

<div class="topic-metadata">

**Author:** [@greg886](https://forums.solar2d.com/u/greg886)\
**Replies:** 10\
**Last updated:** [August 23, 2014, 11:25am UTC](https://forums.solar2d.com/t/parallax-help-what-layer-properties-do-i-need-here/324591 "2014-08-23T11:25:18Z")

</div>

Struggling trying to get parallax to work for my horizontal scroller game. Anyone able to identify what the layer properties I require are? What I’m doing wrong. So it’s basically a test simulating a horizontal scroll…

---

## [Runtime Error /mte.lua Line: 11616 when badguy is killed](https://forums.solar2d.com/t/runtime-error-mte-lua-line-11616-when-badguy-is-killed/327863)

<div class="topic-metadata">

**Author:** [@steve67](https://forums.solar2d.com/u/steve67)\
**Replies:** 0\
**Last updated:** [August 17, 2014, 9:04pm UTC](https://forums.solar2d.com/t/runtime-error-mte-lua-line-11616-when-badguy-is-killed/327863 "2014-08-17T21:04:14Z")

</div>

Hi, thank you in advance for any help you might have on this: when I kill some of my bad guys and they disappear, This air seems to randomly show for only some bad guys. I don’t have lights applied to these bad guys but …

---

## [SpriteSorting and Layer changing](https://forums.solar2d.com/t/spritesorting-and-layer-changing/327795)

<div class="topic-metadata">

**Author:** [@marcelvdmade](https://forums.solar2d.com/u/marcelvdmade)\
**Replies:** 0\
**Last updated:** [August 14, 2014, 3:27pm UTC](https://forums.solar2d.com/t/spritesorting-and-layer-changing/327795 "2014-08-14T15:27:34Z")

</div>

Hello everyone, We are working on a orthographic project which uses spriteSort to change the depth of different sprites, and we also use different levels on our map. (for example, walking over a bridge or going undernea…

---

## [Pinch zoom and pan map](https://forums.solar2d.com/t/pinch-zoom-and-pan-map/314701)

<div class="topic-metadata">

**Author:** [@lukestirk](https://forums.solar2d.com/u/lukestirk)\
**Replies:** 14\
**Last updated:** [August 11, 2014, 5:09am UTC](https://forums.solar2d.com/t/pinch-zoom-and-pan-map/314701 "2014-08-11T05:09:44Z")

</div>

Hi, I just purchased this library. Is it possible to scroll around the map on touch and to do pinch zoom? I want to zoom in slighty on my map and be able to scroll around with my finger and zoom in / out.

---

## [How to setup Parallax backgrounds](https://forums.solar2d.com/t/how-to-setup-parallax-backgrounds/326530)

<div class="topic-metadata">

**Author:** [@ulydev5](https://forums.solar2d.com/u/ulydev5)\
**Replies:** 18\
**Last updated:** [July 30, 2014, 10:25pm UTC](https://forums.solar2d.com/t/how-to-setup-parallax-backgrounds/326530 "2014-07-30T22:25:24Z")

</div>

Hello, I’ve been searching for MTE tutorials about Parallax, but I’ve not been able to find any. I also tried copying the layer properties from the Sonic sample, but I just don’t understand how it works. Any help would…

---

## [Object in front of map](https://forums.solar2d.com/t/object-in-front-of-map/327427)

<div class="topic-metadata">

**Author:** [@ulydev5](https://forums.solar2d.com/u/ulydev5)\
**Replies:** 6\
**Last updated:** [July 30, 2014, 9:53pm UTC](https://forums.solar2d.com/t/object-in-front-of-map/327427 "2014-07-30T21:53:17Z")

</div>

Hello everybody, I would like to create a short loading screen to hide the map while it’s loading. You can see the map loading on this video, just after the 1-3 screen, and it’s really ugly. https://www.youtube.com/wat…

---

## [Endless runner (Simple) from scratch](https://forums.solar2d.com/t/endless-runner-simple-from-scratch/327397)

<div class="topic-metadata">

**Author:** [@FAVIO007](https://forums.solar2d.com/u/FAVIO007)\
**Replies:** 2\
**Last updated:** [July 29, 2014, 8:17pm UTC](https://forums.solar2d.com/t/endless-runner-simple-from-scratch/327397 "2014-07-29T20:17:34Z")

</div>

Hi people. I am newbie in Corona and I’d like to start developing some arcades, games, etc. I have recently acquired my MTE license and I was wondering if some of you could help me providing me some examples (otherwise…

---

## [Offscreen Physics after removeSprite](https://forums.solar2d.com/t/offscreen-physics-after-removesprite/327214)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 6:43pm UTC](https://forums.solar2d.com/t/offscreen-physics-after-removesprite/327214 "2014-07-21T18:43:08Z")

</div>

HI, I’m still trying to track down the lag that is occuring when I do a level restart. I was wondering when you remove a sprite that has offscreenPhysics turned on, could that section of the map be staying live? Th…

---

## [Reload Game on death or anytime](https://forums.solar2d.com/t/reload-game-on-death-or-anytime/327090)

<div class="topic-metadata">

**Author:** [@Azmar](https://forums.solar2d.com/u/Azmar)\
**Replies:** 0\
**Last updated:** [July 17, 2014, 2:17am UTC](https://forums.solar2d.com/t/reload-game-on-death-or-anytime/327090 "2014-07-17T02:17:08Z")

</div>

Hello has anyone figured out how to properly reload the game (back to starting menu) on death or anytime using the composer example in the RotateConstrainComposer project? Can’t seem to figure out :frowning: any help wou…

---

## [Memory Cleanup](https://forums.solar2d.com/t/memory-cleanup/326855)

<div class="topic-metadata">

**Author:** [@greg\_brady](https://forums.solar2d.com/u/greg_brady)\
**Replies:** 10\
**Last updated:** [July 12, 2014, 11:37pm UTC](https://forums.solar2d.com/t/memory-cleanup/326855 "2014-07-12T23:37:10Z")

</div>

Hi dyson, I am having a memory cleanup issue. When a game is over, and a user wants to play again, I regenerate the scenario, first removing all sprites and then re-adding them. MTE gets laggier every time they do a P…

---

## [Space on top & bottom of map for buttons and a banner ad](https://forums.solar2d.com/t/space-on-top-bottom-of-map-for-buttons-and-a-banner-ad/326664)

<div class="topic-metadata">

**Author:** [@alexadorsey](https://forums.solar2d.com/u/alexadorsey)\
**Replies:** 8\
**Last updated:** [July 1, 2014, 12:19am UTC](https://forums.solar2d.com/t/space-on-top-bottom-of-map-for-buttons-and-a-banner-ad/326664 "2014-07-01T00:19:37Z")

</div>

Does anyone know how to load a map inside a custom-sized space instead of full screen? I would like to have space at the top and bottom of the screen to put buttons and a banner ad. Right now I am simply loading the map…

---

## [Rotate/Flip Support?](https://forums.solar2d.com/t/rotate-flip-support/326606)

<div class="topic-metadata">

**Author:** [@richard9](https://forums.solar2d.com/u/richard9)\
**Replies:** 2\
**Last updated:** [June 30, 2014, 10:51pm UTC](https://forums.solar2d.com/t/rotate-flip-support/326606 "2014-06-30T22:51:31Z")

</div>

I feel like I’ve had this conversation long ago, but I noticed that flip/rotate does not currently work in MTE. Specifically, Tiled has three “secret” actions you can perform: flip X ( press: “x” ) flip Y ( press:…

---

## [Detect Obstacle with added functionality](https://forums.solar2d.com/t/detect-obstacle-with-added-functionality/326558)

<div class="topic-metadata">

**Author:** [@Azmar](https://forums.solar2d.com/u/Azmar)\
**Replies:** 0\
**Last updated:** [June 25, 2014, 9:18pm UTC](https://forums.solar2d.com/t/detect-obstacle-with-added-functionality/326558 "2014-06-25T21:18:43Z")

</div>

EDIT: Decided to use straight physics for everything! Can ignore this post now :slight\_smile:

---

## [Huge problem ! Enemy/Tile coordination](https://forums.solar2d.com/t/huge-problem-enemy-tile-coordination/326347)

<div class="topic-metadata">

**Author:** [@ulydev5](https://forums.solar2d.com/u/ulydev5)\
**Replies:** 26\
**Last updated:** [June 21, 2014, 7:09pm UTC](https://forums.solar2d.com/t/huge-problem-enemy-tile-coordination/326347 "2014-06-21T19:09:55Z")

</div>

Hello everybody, I’m running into a huge issue, I’ve been scratching my head to find a solution but found no way to solve this problem. As shown in the video, the enemy is being affected by gravity only when it is withi…

---

## [How I've reduce the number of physics objects required for "solid" tiles in my project](https://forums.solar2d.com/t/how-ive-reduce-the-number-of-physics-objects-required-for-solid-tiles-in-my-project/325960)

<div class="topic-metadata">

**Author:** [@agor8684](https://forums.solar2d.com/u/agor8684)\
**Replies:** 6\
**Last updated:** [June 13, 2014, 10:02am UTC](https://forums.solar2d.com/t/how-ive-reduce-the-number-of-physics-objects-required-for-solid-tiles-in-my-project/325960 "2014-06-13T10:02:27Z")

</div>

Hi everyone, The map in my game is top down 2D, and I’m using the physics engine for collision detection between sprites and “solid” tiles e.g. buildings etc. Until now, I’ve been adding a physics object for every tile …

---

## [MTE + Coronastein3D + Price Increase?](https://forums.solar2d.com/t/mte-coronastein3d-price-increase/316790)

<div class="topic-metadata">

**Author:** [@dyson122](https://forums.solar2d.com/u/dyson122)\
**Replies:** 54\
**Last updated:** [June 12, 2014, 3:43pm UTC](https://forums.solar2d.com/t/mte-coronastein3d-price-increase/316790 "2014-06-12T15:43:30Z")

</div>

Developing MTE is my day job and takes up most of my coding time, but for a while now I’ve had a second engine simmering on the back burner: Coronastein3D, a high-speed 2.5D raycaster in the same vein as Wolfenstein3D. S…

---

## [Performance: Big tiles vs small tiles](https://forums.solar2d.com/t/performance-big-tiles-vs-small-tiles/325571)

<div class="topic-metadata">

**Author:** [@aejfootball](https://forums.solar2d.com/u/aejfootball)\
**Replies:** 16\
**Last updated:** [May 29, 2014, 3:37pm UTC](https://forums.solar2d.com/t/performance-big-tiles-vs-small-tiles/325571 "2014-05-29T15:37:06Z")

</div>

Hi Dyson, Our current project involves quite a large map (think Zelda). We initially started out with 64x64 tiles but in order to have smaller physics bodies on the map switched to 8x8 tiles. We want to ask which woul…

---

## [Possible bug with tintTile() and touch scrolling?](https://forums.solar2d.com/t/possible-bug-with-tinttile-and-touch-scrolling/324253)

<div class="topic-metadata">

**Author:** [@tablecloth](https://forums.solar2d.com/u/tablecloth)\
**Replies:** 8\
**Last updated:** [May 27, 2014, 11:40am UTC](https://forums.solar2d.com/t/possible-bug-with-tinttile-and-touch-scrolling/324253 "2014-05-27T11:40:48Z")

</div>

I’m using the tintTile() function along with touch scrolling (NOT the one that’s built-in to the latest ver, but the older one from the castledemo) and whenever I have a tile that’s undergoing the tinting process and mov…

---

## [make solid isometric layers](https://forums.solar2d.com/t/make-solid-isometric-layers/325491)

<div class="topic-metadata">

**Author:** [@RJ5](https://forums.solar2d.com/u/RJ5)\
**Replies:** 16\
**Last updated:** [May 20, 2014, 10:44pm UTC](https://forums.solar2d.com/t/make-solid-isometric-layers/325491 "2014-05-20T22:44:14Z")

</div>

I’m hoping this is easy/possible I need to make a layer that isnt the sprite layer solid so the player sprite cant pass through it on a isometric map I’m using the demo code from the IsometricComposer 0v984-7 and have …

---

## [Full world not loading and not panning](https://forums.solar2d.com/t/full-world-not-loading-and-not-panning/325183)

<div class="topic-metadata">

**Author:** [@tamoor666](https://forums.solar2d.com/u/tamoor666)\
**Replies:** 6\
**Last updated:** [May 8, 2014, 6:55pm UTC](https://forums.solar2d.com/t/full-world-not-loading-and-not-panning/325183 "2014-05-08T18:55:45Z")

</div>

I’m just getting started with MTE and have created a sample map in Tiled and have loaded it up like below ----------------------------------------------------------------------------------------- -- -- main.lua -- -----…

---

## [Weird bug with map loading](https://forums.solar2d.com/t/weird-bug-with-map-loading/325355)

<div class="topic-metadata">

**Author:** [@boeuf.florian](https://forums.solar2d.com/u/boeuf.florian)\
**Replies:** 0\
**Last updated:** [May 8, 2014, 2:36pm UTC](https://forums.solar2d.com/t/weird-bug-with-map-loading/325355 "2014-05-08T14:36:55Z")

</div>

Hello! I tried to load a map (only ground tiles) but I have a weird offset right in the middle of it (see screenshot attached). I tested a bit with Tiled and I discovered it only happens when map’s height is odd. Am I m…

---

## [Issues with toggleWorldWrap](https://forums.solar2d.com/t/issues-with-toggleworldwrap/324756)

<div class="topic-metadata">

**Author:** [@agor8684](https://forums.solar2d.com/u/agor8684)\
**Replies:** 6\
**Last updated:** [May 7, 2014, 6:20pm UTC](https://forums.solar2d.com/t/issues-with-toggleworldwrap/324756 "2014-05-07T18:20:23Z")

</div>

My project is not displaying correctly when I use toggleWorldWrapX and toggleWorldWrapY. It seems fine when I turn it off though. I’ve tried everything I know, can you guys take a look? Attached are screenshots of what …

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

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