Skip to content
release
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
res
 
 
src
 
 
 
 
 
 

Game Boy Window as a Giant Sprite

The original Game Boy (DMG/CGB/etc) is limited to 8x8 and 8x16 sprites, or a larger meta-sprite composed from up to 40 of those smaller, individually managed sprites. There are some workarounds, but generally this limits the maximum size of sprites to a small size on an already small screen.

As an exercise, this demos using the video overlay Window as a huge pseudo-sprite (with some limitations). The priority feature and transparent pixels of regular sprites are used to create some foreground/background layering.

  • Star sprites: S_PRIORITY flag set so they appear behind the Window sprite, except where it's pixels are set to color zero.

  • Game Boy sprites: S_PRIORITY flag not set so it's above the Window sprite.

  • Background layer: All pixels set to color zero.

Game Boy video overlay window Giant Sprite demo - nyancat cassette

Built with GBDK - http://gbdk.sourceforge.net/

About

Demo using the video overlay Window as a huge pseudo-sprite for the original Game Boy (DMG/CGB)

Topics

Resources

Releases

No releases published

Packages

No packages published