{"id":20647189,"url":"https://github.com/bbbbbr/gb-window-as-sprite","last_synced_at":"2025-04-16T02:42:05.656Z","repository":{"id":83821365,"uuid":"194351445","full_name":"bbbbbr/gb-window-as-sprite","owner":"bbbbbr","description":"Demo using the video overlay Window as a huge pseudo-sprite for the original Game Boy (DMG/CGB)","archived":false,"fork":false,"pushed_at":"2021-06-12T06:13:45.000Z","size":419,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"release_gbdk2020","last_synced_at":"2025-03-29T04:24:11.411Z","etag":null,"topics":["game-boy","gameboy","gameboy-game","retro-gaming"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbbbbr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-29T01:29:44.000Z","updated_at":"2024-11-02T10:04:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cec5771a-2a79-4ba2-b0b9-178ee95b400c","html_url":"https://github.com/bbbbbr/gb-window-as-sprite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgb-window-as-sprite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgb-window-as-sprite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgb-window-as-sprite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbbbbr%2Fgb-window-as-sprite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbbbbr","download_url":"https://codeload.github.com/bbbbbr/gb-window-as-sprite/tar.gz/refs/heads/release_gbdk2020","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249185627,"owners_count":21226585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-boy","gameboy","gameboy-game","retro-gaming"],"created_at":"2024-11-16T16:29:27.542Z","updated_at":"2025-04-16T02:42:05.647Z","avatar_url":"https://github.com/bbbbbr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Game Boy Window as a Giant Sprite\n===========\n\nThe 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.\n\nAs 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.\n\n* Star sprites: S_PRIORITY flag set so they appear behind the Window sprite, except where it's pixels are set to color zero.\n\n* Game Boy sprites: S_PRIORITY flag *not* set so it's above the Window sprite.\n\n* Background layer: All pixels set to color zero.\n\n\n![Game Boy video overlay window Giant Sprite demo - nyancat cassette](https://raw.githubusercontent.com/bbbbbr/gb-window-as-sprite/release/info/screenshot_anim.gif)\n\nBuilt with GBDK-2020 - https://github.com/gbdk-2020/gbdk-2020\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbbbbr%2Fgb-window-as-sprite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbbbbr%2Fgb-window-as-sprite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbbbbr%2Fgb-window-as-sprite/lists"}