john-lay / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system

Home Page:https://www.gbstudio.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GB Studio (for Zelda's Adventure)

A Fork of GB Studio to facilitate the development of Zelda's Adventure.

Initially forked from GB Studio 3.0.3 with the addition of a cherry pick of the global variables in custom scripts feature.

Features

  • Custom HUD. Display Health and Rupee across the top of the screen
  • Custom Inventory screen with scrolling carousel
  • Swap projectile sprites on scene load. Allows Zelda to fire 19 different projectiles
  • Animated tiles. e.g. water, lava, torches, etc.
  • In the GB Studio editor, scenes snap to a 20px grid

There are 2 new scene types to accomodate these changes.

  1. Zelda's Adventure Template enables the HUD, animated tiles and custom projectiles
  2. Zelda's Adventure Inventory enables the scrolling inventory carousel

Zelda's Adventure HUD Zelda's Adventure Inventory

Technical Details

Accessing GB Studio variables in C

The modification relies on the ability to interrogate the GB Studio global variables and update the VRAM accordingly.

Thanks to this issue, for highlighting global variables start at memory location CC40.

All the data is stored in banks 5 and 6.

Installation

Clone this repo and follow the GB Studio installation notes

Build

See package.json for your preferrent OS

Modifying spell data

Convert png to C array and format using VS Code

About

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system

https://www.gbstudio.dev

License:MIT License


Languages

Language:C 53.4%Language:TypeScript 19.4%Language:JavaScript 12.7%Language:Assembly 6.3%Language:C++ 3.4%Language:Makefile 3.4%Language:CSS 1.0%Language:Batchfile 0.4%Language:HTML 0.0%Language:Shell 0.0%