Uploaded November 2024 | Updated November 2026, 1 hour ago
In this #CommodoreAmiga PAC-MAN video, I show how the SimpleSprites of the GELs library built into the KickStart ROMs can provide easy access to hardware sprites that behave well on Intuition screens.
#retrocomputing #retrogaming #gamedev
Code:
github.com/tschak909/amiga-pac-man/blob/main/test-harnesses/SpritePac/SpritePac.c
00:00 Intro
00:30 What we'll be making
04:45 What we're starting with
05:20 Adding sprite.h include
06:37 Looking at the RKM for Simple Sprites
09:52 Adding SPRITES to our NewScreen
10:45 Implement our SimpleSprite structure
13:40 Implement our Sprite data
17:43 Transforming Chunky pixels to planar
20:20 Drawing out our sprite bitplanes
22:48 *cut* How each line's bitplane data is calculated
24:35 GetSprite
26:50 Getting the color registers GetSprite gave us
27:50 SetRGB4 to set Sprite colors
29:33 First compile, we don't see the sprite
32:05 Add MoveSprite so we can see it.
36:05 Use MoveSprite to scoot the sprite across the screen
38:05 The second compile, the sprite scoots.
40:45 Adding the ChangeSprite calls, and the other two frames.
43:30 Almost final compile, with animation
46:30 Final tweak and compile to scoot the X position each TOF.
In this #CommodoreAmiga PAC-MAN video, I show how the SimpleSprites of the GELs library built into the KickStart ROMs can provide easy access to hardware sprites that behave well on Intuition screens.
#retrocomputing #retrogaming #gamedev
Code:
github.com/tschak909/amiga-pac-man/blob/main/test-harnesses/SpritePac/SpritePac.c
00:00 Intro
00:30 What we'll be making
04:45 What we're starting with
05:20 Adding sprite.h include
06:37 Looking at the RKM for Simple Sprites
09:52 Adding SPRITES to our NewScreen
10:45 Implement our SimpleSprite structure
13:40 Implement our Sprite data
17:43 Transforming Chunky pixels to planar
20:20 Drawing out our sprite bitplanes
22:48 *cut* How each line's bitplane data is calculated
24:35 GetSprite
26:50 Getting the color registers GetSprite gave us
27:50 SetRGB4 to set Sprite colors
29:33 First compile, we don't see the sprite
32:05 Add MoveSprite so we can see it.
36:05 Use MoveSprite to scoot the sprite across the screen
38:05 The second compile, the sprite scoots.
40:45 Adding the ChangeSprite calls, and the other two frames.
43:30 Almost final compile, with animation
46:30 Final tweak and compile to scoot the X position each TOF.










