ootw: add some more intro backgrounds

This commit is contained in:
Vince Weaver 2019-01-27 15:30:00 -05:00
parent eef1d2850c
commit 3710d954a7
10 changed files with 289 additions and 7 deletions

View File

@ -37,7 +37,8 @@ intro.o: intro.s \
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
keyboard.s random16.s \
intro_building.inc intro_elevator.inc intro_off_elevator.inc \
intro_drinking.inc intro_collider_ui.inc \
intro_keypad.inc intro_scanner.inc intro_unzapped.inc \
intro_open_soda.inc intro_drinking.inc intro_collider_ui.inc \
intro_tunnel1.inc intro_tunnel2.inc intro_gone.inc
ca65 -o intro.o intro.s -l intro.lst
####
@ -79,9 +80,21 @@ intro_elevator.inc: $(PNG2RLE) intro_elevator.png
intro_off_elevator.inc: $(PNG2RLE) intro_off_elevator.png
$(PNG2RLE) asm intro_off_elevator.png off_elevator_rle > intro_off_elevator.inc
intro_keypad.inc: $(PNG2RLE) intro_keypad.png
$(PNG2RLE) asm intro_keypad.png keypad_rle > intro_keypad.inc
intro_scanner.inc: $(PNG2RLE) intro_scanner.png
$(PNG2RLE) asm intro_scanner.png scanner_rle > intro_scanner.inc
intro_open_soda.inc: $(PNG2RLE) intro_open_soda.png
$(PNG2RLE) asm intro_open_soda.png open_soda_rle > intro_open_soda.inc
intro_drinking.inc: $(PNG2RLE) intro_drinking.png
$(PNG2RLE) asm intro_drinking.png drinking_rle > intro_drinking.inc
intro_unzapped.inc: $(PNG2RLE) intro_unzapped.png
$(PNG2RLE) asm intro_unzapped.png unzapped_rle > intro_unzapped.inc
intro_gone.inc: $(PNG2RLE) intro_gone.png
$(PNG2RLE) asm intro_gone.png gone_rle > intro_gone.inc

View File

@ -135,6 +135,32 @@ off_elevator_loop:
;===============================
;===============================
;=============================
; Load background to $c00
lda #$0c
sta BASH
lda #$00
sta BASL ; load image off-screen $c00
lda #>(keypad_rle)
sta GBASH
lda #<(keypad_rle)
sta GBASL
jsr load_rle_gr
;=================================
; copy $c00 to both pages $400/$800
jsr gr_copy_to_current
jsr page_flip
jsr gr_copy_to_current
keypad_loop:
lda KEYPRESS
bpl keypad_loop
bit KEYRESET
;===============================
;===============================
@ -143,6 +169,33 @@ off_elevator_loop:
;===============================
;=============================
; Load background to $c00
lda #$0c
sta BASH
lda #$00
sta BASL ; load image off-screen $c00
lda #>(scanner_rle)
sta GBASH
lda #<(scanner_rle)
sta GBASL
jsr load_rle_gr
;=================================
; copy $c00 to both pages $400/$800
jsr gr_copy_to_current
jsr page_flip
jsr gr_copy_to_current
scanner_loop:
lda KEYPRESS
bpl scanner_loop
bit KEYRESET
;===============================
;===============================
; Spinny DNA / Key
@ -150,14 +203,43 @@ off_elevator_loop:
;===============================
;===============================
; Sitting at Desk
;===============================
; Sitting at Desk
;===============================
;===============================
; Peanut OS
;=============================
; Load background to $c00
;===============================
; Particle Accelerator Screen
lda #$0c
sta BASH
lda #$00
sta BASL ; load image off-screen $c00
lda #>(unzapped_rle)
sta GBASH
lda #<(unzapped_rle)
sta GBASL
jsr load_rle_gr
;=================================
; copy $c00 to both pages $400/$800
jsr gr_copy_to_current
jsr page_flip
jsr gr_copy_to_current
unzapped_loop:
lda KEYPRESS
bpl unzapped_loop
bit KEYRESET
;===============================
; Peanut OS
;===============================
;===============================
; Particle Accelerator Screen
;===============================
;===============================
;===============================
@ -165,7 +247,31 @@ off_elevator_loop:
;===============================
;===============================
;=============================
; Load background to $c00
lda #$0c
sta BASH
lda #$00
sta BASL ; load image off-screen $c00
lda #>(open_soda_rle)
sta GBASH
lda #<(open_soda_rle)
sta GBASL
jsr load_rle_gr
;=================================
; copy $c00 to both pages $400/$800
jsr gr_copy_to_current
jsr page_flip
jsr gr_copy_to_current
open_soda_loop:
lda KEYPRESS
bpl open_soda_loop
bit KEYRESET
;===============================
;===============================
@ -364,7 +470,11 @@ gone_loop:
.include "intro_building.inc"
.include "intro_elevator.inc"
.include "intro_off_elevator.inc"
.include "intro_keypad.inc"
.include "intro_scanner.inc"
.include "intro_open_soda.inc"
.include "intro_drinking.inc"
.include "intro_unzapped.inc"
.include "intro_collider_ui.inc"
.include "intro_tunnel1.inc"
.include "intro_tunnel2.inc"

