Skip to content

Instantly share code, notes, and snippets.

@felixjones
Created May 23, 2021 12:10
Show Gist options
  • Save felixjones/c244f3105a0419f86c16e1f08ee85bec to your computer and use it in GitHub Desktop.
Save felixjones/c244f3105a0419f86c16e1f08ee85bec to your computer and use it in GitHub Desktop.
GBA Tiled format plan

High level idea

Tiled export format that is usable in Game Boy Advance projects.

GBA limitations

Layers

Tiled should export based on a desired target GBA mode and desired number of layers.

Merging layers

To support the desired mode & layers, Tiled layers must be merged.

  • How do we let the user control this merging?

Palettes

Colour quantisation and palette allocation.

  • How can we let the user decide how many palette entries should be used?

Transparency

Semi-transparency should almost certainly be merged into lower layers.

GBA blending probably possible, but an entire layer must be marked as blending.

Alpha cutout certainly required.

"Infinite" maps

Dynamic tile and palette manager.

Meta tiles

Analytical per-layer?

ROM size concerns

Perhaps a dynamic tile blitter on the GBA could be used to avoid nearly-duplicate tiles.

Compression should be quite possible.

Objects

Tiled off-grid elements?

Scrolling layers

Likely able to be set-up in Tiled as "scroll speed". Parallax scrolling? Maybe possible with a per-line scroll speed option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment