It is currently Mon Dec 11, 2017 12:50 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jan 25, 2015 8:41 am 
Offline

Joined: Thu Aug 12, 2010 3:43 am
Posts: 1589
Something I noticed in Wacky Races (GBC) when I was bored watching videos:
https://www.youtube.com/watch?v=rNedYpA ... age#t=1390

As you can see there's a fog effect where stuff that's far away gets dimmed. Alright, probably some palette stuff... but wait, that thing is eating a lot of palettes, since each sprite gets its own fog level. Hm. (note: in the HUD area it switches sprite palettes on the fly so ignore those... also the constant palette switching mid-screen makes it nearly impossible to check in a debugger)

So, stupid question: how many palettes does the GBC have for each layer? Because I completely forgot.


Top
 Profile  
 
PostPosted: Sun Jan 25, 2015 10:04 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3967
The GBC gets 8 palettes for sprites, and 8 palettes for backgrounds, and can freely change palette colors at any time during rendering. Also, the background color for background palettes is not shared, so each background tile gets a full 4 colors.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group