30
ootw/intro_keypad.inc Normal file
View File

@ -0,0 +1,30 @@
keypad_rle: .byte $28 ; ysize=48
.byte $A5,$00, $22, $A5,$00, $44, $A0,$12,$CC, $44, $AE,$00
.byte $22, $A0,$27,$00, $22, $A8,$00, $06, $26,$26, $66
.byte $06, $26,$26, $66, $06, $26,$26, $66, $A0,$13,$00
.byte $22, $A9,$00, $22,$22, $66, $00, $22,$22, $66
.byte $00, $22,$22, $66, $A0,$13,$00, $22, $A9,$00, $02,$02
.byte $66, $00, $02,$02, $66, $00, $02,$02, $66
.byte $A0,$13,$00, $22, $A8,$00, $06, $26,$26, $66, $06
.byte $26,$26, $66, $06, $26,$26, $66, $A0,$13,$00, $22
.byte $A9,$00, $22, $32, $66, $00, $22,$22, $66
.byte $00, $22,$22, $66, $A0,$13,$00, $22, $A9,$00, $33,$33
.byte $BB, $00, $02,$02, $66, $00, $02,$02, $66
.byte $A0,$13,$00, $22, $A8,$00, $06, $26, $33,$33, $BB
.byte $26,$26, $66, $06, $26,$26, $66, $A0,$13,$00, $22
.byte $A9,$00, $22, $A3,$33, $BB, $22, $66, $00
.byte $22,$22, $66, $A0,$13,$00, $22, $A9,$00, $02, $03
.byte $33,$33, $BB, $02, $66, $00, $02,$02, $66
.byte $A0,$13,$00, $22, $A8,$00, $06, $26,$26, $33,$33, $3B
.byte $B6, $33, $BB, $26, $B6, $66, $A0,$13,$00
.byte $22, $A8,$00, $30, $22,$22, $A3,$33, $BB, $33
.byte $A3,$BB, $B6, $A0,$13,$00, $22, $A8,$00, $33, $32
.byte $02, $A3,$33, $BB, $B3, $A4,$BB, $A0,$13,$00, $22
.byte $A8,$00, $33,$33, $00, $A4,$33, $A6,$BB, $B0, $A0,$11,$00
.byte $22, $A8,$00, $33,$33, $30, $A5,$33, $A6,$BB, $A0,$11,$00
.byte $22, $A8,$00, $A6,$33, $B3, $33, $A6,$BB, $A0,$11,$00
.byte $22, $A8,$00, $03, $A5,$33, $3B, $B3, $33
.byte $A5,$BB, $A0,$11,$00, $22, $A9,$00, $A6,$33, $3B, $B3
.byte $33, $A4,$BB, $A0,$11,$00, $22, $A9,$00, $A7,$33, $BB
.byte $33, $3B, $A3,$BB, $A0,$AC,$00
.byte $A1

