Certain values relevant to GB Studio development! Updated to reflect GB Studio version 4.x.
Information compiled by 2BitCrook.
-
8 x 8The size of a background tile. -
8 x 16The size of a sprite tile. -
16 x 16Two sprite tiles, a metasprite. -
160 x 144The base resolution for the GB and smallest size for a scene. -
512 x 2040Maximum size for a tall, narrow scene. -
2040 x 512Maximum size for a wide, short scene. -
1016 x 1016Maximum size for a square scene. -
1016 x 1024Maximum size for an almost-square scene.
-
DMG (GBC) -
52 (116)Max Background Tiles used as text characters before getting overwritten. -
128 (256)Max Background Tiles in a scene to be able to have 96 sprite tiles available. -
192 (384)Max Background Tiles in a scene and still be able to use dialog/text. 64 sprite tiles available. -
256 (512)Max Background Tiles in a scene that isn't logo mode. 64 sprite tiles available. -
360 (360)Amount of tiles that make up a 160x144 resolution. All tiles can be unique in logo mode. 12 sprite tiles available. -
20 (20)Background Tiles per row (X). -
18 (18)Background Tiles per column (Y). -
10Max Sprite Tiles per row (scanline). -
40Max Sprite Tiles on screen at once.- Metasprites can be composed at maximum by this number of sprites.
-
96Max Sprite Tiles in a scene total.
4Colours per GBC palette.- All
4are used for Backgrounds Tiles (including text and UI). - Only
3are used for Sprite Tiles.
- All
16GBC palettes total8used for Background Tiles, with the 8th palette used for text and UI.8used for Sprite Tiles.
#071821Darkest tone for sprites and backgrounds.#306850Mid dark tone for backgrounds only.#86c06cMid light tone for sprites and backgrounds.#e0f8cfLightest tone for sprites and backgrounds#65ff00Transparency for sprites.#ff00ffTransparency for variable width font glyphs.
768Total variables.512globals.256shared between locals and script parameters.
-
+32767Max variable value. -
-32768Min variable value. -
0is treated as false. -
Any other values is treated as true.
3Scene Pointer13Camera Struct76Event Block Struct23Music Struct349Projectile Struct1185Actor Struct313VM Script Context5325Default Save Slot8192SRAM Bank
5Unique projectiles per scene.10Active actors can be on screen at once.20Active actors in a large scene.0.0625Minimum movement speed.7.9375Maximum movement speed.