Movin the map around the player.
Here's the jigsaw: keepin my player sprite pinned at the center of my mini map, with the map movin around him.
Have a mouse script for that, on a kinematicbody with the map/sprite:
Notice the - before mouse_pos in tween part. Put it there as the 'normal' script was without, and was workin quite fine, but for the inversed direction of the movement. A right click was goin left, and inversely.
So tried that -, but what happen now is that on the first click, wherever it is, the map goes straight to the upper left corner... And I don't know how to center all that...
So if you have an hint on the how to solve that, it would be much apreciated.