Today I will be releasing version 2.7 to all you lucky registered customers, it will include a number of small improvements like localising a lot of external functions which may or may not make some small speed improvements.
I also have Matt’s “setTileAt” function as well as a “removeTileAt” function to go along with it, both on the tileLayers.
I have renamed the “worldToTilePosition” and “screenToTilePosition” to “worldToGridPosition” and “screenToGridPosition” respectively simply as those names make more sense.
Each tile layer now has a “setPosition” function just like map:setPosition()
The map:setTrackingPoint function has been renamed to map:setFocus, however still works the same way.
The LDI has a new property, “ParallaxEnabled”
By setting the “ParallaxEnabled” on your map all of the regular map movement functions (move, drag, setPosition, slideToPosition, fadeToPosition) will now be parallax enabled as well as the focus object (through map:setFocus)
Control the speed of tileLayers by adding “parallaxFactorX” and/or “parallaxFactorY” properties to them. Default is 1 and the further away the layer is from the camera you will want a lower number and vice versa for closer layers.
I will be writing up all this info into an email update as well to make sure everyone is aware of the new version and changes.
Also, please make your +1s heard in this thread - http://developer.anscamobile.com/forum/2011/02/03/screen-culling
Parallax is still not completely perfect but as with before I want to get it out to you guys so that you can give me some feedback, for instance clamping currently doesn’t work properly.
[import]uid: 5833 topic_id: 5932 reply_id: 305932[/import]