BlindTerran / JayWalk_Processing

A 2D interactive game made with Java Processing library
MIT License
1 stars 0 forks source link

Pedestrian moving boundary #2

Open BlindTerran opened 2 years ago

BlindTerran commented 2 years ago

A border needs to be implemented to restrain the movement range of the pedestrian and prevent it from moving off the display window.

BlindTerran commented 2 years ago

Function constrain() can be used to resolve the issue