Tried Sprite
Tried displaying sprites and move them. Blitz manual has a great sample code for that. 8 donuts like graphics on the attached picture are sprites. This is 32x32 size 2 bit planes. I ported sample code to my test program. So, aprox. 30 QBlit shapes and 8 sprites are moving at a same time. Wow!
Interesting thing is color plette for sprite. It required to set palette # 17 to 31. When I use 4 bit planes display and 2 bit planes sprite, color register 17,18,19 for sprite channel 0,1 and color register 21,22,23 for sprite channel 1,2. That means 2 channel shares same palette.
Another thing is that the manual saids "The Amiga hardware has 8 sprite channels, standard 16 wide 3 colour sprites require a single channel, 15 colour sprites need two and sprites wider than 16 will require extra channels also.". But when I execute the sample code on the manual, I saw 8 64x64 3 color sprites on the display. So, I wonder which Amiga hardware this manual intended to or this is because UAE? Anyway, I hope my physical A1200 could display 8 64x64 2 bit plane sprite too.
Accomplishments:
- Display sprites and move them.
ToDo:
- Trying to draw background and horizontal scroll.
- Trying to use dual playfield.
Get My First Shooting Game For Amiga
My First Shooting Game For Amiga
This is experimental project to create a shooter game from scratch. [Blitz Basic Game Jam 2022]
Status | Prototype |
Author | ElmonEPG |
Genre | Shooter |
Tags | Amiga, blitzbasic, Retro, Singleplayer |
More posts
- Testting multiple coplist in the 1 displayJan 22, 2023
- Added Logos and start screenNov 16, 2022
- Upload executable of submitted versionNov 15, 2022
- Resolve the issue to create executableNov 09, 2022
- Continue to develop this projectOct 31, 2022
- Update SourcesOct 28, 2022
- Upload sourcesOct 27, 2022
- Some moving functions for EnemyOct 24, 2022
- Now I can use global array in Statement/FunctionOct 21, 2022
- Screen shot of game and about scopeOct 20, 2022
Leave a comment
Log in with itch.io to leave a comment.