BIN
ootw/intro_keypad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

36
ootw/intro_open_soda.inc Normal file
View File

@ -0,0 +1,36 @@
open_soda_rle: .byte $28 ; ysize=48
.byte $A9,$00, $55, $A5,$00, $55, $A4,$00, $55, $A4,$00
.byte $55, $A8,$00, $55, $66, $05, $AC,$00, $55
.byte $A5,$00, $55, $A4,$00, $55, $A4,$00, $55, $A8,$00
.byte $66, $56, $AD,$00, $55, $A5,$00, $55, $A3,$00
.byte $50, $55, $A3,$00, $50, $55, $A7,$00, $50
.byte $66, $AE,$00, $05, $55, $A4,$00, $05, $A3,$00
.byte $55, $A4,$00, $55, $05, $A7,$00, $65, $56
.byte $AF,$00, $55, $A8,$00, $55, $A4,$00, $55, $A7,$00
.byte $50, $66, $A0,$10,$00, $55, $00, $A4,$B0, $A3,$BB
.byte $B5, $00, $B0,$B0, $00, $55, $A7,$00, $65
.byte $56, $A0,$10,$00, $B0, $A9,$BB, $B0, $BB,$BB, $30
.byte $BB, $B0, $A5,$00, $50, $66, $AF,$00, $B0
.byte $A5,$BB, $33, $23,$23, $22, $B2, $23, $0B,$0B
.byte $BB, $33, $BB,$BB, $A5,$00, $65, $56, $AD,$00
.byte $B0, $A6,$BB, $33, $23, $22,$22, $A3,$BB, $00,$00
.byte $BB,$BB, $33, $BB, $30, $A3,$00, $50, $66
.byte $AC,$00, $B0, $A7,$BB, $3B, $33, $A3,$22, $0B
.byte $A3,$BB, $00, $BB,$BB, $33, $BB, $33, $BB,$BB
.byte $00, $65, $56, $A7,$00, $65, $A3,$B0, $AA,$BB
.byte $03, $22,$22, $66, $00, $A4,$BB, $33, $BB
.byte $B3, $BB, $B3, $BB,$BB, $56,$56, $A7,$00, $65
.byte $66, $AD,$BB, $00, $A3,$22, $00, $0B, $A3,$BB
.byte $33, $A7,$BB, $A7,$00, $65, $66, $05, $A5,$BB
.byte $2B, $22, $2B, $A5,$BB, $00, $A3,$22, $00,$00
.byte $AB,$BB, $A6,$00, $65, $66, $56, $00, $A5,$BB
.byte $A3,$B3, $A5,$BB, $00, $02, $22,$22, $00,$00, $AB,$BB
.byte $A5,$00, $65, $66, $56, $00,$00, $A4,$BB, $3B,$3B
.byte $A5,$03, $3B, $BB, $00,$00, $02, $20, $A3,$00
.byte $33, $A9,$BB, $B0, $A3,$00, $65, $66, $56
.byte $A3,$00, $3B,$3B, $03,$03, $A8,$00, $03, $A7,$00, $33
.byte $AA,$BB, $00,$00, $50, $66, $56, $A0,$18,$00, $33
.byte $AA,$BB, $00, $50, $66,$66, $A0,$19,$00, $33, $AA,$BB
.byte $50, $66,$66, $05, $A0,$1A,$00, $33, $A9,$BB, $66,$66
.byte $05, $A0,$1B,$00, $33, $A9,$BB, $56, $05, $A0,$A7,$00
.byte $A1

BIN
ootw/intro_open_soda.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

41
ootw/intro_scanner.inc Normal file
View File

