mist_hgr: working on title sequence

This commit is contained in:
Vince Weaver 2021-07-11 22:11:52 -04:00
parent 9e26691bfd
commit 2e2f9cee03
6 changed files with 90 additions and 55 deletions

View File

@ -9,12 +9,17 @@ all: title_graphics.inc
####
title_graphics.inc: clock.lzsa
echo "m_link_book_lzsa: .incbin \"clock.lzsa\"" > title_graphics.inc
echo "m_title_m_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "m_title_y_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "m_title_s_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "m_title_t_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
title_graphics.inc: \
cyan1.lzsa cyan2.lzsa \
m_title_m.lzsa m_title_y.lzsa m_title_s.lzsa m_title_t.lzsa \
clock.lzsa
echo "cyan1_lzsa: .incbin \"cyan1.lzsa\"" > title_graphics.inc
echo "cyan2_lzsa: .incbin \"cyan2.lzsa\"" >> title_graphics.inc
echo "m_link_book_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "m_title_m_lzsa: .incbin \"m_title_m.lzsa\"" >> title_graphics.inc
echo "m_title_y_lzsa: .incbin \"m_title_y.lzsa\"" >> title_graphics.inc
echo "m_title_s_lzsa: .incbin \"m_title_s.lzsa\"" >> title_graphics.inc
echo "m_title_t_lzsa: .incbin \"m_title_t.lzsa\"" >> title_graphics.inc
echo "fissure_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "fissure_book_small_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "fissure_book_big_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
@ -27,31 +32,6 @@ title_graphics.inc: clock.lzsa
echo "book_ground_n_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
echo "book_closed_n_lzsa: .incbin \"clock.lzsa\"" >> title_graphics.inc
# m_link_book.lzsa \
# m_title_m.lzsa m_title_y.lzsa m_title_s.lzsa m_title_t.lzsa \
# fissure.lzsa fissure_book_small.lzsa fissure_book_big.lzsa \
# falling_right.lzsa falling_left.lzsa \
# book_air.lzsa book_sparks.lzsa book_glow.lzsa \
# book_ground.lzsa book_ground_n.lzsa \
# book_closed_n.lzsa
# echo "m_link_book_lzsa: .incbin \"m_link_book.lzsa\"" > title_graphics.inc
# echo "m_title_m_lzsa: .incbin \"m_title_m.lzsa\"" >> title_graphics.inc
# echo "m_title_y_lzsa: .incbin \"m_title_y.lzsa\"" >> title_graphics.inc
# echo "m_title_s_lzsa: .incbin \"m_title_s.lzsa\"" >> title_graphics.inc
# echo "m_title_t_lzsa: .incbin \"m_title_t.lzsa\"" >> title_graphics.inc
# echo "fissure_lzsa: .incbin \"fissure.lzsa\"" >> title_graphics.inc
# echo "fissure_book_small_lzsa: .incbin \"fissure_book_small.lzsa\"" >> title_graphics.inc
# echo "fissure_book_big_lzsa: .incbin \"fissure_book_big.lzsa\"" >> title_graphics.inc
# echo "falling_right_lzsa: .incbin \"falling_right.lzsa\"" >> title_graphics.inc
# echo "falling_left_lzsa: .incbin \"falling_left.lzsa\"" >> title_graphics.inc
# echo "book_air_lzsa: .incbin \"book_air.lzsa\"" >> title_graphics.inc
# echo "book_sparks_lzsa: .incbin \"book_sparks.lzsa\"" >> title_graphics.inc
# echo "book_glow_lzsa: .incbin \"book_glow.lzsa\"" >> title_graphics.inc
# echo "book_ground_lzsa: .incbin \"book_ground.lzsa\"" >> title_graphics.inc
# echo "book_ground_n_lzsa: .incbin \"book_ground_n.lzsa\"" >> title_graphics.inc
# echo "book_closed_n_lzsa: .incbin \"book_closed_n.lzsa\"" >> title_graphics.inc
####
%.data: %.vgi

View File

@ -0,0 +1,11 @@
; MYST M
CLS 0x80 ; black2 background
VTRI 5 87 104 74 80 87 ; left V
LINE 5 87 104 96 87 ; right V
LINETO 101 87 ; right serif
LINE 5 73 87 79 87 ; left serif
RECT 5 5 75 87 77 105 ; left bar
LINE 5 73 104 80 104 ; left foot
RECT 5 5 94 87 98 104 ; right bar
LINE 5 93 104 101 104 ; right foot
END

View File

@ -0,0 +1,9 @@
; MYST S
HTRI 5 158 87 87 90 166 ; top
LINE 5 165 87 165 90 ; top serif
HTRI 5 166 101 89 93 155 ; bar
HTRI 5 162 105 103 105 155 ; bottom
LINE 5 155 102 155 105 ; bottom serif
LINE 5 160 87 156 90 ; top left
LINE 5 163 104 166 100 ; bottom right
END

View File

