Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Diamond2536 |
Hello, dear Godot engine experts! I had this problem: I made a tile map (the map size is from -512 to 512 tiles and from -255 to 224 tiles, the tile size is 32 pixels). I wrote a script for the camera to move, approach and move away. But the camera moves only with the “up”, “down”, “left” and “right” buttons! Please help me write a script so that the camera moves with the mouse cursor. And also round off the map as “Earth” so that when the edge is reached, the camera starts displaying the other edge!!! Thanks !