Hi guys
I have a little problem, I want to set an animation on an image.
I get the picture coor with those function
$gameScreen._pictures[205]._x;
$gameScreen._pictures[205]._y;
But I need found formula to convert to map X, Y
Somes have an idea ?
I kwno some function like:
SceneManager._screenWidth ;
$gameMap.width() ;
$gameMap.tileWidth();
And this work
$gameMap.canvasToMapX(TouchInput.x);
But only for mouse ... :stare:
Tank you
I have a little problem, I want to set an animation on an image.
I get the picture coor with those function
$gameScreen._pictures[205]._x;
$gameScreen._pictures[205]._y;
But I need found formula to convert to map X, Y
Somes have an idea ?
I kwno some function like:
SceneManager._screenWidth ;
$gameMap.width() ;
$gameMap.tileWidth();
And this work
$gameMap.canvasToMapX(TouchInput.x);
But only for mouse ... :stare:
Tank you