English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 27 August 2021, 21:06   #1
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Sprite Programming article, would like to add a screenshot or video

I wrote this article because I'm coming back to Creativity and saw this as a topic that was frequently explored here on EAB. I've taken an extensive break, so I couldn't go entirely from memory and made myself check everything on the real deal.

As it is, it turned out longer more technical than an overview, but the sprite hardware is really intriguing and this is as short as I can make it without being incomplete.

I think I got it perfect in the end, but if you see something important missing or an outright error, I definitely want to correct that. I want this to answer all questions about OCS sprites.

Now for another subject... the article is a wall of text, and my test screens look pretty freaky. And not that nice/interesting. And the sprites I use in my demos always have some trick, it wouldn't be obvious how sprites work normally.

So... I'm looking for a nice screenshot from an OCS demo or game showing 8 sprites, or something you suggest.

Just to give the idea of what sprites are. It could be a short embedded video too.

Last edited by Photon; 27 August 2021 at 21:12.
Photon is offline  
Old 27 August 2021, 22:31   #2
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by Photon View Post
I wrote this article because I'm coming back to Creativity and saw this as a topic that was frequently explored here on EAB. I've taken an extensive break, so I couldn't go entirely from memory and made myself check everything on the real deal.

As it is, it turned out longer more technical than an overview, but the sprite hardware is really intriguing and this is as short as I can make it without being incomplete.

I think I got it perfect in the end, but if you see something important missing or an outright error, I definitely want to correct that. I want this to answer all questions about OCS sprites.

Now for another subject... the article is a wall of text, and my test screens look pretty freaky. And not that nice/interesting. And the sprites I use in my demos always have some trick, it wouldn't be obvious how sprites work normally.

So... I'm looking for a nice screenshot from an OCS demo or game showing 8 sprites, or something you suggest.

Just to give the idea of what sprites are. It could be a short embedded video too.
Bomb Jack Beer Edition uses the hardware sprites.

If I can recall correctly the following are all hardware sprites
  • Jack (1 Attached sprite)
  • Powerball (1 Unattached)
  • The Extra and Bonus icons (2 Unattached)
  • Start sequence (8 Unattached)
  • Game-over sequence - (4 Unattached)

All of the rest are 5 bitplane bobs
mcgeezer is offline  
Old 27 August 2021, 22:51   #3
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Ooh, Bomb Jack is actually a really good suggestion!

Maybe I can add a screenshot with your description, and then near the end of the article a video showing Playfield priorities (still not advanced)?

The most advanced tricks should be compatible with the facts and claims in the article, and there should be no information missing in the article to achieve all tricks that are possible.

It's just that if I show the advanced tricks I have to add a lengthy explanation of how it's done, and it's really long reduced to minimum already.
Photon is offline  
Old 27 August 2021, 22:55   #4
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by Photon View Post
Ooh, Bomb Jack is actually a really good suggestion!

Maybe I can add a screenshot with your description, and then a video showing Playfield priorities (still not advanced)?

The most advanced tricks should be compatible with the facts and claims in the article, and there should be no information missing in the article to achieve all tricks that are possible.

It's just that if I show the advanced tricks I have to add a lengthy explanation of how it's done, and it's really long reduced to minimum already.
See attached... ones I put in Purple are unattached sprites, ones in Yellow are Attached.

Hope this helps!
Attached Thumbnails
Click image for larger version

Name:	bj2.png
Views:	125
Size:	15.7 KB
ID:	73016   Click image for larger version

Name:	bj1.png
Views:	106
Size:	17.7 KB
ID:	73017   Click image for larger version

Name:	bj3.png
Views:	88
Size:	14.3 KB
ID:	73018   Click image for larger version

Name:	bj4.png
Views:	98
Size:	10.9 KB
ID:	73019  
mcgeezer is offline  
Old 28 August 2021, 00:01   #5
Antiriad_UK
OCS forever!
 
Antiriad_UK's Avatar
 
Join Date: Mar 2019
Location: Birmingham, UK
Posts: 418
Quote:
Originally Posted by Photon View Post
I wrote this
So... I'm looking for a nice screenshot from an OCS demo or game showing 8 sprites, or something you suggest.

Just to give the idea of what sprites are. It could be a short embedded video too.
8 sprites here. You can tell which is which from the colours. If you watch a particular colour you can see how obvious the multiplexing is. (Falling balls endpart, go to 2m30s)

[ Show youtube player ]

Last edited by Antiriad_UK; 28 August 2021 at 11:01.
Antiriad_UK is offline  
Old 28 August 2021, 15:08   #6
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Thx Antiriad! The endpart demonstrates sprite chains and priorities really well.

Might go with these two then! Hybris and Shadow of the Beast have been mentioned, but yours are more representative of the topics.
Photon is offline  
Old 28 August 2021, 17:10   #7
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 787
@Photon

If you don't have control words and graphics data decoupling covered, this picture shows it in action (there's also a video, but it's long):



Quite obviously, the sprites are used for the UFOs and the spaceship.

The topmost red UFO has the same shape of the rightmost green UFO, but the data is not duplicated in RAM: both the sprites are using exactly the same data. The same goes for the bottommost brown and the blue UFO.

Additional details:
* 6 3-color sprites (the UFOs)
* 1 15-color sprite (the spaceship)
* 1 3-color sprite (the afterburner flame) obtained by reusing one of the sprites used by the spaceship.
saimo is offline  
Old 29 August 2021, 00:02   #8
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Nice screenshot! But if I wrote all the sprite tricks I know, the article would be ten times longer.

The point is rather that my article should serve as a much shorter, but perfect, replacement for HRM (adding a few extra points about limits and behavior from testing) to do - anything - sprites can do.
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
tripos article Yakumo9275 Nostalgia & memories 1 25 June 2013 13:02
AMOS Sprite Programming Question ricky500 support.Apps 1 26 June 2012 16:10
Article Request... matthew AMR suggestions and feedback 6 11 April 2007 23:52
Wikipedia Article Parsec Retrogaming General Discussion 2 24 January 2006 09:45

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:51.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07531 seconds with 14 queries