ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > The Junkyard > SCUMM z-planes
SCUMM z-planes
  Author    Thread Reply to topic
Rum Rogers



Joined: 30 Mar 2016
Posts: 2
SCUMM z-planes 

Hi guys,
while fiddling with old SCUMM games resources I noticed they often use a bitmask in order to describe which chunks of the backgrounds should stay in foreground.
I was surprised, since I imagined they had separate sprites for those "layers".
I'm wondering if they did image-cropping at run time and added the chunks depending on the z-order (seems pretty unlikely) or they used a "subtractive" approach, that is avoiding to display the pixels which were hidden by objects.
In any case I assume they actually had direct access to the pixel matrix to do something like this without separate sprites...
Am I missing something here?
Does anybody know how SCUMM did manage those chunks internally (or at least, how does ScummVM treat them?).
I also know AGS does something similar with bitmasks.
Just curious.
Thanks! Smile

 Reply with quote  
Post Wed Mar 30, 2016 7:08 pm 
 View user's profile Send private message
Rum Rogers



Joined: 30 Mar 2016
Posts: 2
 

Sorry for double posting but...nothing at all?

 Reply with quote  
Post Sat Jul 16, 2016 1:58 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
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 vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge