11-15-2022, 11:55 PM
Hi! (again!)
I'm trying to implement sprite warping, so if a part of the sprite goes out of screen, it is warped to the opposite side of the screen (see the picture).
Do you have an idea how I can achieve this please? The booleans fields for X and Y warping in the Sprite struct are ready.
I'm trying to implement sprite warping, so if a part of the sprite goes out of screen, it is warped to the opposite side of the screen (see the picture).
Do you have an idea how I can achieve this please? The booleans fields for X and Y warping in the Sprite struct are ready.