@ -0,0 +1,41 @@
scanner_rle: .byte $28 ; ysize=48
.byte $A6,$00, $55, $AE,$00, $57, $A0,$18,$00, $55, $A8,$00
.byte $22,$22, $A5,$00, $57, $A0,$17,$00, $55, $A7,$00, $22,$22
.byte $F6, $A6,$00, $57, $A5,$00, $44, $C0, $00
.byte $C0, $00, $44, $AB,$00, $55, $A7,$00, $22,$22
.byte $66, $60, $A6,$00, $57, $A4,$00, $44, $0C,$0C
.byte $00,$00, $44, $AB,$00, $55, $A7,$00, $20, $22
.byte $66, $06, $A7,$00, $57, $A3,$00, $44, $0C,$0C
.byte $00,$00, $44, $AB,$00, $55, $A5,$00, $20,$20, $22,$22
.byte $62, $AC,$00, $44, $A4,$00, $44, $AB,$00, $55
.byte $A5,$00, $A3,$22, $62, $06, $A9,$00, $44, $C4
.byte $44, $C4, $44, $C4, $44, $04, $44
.byte $AB,$00, $55, $A5,$00, $A3,$22, $26, $A0,$12,$00, $44
.byte $AB,$00, $55, $A4,$00, $22, $00, $20, $00
.byte $22, $A0,$12,$00, $04, $AB,$00, $55, $A3,$00, $22
.byte $A3,$00, $22, $02, $20, $AF,$00, $57, $AD,$00
.byte $55, $A3,$00, $22, $A3,$00, $22, $00, $22
.byte $A7,$00, $11, $31, $11, $00,$00, $57, $00
.byte $57, $AE,$00, $55, $A3,$00, $22, $A3,$00, $02
.byte $00, $22, $A7,$00, $A3,$01, $00, $57, $00
.byte $57, $AF,$00, $55, $A3,$00, $22, $00,$00, $22,$22
.byte $00, $02, $20, $A9,$00, $57, $00, $57
.byte $A4,$00, $06, $00, $06, $A8,$00, $20, $55
.byte $A3,$00, $22, $00,$00, $22,$22, $00,$00, $22, $A8,$00
.byte $57, $00, $57, $A5,$00, $06, $00, $01
.byte $A6,$00, $20, $62, $22, $55, $A3,$00, $22
.byte $00,$00, $22,$22, $00,$00, $22, $A7,$00, $57, $00
.byte $57, $A6,$00, $01, $00, $06, $A5,$00, $22
.byte $66,$66, $22, $55, $A3,$00, $22, $00,$00, $22,$22
.byte $00,$00, $22, $A6,$00, $57, $A9,$00, $06, $00
.byte $06, $A3,$00, $05,$05, $22, $66,$66, $22, $A4,$05
.byte $22, $00,$00, $22,$22, $00,$00, $22, $A0,$16,$05, $00,$00
.byte $22, $66, $26, $02, $A4,$00, $22, $00,$00
.byte $22,$22, $00,$00, $22, $A7,$00, $01, $00, $01
.byte $00, $06, $01, $00, $06, $00, $01
.byte $00, $06, $00, $06, $A3,$00, $22, $02
.byte $A6,$00, $22, $00,$00, $22,$22, $00,$00, $22, $A9,$00
.byte $01, $00, $06, $01, $A5,$00, $06, $00
.byte $06, $00, $AA,$05, $02, $00,$00, $02,$02, $00,$00
.byte $02, $A0,$16,$05, $A0,$A0,$00
.byte $A1

BIN
ootw/intro_scanner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

52
ootw/intro_unzapped.inc Normal file
View File

