Pythonista Game: Collisions

Pythonista and collisions

Today we are going to code the detection of the collitions in the game we are making (part 12). We create a list of the coins that falls and then with Rect we check if this Rect with the position of the player intersects one of the coin.

Adding a Score to the Screen

What if we cannot know the score we are making? Here is how to put a label on the screen!


Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.