opening a new program after checking co-ordinates

Alex Lowbridge Source

In my pygame program for my project, I want to have it so that when the sprite reaches certain co-ordinates a new program. So how do I get it to check the x and y values before determining whether to call the function or not? Any help is greatly appreciated

pythonpython-3.xpygame

Answers

comments powered by Disqus