mirror of
https://github.com/blondie7575/HiSprite.git
synced 2025-01-08 13:29:35 +00:00
Working demo for KFest 2017
This commit is contained in:
parent
69e669054b
commit
b4f3c4bcfe
BIN
hisprite.dsk
BIN
hisprite.dsk
Binary file not shown.
@ -33,7 +33,7 @@ SPRITEPTR_H = $1c
|
||||
MAXSPRITEINDEX = 3 ; Sprite count - 1
|
||||
MAXPOSX = 127 ; This demo doesn't wanna do 16 bit math
|
||||
MAXPOSY = 127
|
||||
MAXLOCALBATCHINDEX = 3 ; Sprites in batch - 1
|
||||
MAXLOCALBATCHINDEX = 4 ; Sprites in batch - 1
|
||||
MAXBATCHINDEX = 0 ; Number of batches - 1
|
||||
|
||||
; Macros
|
||||
@ -148,12 +148,12 @@ backgroundLoop:
|
||||
jmp backgroundLoop ; 65 cycles overhead per rect
|
||||
|
||||
backgroundRestartList:
|
||||
; lda batchMaxIndex
|
||||
; sta spriteNum
|
||||
lda batchMaxIndex
|
||||
sta spriteNum
|
||||
lda #MAXLOCALBATCHINDEX
|
||||
sta batchLocalIndex
|
||||
|
||||
jmp batchLoop ; Skip movement
|
||||
; jmp batchLoop ; Skip movement
|
||||
|
||||
movementLoop:
|
||||
; Find our sprite pointer
|
||||
|
@ -32,7 +32,7 @@ metaBuffer0:
|
||||
.byte 0 ; X pos
|
||||
.byte 0 ;116 ; Y pos
|
||||
.byte -1 ; X vec
|
||||
.byte -1 ; Y vec
|
||||
.byte -2 ; Y vec
|
||||
|
||||
metaBuffer1:
|
||||
.byte 20 ; X pos
|
||||
@ -43,7 +43,7 @@ metaBuffer1:
|
||||
metaBuffer2:
|
||||
.byte 40 ; X pos
|
||||
.byte 0; 67 ; Y pos
|
||||
.byte -1 ; X vec
|
||||
.byte -2 ; X vec
|
||||
.byte -1 ; Y vec
|
||||
|
||||
metaBuffer3:
|
||||
|
Loading…
Reference in New Issue
Block a user