Skip to content

Instantly share code, notes, and snippets.

@remy
Last active July 25, 2020 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remy/c8230cab0a781c0906ae9e46c0a8f135 to your computer and use it in GitHub Desktop.
Save remy/c8230cab0a781c0906ae9e46c0a8f135 to your computer and use it in GitHub Desktop.
#autoline 10
RUN AT 3
LAYER 2,1: CLS
LOAD "pal-test.spr" BANK 13: ; spritesheet
LOAD "pal-test.map" BANK 14: ; tile map
LOAD "pal-test.pal" BANK 15: ; palette
TILE BANK 13: ; point tilemap to spritesheet
TILE DIM 14,0,16,16: ; using tile bank 14, offset 0, tile 16 wide, tile size 16
TILE 16,12: ; print tile for 16x12
PAUSE 0
PALETTE DIM 9
LAYER PALETTE 0 BANK 15,0
PAUSE 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment