n00b questions about the VDP

For anything related to VDP (plane, color, sprite, tiles)

Moderators: BigEvilCorporation, Mask of Destiny

Post Reply
djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

n00b questions about the VDP

Post by djcouchycouch » Sun Feb 19, 2012 12:41 am

I've seen that the amount of sprites available is dependent on the resolution chosen, 80 in 320 pixel wide display or 64 in 256. Why would one choose one over the other? H/V blank times? Lower resolution means more time for game logic?


Also, sprites sizes are said to be 8x8 up to 32x32. Do the different sizes affect the number of maximum sprites available? If I'm using the 320 pixel wide mode with 80 sprites, is that number of sprites affected by the size I'm choosing for each one? In other words, do I still have 80 available to me even if they're 8x8, 8x16, 8x32 or whatever?

Thanks!
DJCC.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sun Feb 19, 2012 9:35 am

256 mode offers no advantages besides less tiles needing to be worked on, but DMA is slower too so its not that good. You would want to use 256 only for porting something over that used 256, but for best result you use 320 instead.

Sprite size means nothing, you get to have all no matter what settings they use but there are some limits :
Only 16 or 20 sprites per line
Only 256 or 320 sprite pixels per line
That is all you got to worry about.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Sun Feb 19, 2012 2:43 pm

Ah, I see. Thanks!

Post Reply