Hardware-Sprites on OCS/AGA
Posted: Wed Nov 17, 2021 9:17 am
Maybe add real Hardware Sprites to the Plananarama-Plugin with all known limitations (colors, max width/heigt)?
The Cross-Platform Multimedia Application Layer
https://www.hollywood-mal.com/forums/
Code: Select all
- New: Added support for real hardware sprites; unfortunately, sprites were never the Amiga's
strong point so they won't give you too much power; the Amiga hardware can only handle eight
hardware sprites; if you want them to use 16 colors instead of 4 colors, then this goes down
even further to just 4 hardware sprites; on ECS the width is limited to 16 pixels, on AGA it
is limited to 64 pixels; there's no restriction on the height, though; you can create hardware
sprites from palette brushes with the following new Plananarama functions: planar.CreateSprite(),
planar.FreeSprite(), planar.MapSprite(), planar.UnmapSprite(), planar.MoveSprite(); sprites
can be dynamically mapped and unmapped to/from the DMA sprite channels on the hardware
to give you some flexibility when it comes to animations