Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Productions > Is 120 the max number of full height sprites that can be displayed?
2002-11-17 17:59
Shadow
Account closed

Registered: Apr 2002
Posts: 355
Is 120 the max number of full height sprites that can be displayed?

I've been on a nostalgia trip and checking out some demos from the real oldschool, record-breaking times. So I started thinking a bit about the world record for most sprites in a multiplexer. I started calculating, and got the following:

8 sprites can be displayed per 21 lines (since a sprite is 21 pixels high). Now you have 256 y-positions available to place sprites on. That should give us 96 or maybe 104 (I wasn't quite sure on this).
Since I saw demos with 112 and even 120 sprites (think it was in Ice Cream Castle/Crest), this couldn't be the limit.
Anyway, I started coding on a little test program and discovered that sprites placed on position $01 to $1e was displayed twice (both in the upper and lower border. I guess this is common knowledge, but I've been out of the loop for a while!)
Now, those $1e lines gives us the possibility to display two batches of 8 sprites that essentially gets doubled, thus we have 104+116 = 120 sprites as the absolute maximum.
Is this correct reasoning? Any oldtimer hardware specialits who can shed some light on this?
 
... 67 posts hidden. Click here to view all posts....
 
2002-11-19 16:07
cadaver

Registered: Feb 2002
Posts: 1153
I remember, at least the boss enemy routines in Turrican didn't seem to access the "sort-order" table at all. (correct me if I'm wrong) And for as high errorfree-ness, especially in Armalyte, the raster interrupt to display the sprites must be specifically optimized (unrolled, no X-coord changes at all)
2002-11-19 16:38
JCB
Account closed

Registered: Jun 2002
Posts: 241
I was in the Thalamus offices one day and saw a "demo" version of Armalyte b4 it had all the attack waves etc edited to stop any overlapping sprites, glitch glitch nasty :P I think they must have spent 50% of the time writing that game just changing the sprite movement to get it glitch free..
2002-11-19 20:13
cadaver

Registered: Feb 2002
Posts: 1153
Perfection has its price... I'm all for letting sprites glitch a bit if playability overall doesn't suffer. But I'm sure some consider MW1-3 abysmally lame because of that :)
2003-01-19 16:38
DanPhillips

Registered: Jan 2003
Posts: 30
Quote: Perfection has its price... I'm all for letting sprites glitch a bit if playability overall doesn't suffer. But I'm sure some consider MW1-3 abysmally lame because of that :)

Just catching up :-)

We automated the process...eventually.
The editor gave warnings when more than 6 sprites(we
reserved 2 for the players to avoid priority flicker) were
getting close. And I changed the bullet routines to
detect if they were going to cause a flicker (flak type
effect which makes them blow up in mid air and change
direction).

We used a bucket stack sort...all the time even for the
motherships (I published it on the Scene section of the
Lemon forums)

Might have been nice to custom write the display for the
motherships...maybe next time :-)

If truth be told...50% of my time was spent playing and mapping
Dungeon Master on the ST and Lazer Squad + Wasteland on the 64 :-)

Cheers

Dan
Lead Programmer Armalyte
2003-01-19 18:40
JCB
Account closed

Registered: Jun 2002
Posts: 241
hehe tut tut
2003-01-19 19:03
cadaver

Registered: Feb 2002
Posts: 1153
Hehe, up to now I thought Armalyte used some hyper-optimized, unrolled multiplexer interrupt for the bosses, because there was never any kind of error.. Only now I realize there wasn't enough sprites to cause errors at all! :)

2003-01-19 20:25
DanPhillips

Registered: Jan 2003
Posts: 30
Quote: Hehe, up to now I thought Armalyte used some hyper-optimized, unrolled multiplexer interrupt for the bosses, because there was never any kind of error.. Only now I realize there wasn't enough sprites to cause errors at all! :)



The bosses used 16 sprites max in total, plus 4 for enemy
bullets.

It was the skill with which they were used that allways
impressed me :-)

Dan
Lead Programmer Arma...thing.
2003-02-02 22:45
Graham
Account closed

Registered: Dec 2002
Posts: 990
JCB, sprite multiplexing simply means that you use a sprite more than once per frame, so escos is indeed a multiplexer, same as a lot of other stuff.
2003-02-03 07:16
JCB
Account closed

Registered: Jun 2002
Posts: 241
Quote: JCB, sprite multiplexing simply means that you use a sprite more than once per frame, so escos is indeed a multiplexer, same as a lot of other stuff.


hmm to me a multiplexer has to be usable for moving the sprite more than once per frame in an "intelligent" manner. Still, thats just my opinion ;)
2003-02-03 07:27
CyberBrain
Administrator

Posts: 392
I thought multiplexors was >8 sprites that all moves past eachother in y.

Maybe a little bad explained, but like you can make a simple sprite routine that moves 8 sprites up/down in a sinus movement, an example of what i thought was a multiplexor is >8 sprites moving up/down in a sinus movement.
(...and moving them in x makes it look sweet :) )

Are you sure multiplexors are just displaying the same sprite more than once in a frame?

(would be nice with a library of all these words on the net)
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
curtcool
Alakran_64
Zardax/Artline Designs
Yazoo/Arsenic
TPM/Silicon Ltd
Beast/Crescent
macx
Oswald/Resource
Guests online: 113
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.163 sec.