Restrict Character Movement PyGame Thursdays 7
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=kEEgFNz_SHU
In this video I'll show you how to restrict character movement to just the screen in Pygame and Python. • Up untill now, our character can move right off the screen! You may want that, but probably not. • Let's only allow our character to move around on the screen. • #pygame #codemy #JohnElder • Timecodes • 0:00 - Introduction • 1:28 - Modify Key Press Logic • 2:07 - Restrict Upper Bound • 3:25 - Restrict Bottom Bound • 5:01 - Restrict Left Bound • 5:37 - Restrict Right Bound • 6:56 - Conclusion
#############################