I wrote a little game for the Commodore PET. It's a free download, so you can play it too, and walk through the code with me.
Become a patron: https://patreon.com/8BitShowAndTell
One-time donation: https://paypal.me/8BitShowAndTell
Download 10 Print Racer: http://8bitshowandtell.com/downloads/10PrintRacer.d64
Index:
0:00 Intro & playing the game
2:30 10 PRINT - Well, in this case, 0 PRINT!
3:22 Program Initialization
5:48 Game Initialization
7:59 Main Game Loop
9:05 Generating/moving the road
11:55 Rendering the road
13:38 Keeping track of score/level
15:05 Steering the car
15:55 Collision detection
16:35 Drawing the car, end of game loop
17:04 Game over: tracking high score
18:03 Waiting to restart, empty keyboard buffer
20:03 Another playthrough
20:36 Thanks to my Patrons!
7 Comments