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 4 🔎🔍

🧐 · 02.11.2024 · 18:00:06 ··· Samstag ⭐ 47 🎬 830 📺tschak909
🧠 · 14.11.2024 · 07:08:56 ··· Donnerstag
😎 · 22.11.2024 · 06:40:45 ··· Freitag
In this #CommodoreAmiga PAC-MAN video, I show how to add a MessagePort to a Task, so that other tasks can manipulate the game score by sending Messages to it.

#gamedev #retrocomputing #retrogaming

GitHub:
https://github.com/tschak909/amiga-pac-man/blob/main/test-harnesses/ScoreTask/ScoreTask.c

00:00:00 Intro
00:01:20 Creating the ScoreTask Project from PowerPelletTask
00:06:40 Adding our ScoreMessage struct
00:09:45 Starting our ScoreTask()
00:13:50 Creating our Score Port
00:15:30 Our Message processing loop.
00:21:00 Stopping our message loop
00:23:00 Starting our score task from main()
00:25:30 Finding our score Message Port
00:29:00 Creating our test Reset Message
00:33:30 Implementing scoreTask_Reset() and _Set()
00:39:00 First Compile
00:41:00 Fixing typos
00:46:00 Second compile
00:47:30 First crash! (improper use of our function!)
00:48:30 add scoreTask_Reset() call to our message loop
00:52:30 Third compile (after fixing typos)
00:54:30 Our task runs, but something is wrong!
00:55:45 Oops, forgot to remove a debugging Wait() !
00:57:15 Score reset works, but port leaks.
00:58:45 Adding a STOP message to prevent the leak
01:01:45 Implement our ADD POINTS.
01:07:45 Implement our display score result at bottom of message loop.
01:18:00 Add test messages for SET and ADD scores.
01:25:00 Fourth Compile, some final typos
01:27:30 Fifth (and final) compile
01:29:30 Running finished Scoretask!
01:30:00 Upcoming videos

SELECT * FROM DAvidON WHERE `DAvid`="MlzKqZXD1Kc" ORDER BY ts
SELECT * FROM DAvidPlay WHERE `DAvid`="MlzKqZXD1Kc"
***
· 02.11.2024 · 18:00:06 ··· Samstag
U
U
L
L
T
* 1730566806
* 1730566806
X 830
Y 47
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 ··· ::

********