Hi there,
it’s very amazing, that you’ve made that fast a new update.
Especially the improved goto sounds good to me :lol: I want to check it out then.
And thank you very much for your help, especially mentioning the converting operation.
Thanks to you, I’ve made up this slide function similar to lime, even better!
It works very good and is smooth, especially you did well creating these easings.
So I want to share it with the other guys:
local gameLoop = function(event) mte.update() end local slide = function(event) --easings: inExpo, inQuad, outExpo, outQuad, inOutExpo,inOutQuad, linear. local touchPosition = mte.convert("screenPosToLevelPos", event.x, event.y, 1) mte.moveCameraTo({levelPosX = touchPosition.x, levelPosY = touchPosition.y, time = 500, easing ="inQuad"}) end Runtime:addEventListener("enterFrame", gameLoop) Runtime:addEventListener("touch", slide)
Okay, then in short words one question and a few suggestions (+for the API:)
Now I can start to work and I have one last question after reading your API.
I’ve read that you can change the RGB color of a layer, right?
Is it possible with your current version to change the RGB color of a
single tile? For example I want to turn everything I click to black/blue
whatever. Is there a function? I mean that you don’t have to change the tile, just tilt it.
moveCamera(deltaX, deltaY) maybe add time like in mte.moveCameraTo
API: moveCameraTo(parameters)
levelPosX: “The Y level position to which the camera should move if sprite is not
specified” -> Well it works without thinking about sprite, maybe you should add
Example 3: mte.moveCameraTo({levelPosX = 200, levelPosY = 50 time = 50, easing =“linear”}),
cause I didn’t know whether locX was just a simple name or the really required name of the system.
Hope you know what I mean.