tfv: add sprites

This commit is contained in:
Vince Weaver 2017-08-23 13:25:44 -04:00
parent 04ad8e1193
commit a7d707da9c
3 changed files with 214 additions and 8 deletions

View File

@ -54,7 +54,10 @@ backgrounds.inc: $(PNG2RLE) \
TFV: tfv.o
ld65 -o TFV tfv.o -C ./apple2_1000.inc
tfv.o: tfv.s tfv_flying.s tfv_opener.s tfv_title.s tfv_textentry.s tfv_utils.s tfv_backgrounds.inc tfv_zp.inc
tfv.o: tfv.s \
tfv_flying.s tfv_opener.s tfv_title.s \
tfv_textentry.s tfv_utils.s \
tfv_backgrounds.inc tfv_sprites.inc tfv_zp.inc
ca65 -o tfv.o tfv.s -l tfv.lst

View File

@ -104,11 +104,5 @@ gr_offsets:
.word $428,$4a8,$528,$5a8,$628,$6a8,$728,$7a8
.word $450,$4d0,$550,$5d0,$650,$6d0,$750,$7d0
tb1_sprite:
.byte $8,$4
.byte $55,$50,$00,$00,$00,$00,$00,$00
.byte $55,$55,$55,$00,$00,$00,$00,$00
.byte $ff,$1f,$4f,$2f,$ff,$22,$20,$00
.byte $5f,$5f,$5f,$5f,$ff,$f2,$f2,$f2
.include "tfv_sprites.inc"
.include "tfv_backgrounds.inc"

209
tfv/tfv_sprites.inc Normal file
View File

