Stay Down Dev Log - Part 8 - COLLECT ITEMS

3 years ago
2

In this somewhat longer than expected video I add a collectible item to the game with basic rectangle collision.

What you'll learn in this fancy tutorial:

00:01:00 - Creating the Item class
00:03:30 - Creating the item manager
00:09:00 - Drawing the item
00:16:00 - Actually finishing the drawing of the item
00:16:45 - The rectangle collision method
00:20:00 - Using the collision method
00:26:05 - The item counter element
00:28:00 - Styling the item counter element
00:37:35 - Using the item counter
00:38:00 - Fixing the random item position code

If you watch the whole thing (as long and dull as it may be) you will learn a lot of stuff. More stuff than is in the time stamps. I suggest playing the video at 1.25 x speed for maximum brain stimulation.

Check out the working example on my site! https://pothonprogramming.github.io

Loading comments...