@ -0,0 +1,52 @@
unzapped_rle: .byte $28 ; ysize=48
.byte $A5,$22, $20, $22, $00, $02, $A5,$22, $02
.byte $A3,$00, $22, $A3,$00, $25, $22, $00, $A3,$22
.byte $00, $20, $50, $A3,$00, $62, $A5,$00, $A8,$22
.byte $20, $00, $02, $22, $02, $00, $20
.byte $00,$00, $22, $00, $20, $00,$00, $02,$02, $00
.byte $22, $20, $22, $00, $22,$22, $A3,$00, $06
.byte $60, $A4,$00, $22,$22, $02, $00, $02, $A5,$22
.byte $20, $00, $20, $22,$22, $00, $22, $00,$00
.byte $62, $22, $20, $00, $20, $02, $00
.byte $22, $00, $02, $20, $A5,$00, $06, $60
.byte $A3,$00, $A3,$22, $20,$20, $AA,$22, $00,$00, $20, $00
.byte $A4,$22, $20, $00,$00, $22, $A3,$00, $02, $20
.byte $22,$22, $00,$00, $26, $A3,$00, $AB,$22, $02, $52
.byte $22,$22, $20, $00, $22, $00, $02, $A5,$22
.byte $50, $52, $20,$20, $22,$22, $02, $A3,$22, $A5,$00
.byte $AA,$22, $20, $05, $55, $25, $22, $00,$00
.byte $22, $A6,$00, $02, $56, $55, $22, $A7,$02
.byte $00, $62, $A3,$00, $A6,$22, $00, $A3,$56, $22,$22
.byte $20, $22,$22, $00,$00, $22, $A5,$00, $20, $02
.byte $00, $22, $20, $A8,$00, $66, $A3,$00, $A6,$22
.byte $00, $A3,$55, $22,$22, $A3,$02, $00,$00, $22, $00,$00
.byte $20, $22,$22, $02, $00, $22, $00, $22
.byte $20, $A7,$00, $66, $A3,$00, $A6,$22, $00, $55
.byte $52, $55, $00,$00, $A3,$60, $00, $20, $00
.byte $20, $A3,$22, $02, $A5,$00, $22,$22, $A6,$00, $66
.byte $A3,$00, $A6,$22, $00, $A3,$55, $26,$26, $A3,$22, $00
.byte $02, $20, $00, $22,$22, $A3,$00, $25,$25, $66
.byte $00, $02, $22, $26, $60, $A4,$00, $02
.byte $A3,$00, $A6,$22, $00, $A3,$55, $22,$22, $02, $22
.byte $A3,$00, $02, $20, $A5,$00, $22,$22, $56, $00,$00
.byte $A3,$22, $A3,$00, $20, $A4,$00, $A6,$22, $00,$00, $55,$55
.byte $65, $22,$22, $00,$00, $20, $02, $00, $02
.byte $90, $99, $90, $40,$40, $42,$42, $05, $00,$00
.byte $02, $20, $02, $00,$00, $20, $02, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $66, $22, $02, $00,$00
.byte $22, $A3,$00, $99,$99, $66, $44,$44, $40, $C4
.byte $A7,$00, $20, $02, $A5,$00, $A6,$22, $00,$00, $55
.byte $05, $A5,$00, $10, $00, $01, $00, $03
.byte $06, $00, $A3,$40, $CC, $00, $10, $06
.byte $60, $66, $00, $60, $A7,$00, $A6,$22, $A8,$00
.byte $06, $00, $06, $A5,$00, $30, $36, $03
.byte $00, $06, $00,$00, $04, $00, $55, $66
.byte $A7,$00, $A4,$22, $02, $AD,$00, $03, $22, $25
.byte $55, $A9,$00, $52, $66, $A7,$00, $22,$22, $02
.byte $AF,$00, $02, $22, $00, $25, $A3,$00, $01
.byte $A5,$00, $55, $66, $A7,$00, $02, $A0,$11,$00, $22
.byte $50, $00, $50,$50, $05, $A7,$00, $55, $66
.byte $A0,$15,$00, $20, $A3,$00, $02,$02, $22, $AA,$00, $55
.byte $66, $A0,$16,$00, $02, $A4,$00, $22,$22, $20, $A8,$00
.byte $06, $A0,$A8,$00
.byte $A1

BIN
ootw/intro_unzapped.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB