Mar-06-2021, 06:31 PM
Try moving the player, check for collision, and it there is move the player back to where it was.
[PyGame] Keeping the player within a polygon
|
|
Messages In This Thread |
Keeping the player within a polygon - by Atekka - Feb-27-2021, 12:16 AM
RE: Keeping the player within a polygon - by metulburr - Feb-28-2021, 11:18 PM
RE: Keeping the player within a polygon - by Atekka - Feb-28-2021, 11:44 PM
RE: Keeping the player within a polygon - by metulburr - Mar-01-2021, 03:11 PM
RE: Keeping the player within a polygon - by michael1789 - Mar-02-2021, 02:52 AM
RE: Keeping the player within a polygon - by Atekka - Mar-06-2021, 10:28 AM
RE: Keeping the player within a polygon - by michael1789 - Mar-06-2021, 06:31 PM
|