PAC-MAN for the Commodore Amiga: Writing an Operating System Friendly Game, Part 3
In this Amiga PAC-MAN video, we start diving into Exec Tasks by making a stand-alone task that blinks the power pellet via a palette change and using the timer.device to keep time in a system friendly manner.
Code can be seen here on GitHub:
https://github.com/tschak909/amiga-pac-man/blob/main/test-harnesses/PowerPelletTask/PowerPelletTask.c
#retrocomputing #retrogaming #commodoreamiga #gamedev
Chapter Index:
00:00:00 Introduction
00:01:10 Exec RKM Chapter 2: Tasks
00:06:40 What we're building (DEMO)
00:07:35 Demo in OS 2.x
00:10:00 1.x and 2.x side by side
00:10:30 Creating the PowerPelletTask Project
00:13:00 Implementing the Test Harness
00:13:46 Choosing the power pellet color
00:16:20 Moving maze data to MazeBorders.h
00:20:30 Adding Exec includes and some externs
00:23:00 Creating our Task
00:26:00 Aside: Creating a power pellet image
00:33:00 First compile
00:34:30 Adding DisplayBeep(NULL); for debugging
00:35:00 First compile (for real)
00:37:20 First run, BLINK! Task works!
00:38:00 Adding the power pellet images
00:41:35 Implementing the Power Pellet Task
00:46:00 Implementing the blink timer using timer.device
01:00:00 Second compile
01:01:10 Fixing mistaeks
01:05:00 Final compile
01:06:00 The code is on GitHub!
01:06:45 It works!