Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
sequence mutualisation
  • Loading branch information
EdouardBERGE authored Apr 23, 2022
1 parent 743eeee commit 7e7ec5d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@ syntaxe is: compiler file1 [file2] [options]

; this will generate transitions from sprites 0,1,2,3,4..., 62 to sprites 1,2,3,4,5...,63

compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0,62 -idx 1,63 -l astroide -d > astro.asm
compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0-62 -idx 1-63 -l astroide -d > astro.asm

; this will generate the transition from sprite 63 to sprite 0

compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 63 -idx 0 -l astroide -d >> astro.asm

; you can mutualise both lines like this

; first sequence to 0 from 63, destination sequence from 1 to 63 + 0 at the end!

compiler asteroids16x16x64.bin asteroids16x16x64.bin -idx 0-63 -idx 1-63,0 -l astroide -d > astro.asm

0 comments on commit 7e7ec5d

Please sign in to comment.