1

I am programming a top down shooting game sort of like Hotline Miami and I have every thing sorted but the only problem is.

That I can't find a way for the "bad people" to not go though the walls of the map, I need some help setting up boundaries.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Mart_head
  • 11
  • 1
  • 1
    What have you tried? Please share your code. – jrswgtr Mar 23 '19 at 12:12
  • Read from [how-do-i-have-an-object-rebound-off-the-canvas-border](https://stackoverflow.com/questions/51793908/how-do-i-have-an-object-rebound-off-the-canvas-border/51810173#51810173) the `def bounce(...` function. – stovfl Mar 23 '19 at 13:08

0 Answers0