MTE 0v984-7 - https://gumroad.com/l/staO/
This update expands on some of the content and features included in the last update and brings the Million Tile Engine up to date with current Corona SDK API’s.
-
All MTE function calls now use the new 0-1 range. All code in all samples has been refactored to use the new 0-1 color range instead of the old 0-255 color range. If you’ve used any of MTE’s reserved Tiled properties you’ll have to convert them over to the 0-1 range.
-
The pos table parameter of constrainCamera() is now levelPos.
-
MTE’s touchScroll and pinchZoom routines now fire off an event named mteTouchScrollPinchZoom when they receive touch input. You can use this event and the data it passes to you to trigger your own code, for example by stopping gameplay when the map is being dragged.
-
CastleDemo now includes mte.enablePinchZoom() and mte.enableTouchScroll(), commented out at the bottom of main.lua, instead of the old external code. The sample project also demonstrates the new mteTouchScrollPinchZoom event.
-
RotateConstrainStoryboard is now RotateConstrainComposer; it now uses Corona’s new Composer library. The Composer library is available in the current public build of Corona SDK.
-
IsometricStoryboard is now IsometricComposer.
I’ve also made a number of minor bug fixes to the engine. Work on the video tutorials continues, as does work on Map Stitching.
Enjoy!