DAvideo
alle Bilder sehen ;)
Designed by: Hinx3
OSWD 2004

Valid HTML 4.01!

PAC-MAN for the Commodore Amiga: Writing an Operating System Friendly Game, Part 3 🔎🔍

🧐 · 28.10.2024 · 02:02:01 ··· Montag ⭐ 54 🎬 940 📺tschak909
🧠 · 14.11.2024 · 07:08:56 ··· Donnerstag
👓 · 22.11.2024 · 06:40:45 ··· Freitag
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!

SELECT * FROM DAvidON WHERE `DAvid`="2dFlsIrzmdk" ORDER BY ts
SELECT * FROM DAvidPlay WHERE `DAvid`="2dFlsIrzmdk"
***
· 28.10.2024 · 02:02:01 ··· Montag
U
U
L
L
T
* 1730077321
* 1730077321
X 940
Y 54
P

C 161073
B 5
V 27
* · 15.09.2024 · 16:08:07 ···
2 · 01.01.1970 · 01:00:00 ···
L · 22.11.2024 · 06:40:41 ···
C · 22.11.2024 · 06:40:45 ···
💘 🖱️
* · 01.01.1970 · 01:00:00 ···
* · 01.01.1970 · 01:00:00 ···

· 01.01.1970 · 01:00:00 ···
**##
🧠 📺

*** · 01.01.1970 · 01:00:00 ··· ::
*2* · 01.01.1970 · 01:00:00 ··· ::
*L* · 01.01.1970 · 01:00:00 ··· ::
*C* · 01.01.1970 · 01:00:00 ··· ::

********