@ -0,0 +1,209 @@
; Hand generated as I'm too lazy to automate this
tb1_sprite:
.byte $8,$4
.byte $55,$50,$00,$00,$00,$00,$00,$00
.byte $55,$55,$55,$00,$00,$00,$00,$00
.byte $ff,$1f,$4f,$2f,$ff,$22,$20,$00
.byte $5f,$5f,$5f,$5f,$ff,$f2,$f2,$f2
;===============
; TFV Sprites
;===============
tfv_stand_right:
.byte $4,$6
.byte $00,$DD,$BD,$00
.byte $00,$DD,$DB,$0B
.byte $00,$22,$00,$00
.byte $00,$22,$02,$0B
.byte $00,$22,$00,$00
.byte $00,$82,$80,$00
tfv_walk_right:
.byte $4,$6
.byte $00,$DD,$BD,$00
.byte $00,$DD,$DB,$0B
.byte $00,$22,$00,$00
.byte $00,$22,$02,$B0
.byte $22,$02,$20,$00
.byte $82,$00,$82,$00
tfv_stand_left:
.byte $4,$6
.byte $00,$BD,$DD,$00
.byte $0B,$DB,$DD,$00
.byte $00,$00,$22,$00
.byte $0B,$02,$22,$00
.byte $00,$00,$22,$00
.byte $00,$80,$82,$00
tfv_walk_left:
.byte $4,$6
.byte $00,$BD,$DD,$00
.byte $0B,$DB,$DD,$00
.byte $00,$00,$22,$00
.byte $B0,$02,$22,$00
.byte $00,$20,$02,$22
.byte $00,$82,$00,$82
tfv_led_sword:
.byte $5,$3
.byte $10,$00,$10,$00,$00
.byte $10,$01,$10,$10,$10
.byte $00,$00,$11,$01,$10
;================
; Bird Sprites
;================
;================
; Ship Sprites
;================
splash_forward:
.byte $7,$2
.byte $00,$ee,$00,$00,$00,$ee,$00
.byte $ee,$00,$00,$00,$00,$00,$ee
splash_right:
.byte $7,$2
.byte $00,$00,$00,$00,$00,$ee,$00
.byte $00,$00,$00,$00,$00,$00,$ee
splash_left:
.byte $7,$2
.byte $00,$ee,$00,$00,$00,$00,$00
.byte $ee,$00,$00,$00,$00,$00,$00
shadow_forward:
.byte $3,$2
.byte $00,$aa,$00
.byte $a0,$aa,$a0
shadow_right:
.byte $3,$2
.byte $a0,$00,$aa
.byte $00,$0a,$a0
shadow_left:
.byte $3,$2
.byte $aa,$00,$a0
.byte $a0,$0a,$00
ship_forward:
.byte $9,$5
.byte $00,$00,$00,$00,$ff,$00,$00,$00,$00
.byte $00,$00,$00,$66,$ff,$66,$00,$00,$00
.byte $00,$00,$70,$2f,$12,$2f,$70,$00,$00
.byte $f0,$f7,$f7,$f2,$d9,$f2,$f7,$f7,$f0
.byte $00,$00,$00,$00,$0d,$00,$00,$00,$00
ship_right:
.byte $9,$5
.byte $00,$00,$00,$00,$00,$60,$60,$f0,$00
.byte $00,$f0,$70,$70,$f6,$f6,$6f,$66,$00
.byte $00,$07,$ff,$2f,$12,$27,$f6,$00,$00
.byte $00,$00,$00,$dd,$d9,$f2,$77,$00,$00
.byte $00,$00,$00,$00,$00,$0f,$ff,$70,$00
ship_left:
.byte $9,$5
.byte $00,$f0,$60,$60,$00,$00,$00,$00,$00
.byte $00,$66,$6f,$f6,$f6,$70,$70,$f0,$00
.byte $00,$00,$f6,$27,$12,$2f,$ff,$07,$00
.byte $00,$00,$77,$f2,$d9,$dd,$00,$00,$00
.byte $00,$70,$ff,$0f,$00,$00,$00,$00,$00
;=========
; Enemies
;==========
killer_crab:
.byte $9,$6
.byte $99,$00,$99,$00,$00,$00,$99,$00,$99
.byte $06,$60,$06,$00,$00,$00,$06,$60,$06
.byte $00,$06,$40,$49,$44,$49,$40,$06,$00
.byte $06,$04,$44,$44,$44,$44,$44,$04,$06
.byte $00,$60,$04,$64,$04,$64,$04,$60,$00
.byte $44,$00,$40,$04,$00,$04,$40,$00,$44
; Procrastinon
;=======================
; Background Features
;=======================
; Palm Tree
palm_tree:
.byte $08,$07
.byte $00,$00,$00,$00,$00,$40,$04,$40
.byte $00,$40,$04,$44,$84,$40,$00,$00
.byte $04,$00,$40,$05,$88,$00,$04,$40
.byte $00,$44,$00,$00,$08,$80,$00,$00
.byte $00,$00,$00,$00,$00,$88,$00,$00
.byte $00,$00,$00,$00,$80,$08,$00,$00
.byte $00,$00,$00,$00,$88,$00,$00,$00
; Pine Tree
pine_tree:
.byte $07,$06
.byte $00,$00,$00,$44,$00,$00,$00
.byte $00,$00,$00,$44,$00,$00,$00
.byte $00,$00,$44,$44,$44,$00,$00
.byte $00,$04,$44,$44,$44,$04,$00
.byte $04,$04,$04,$84,$04,$04,$04
.byte $00,$00,$00,$88,$00,$00,$00
; Snowy Tree
snowy_tree:
.byte $07,$06
.byte $00,$00,$00,$77,$00,$00,$00
.byte $00,$00,$00,$77,$00,$00,$00
.byte $00,$00,$77,$44,$44,$00,$00
.byte $00,$07,$44,$44,$44,$04,$00
.byte $07,$04,$04,$84,$04,$04,$04
.byte $00,$00,$00,$88,$00,$00,$00
; Cactus
cactus:
.byte $05,$06
.byte $00,$00,$44,$00,$00
.byte $44,$00,$44,$00,$40
.byte $44,$00,$44,$00,$44
.byte $04,$04,$44,$04,$04
.byte $00,$00,$44,$00,$00
.byte $00,$00,$44,$00,$00
; Mountain
mountain:
.byte $0d,$07
.byte $00,$00,$00,$00,$00,$70,$f7,$70,$00,$00,$00,$00,$00
.byte $00,$00,$00,$00,$77,$ff,$ff,$77,$00,$00,$00,$00,$00
.byte $00,$00,$00,$90,$8D,$88,$48,$58,$85,$50,$00,$00,$00
.byte $00,$00,$D0,$9D,$88,$88,$88,$48,$88,$55,$50,$00,$00
.byte $00,$D0,$89,$88,$88,$89,$88,$88,$88,$88,$85,$75,$00
.byte $D0,$89,$98,$88,$98,$88,$84,$88,$88,$88,$85,$88,$55
.byte $00,$00,$08,$08,$08,$08,$08,$88,$88,$88,$08,$00,$00
;Lightning, @25,4 */
lightning:
.byte $06,$05
.byte $00,$00,$dd,$00,$00,$00
.byte $00,$00,$00,$dd,$00,$00
.byte $00,$00,$dd,$00,$dd,$00
.byte $00,$dd,$00,$00,$dd,$00
.byte $dd,$00,$00,$0d,$00,$dd