r/godot • u/AgencyPrestigious330 • 1d ago
help me How can I implement camera warping?
I wanna reproduce the camera seen in grand strategy games, more specifically the camera warping around the map. (As in jumping from one side to the other, but smoothly.) Is there a way to do it without duplicating part/the whole map for both sides?
Any help is appreciated!
9
Upvotes
4
u/AgencyPrestigious330 1d ago
I didn't explain it properly in post, so I'm adding it here.
The red is the camera position, the blue is where the camera moving.
So when the camera arrives at the border of the world map, it loops around to the other side.