@ -0,0 +1,7 @@
; MYST T
RECT 5 5 193 87 197 105 ; bar
LINE 5 191 105 199 105 ; base
LINE 5 185 87 205 87 ; top
LINE 5 185 87 185 90 ; l serif
LINE 5 205 87 205 90 ; r serif
END

View File

@ -0,0 +1,8 @@
; MYST Y
RECT 5 5 124 96 128 104 ; center bar
LINE 5 123 104 131 104 ; base
VTRI 5 127 97 118 122 87 ; left
LINE 5 115 87 124 87 ; left serif
LINE 5 127 97 136 87 ; right
LINE 5 132 87 139 87 ; right serif
END

View File

@ -268,6 +268,23 @@ reload_everything:
lda #0
sta DRAW_PAGE
;===================================
; Cyan Logo
;===================================
; missing most of the animation
; First
ldx #<cyan1_lzsa
ldy #>cyan1_lzsa
lda #25
jsr draw_and_wait
; Second
ldx #<cyan2_lzsa
ldy #>cyan2_lzsa
lda #50
jsr draw_and_wait
;===================================
; M Y S T letters
;===================================
@ -277,19 +294,19 @@ reload_everything:
; M
ldx #<m_title_m_lzsa
ldy #>m_title_m_lzsa
lda #4
lda #10
jsr draw_and_wait
; Y
ldx #<m_title_y_lzsa
ldy #>m_title_y_lzsa
lda #4
lda #10
jsr draw_and_wait
; S
ldx #<m_title_s_lzsa
ldy #>m_title_s_lzsa
lda #4
lda #10
jsr draw_and_wait
; T
@ -604,9 +621,6 @@ draw_and_wait:
jsr play_vgi
; jsr gr_copy_to_current
; jsr page_flip
pla
jsr wait_a_bit
rts
@ -636,7 +650,7 @@ theme_music:
.if 0
; click on book, plays theme
@ -647,44 +661,50 @@ theme_music:
; FISSURE: I realized the momemnt
narration1:
; 1 2 3
; 0123456789012345678901234567890123456789
.byte " I REALIZED, THE MOMENT I FELL INTO THE"
.byte " FISSURE, THAT THE BOOK WOULD NOT BE"
.byte " DESTROYED AS I HAD PLANNED."
.byte 0,20," I REALIZED, THE MOMENT I FELL INTO THE",0
.byte 0,21," FISSURE, THAT THE BOOK WOULD NOT BE",0
.byte 0,22," DESTROYED AS I HAD PLANNED.",0
; FISSURE_BOOK: _starry expanse (book tiny)
narration2:
; 0123456789012345678901234567890123456789
.byte " IT CONTINUED FALLING INTO THAT STARRY"
.byte " EXPANSE OF WHICH I HAD ONLY A"
.byte " FLEETING GLIMPSE."
.byte 0,20," IT CONTINUED FALLING INTO THAT STARRY",0
.byte 0,21," EXPANSE OF WHICH I HAD ONLY A",0
.byte 0,22," FLEETING GLIMPSE.",0
; FALLING_BOOK: (book big) falling by starscape (I have tried to speculate)
narration3:
; 0123456789012345678901234567890123456789
.byte "I HAVE TRIED TO SPECULATE WHERE IT MIGHT"
.byte " HAVE LANDED, BUT I MUST ADMIT,"
.byte " HOWEVER-- SUCH CONJECTURE IS FUTILE."
.byte 0,20,"I HAVE TRIED TO SPECULATE WHERE IT MIGHT",0
.byte 0,21," HAVE LANDED, BUT I MUST ADMIT,",0
.byte 0,22," HOWEVER-- SUCH CONJECTURE IS FUTILE.",0
narration4:
; FALLING_LEFT (still, the question) /(left)
; 0123456789012345678901234567890123456789
.byte " STILL, THE QUESTION ABOUT WHOSE HANDS"
.byte " MIGHT SOMEDAY HOLD MY MYST BOOK ARE"
.byte " UNSETTLING TO ME."
.byte 0,20," STILL, THE QUESTION ABOUT WHOSE HANDS",0
.byte 0,21," MIGHT SOMEDAY HOLD MY MYST BOOK ARE",0
.byte 0,22," UNSETTLING TO ME.",0
narration5:
; FALLING_RIGHT I know my aprehensions (right)
; 0123456789012345678901234567890123456789
.byte " I KNOW THAT MY APPREHENSIONS MIGHT"
.byte " NEVER BE ALLAYED, AND SO I CLOSE,"
.byte " REALIZING THAT PERHAPS,"
.byte 0,20," I KNOW THAT MY APPREHENSIONS MIGHT",0
.byte 0,21," NEVER BE ALLAYED, AND SO I CLOSE,",0
.byte 0,22," REALIZING THAT PERHAPS,",0
narration6:
; BOOK_GROUND the ending has not yet been written (falls, blue sparks)
; 0123456789012345678901234567890123456789
.byte " THE ENDING HAS NOT YET BEEN WRITTEN"
.byte 0,20," THE ENDING HAS NOT YET BEEN WRITTEN",0
.endif
config_string:
; 0123456789012345678901234567890123456789