GFX and timings fixes

This commit is contained in:
Pecusx
2025-06-13 09:23:03 +02:00
parent 5faf6caf76
commit 758bb8c07a
5 changed files with 56 additions and 43 deletions
+6 -6
View File
@@ -4,9 +4,9 @@
dta $08,$09,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$46,$47,$24,$3D,$38
dta $39,$26,$29,$26,$35,$31,$04,$26
dta $39,$26,$29,$26,$35,$31,$03,$26
dta $3F,$26,$29,$24,$25,$48,$49,$54
dta $55,$05,$31,$26,$3F,$26,$29,$24
dta $55,$02,$00,$26,$3F,$26,$29,$24
dta $25,$26,$35,$24,$3D,$31,$00,$00
dta $00,$00,$00,$00,$00,$20,$21,$26
dta $27,$26,$27,$30,$46,$47,$30,$24
@@ -14,8 +14,8 @@
dta $00,$24,$25,$24,$3D,$26,$27,$26
dta $29,$08,$09,$00,$00,$00,$00,$00
dta $26,$3F,$20,$21,$4C,$4D,$26,$29
dta $36,$57,$58,$04,$26,$3F,$30,$26
dta $43,$4E,$4F,$05,$31,$26,$35,$20
dta $36,$57,$58,$03,$26,$3F,$30,$26
dta $43,$4E,$4F,$02,$00,$26,$35,$20
dta $21,$36,$37,$30,$3A,$3B,$24,$3D
dta $4C,$4D,$44,$45,$26,$35,$30,$31
dta $00,$00,$00,$00,$00,$00,$00,$00
@@ -44,8 +44,8 @@
dta $46,$47,$24,$3D,$08,$09,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$46,$47,$24,$3D,$38,$39,$26
dta $29,$26,$35,$31,$04,$46,$47,$26
dta $27,$24,$25,$05,$31,$24,$25,$30
dta $29,$26,$35,$31,$03,$46,$47,$26
dta $27,$24,$25,$02,$00,$24,$25,$30
dta $26,$29,$54,$55,$36,$37,$26,$29
dta $4C,$4D,$30,$24,$25,$52,$53,$31
dta $00,$00,$00,$00,$00,$00,$00,$00
+23 -23
View File
@@ -7,46 +7,46 @@
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$20,$21,$24,$25,$46,$47
dta $30,$24,$3D,$3A,$3B,$08,$09,$00
dta $00,$00,$A0,$A1,$A4,$A5,$C6,$C7
dta $B0,$A4,$BD,$BA,$BB,$88,$89,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$00,$44,$45,$46
dta $47,$20,$21,$26,$43,$46,$47,$31
dta $00,$44,$45,$26,$3F,$20,$21,$24
dta $25,$26,$29,$31,$00,$00,$00,$00
dta $47,$20,$21,$26,$43,$46,$47,$1D
dta $01,$44,$45,$26,$3F,$20,$21,$24
dta $25,$26,$29,$1D,$01,$00,$00,$00
dta $00,$00,$00,$0E,$0F,$44,$45,$46
dta $47,$31,$32,$33,$24,$3D,$50,$51
dta $31,$22,$13,$48,$49,$46,$47,$46
dta $47,$24,$3D,$3A,$3B,$31,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$36,$37,$26,$29,$26
dta $2B,$46,$47,$08,$09,$00,$00,$00
dta $00,$00,$00,$B6,$B7,$A6,$A9,$A6
dta $AB,$C6,$C7,$88,$89,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$32,$33,$24,$3D
dta $50,$51,$31,$24,$3D,$26,$43,$31
dta $24,$25,$48,$49,$26,$43,$44,$45
dta $24,$3D,$22,$43,$31,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$32,$33
dta $24,$3D,$50,$51,$1D,$01,$24,$25
dta $48,$49,$26,$43,$44,$45,$24,$3D
dta $22,$43,$1D,$01,$00,$00,$00,$00
dta $00,$00,$00,$0E,$0F,$44,$45,$46
dta $47,$31,$32,$33,$24,$3D,$50,$51
dta $31,$22,$13,$48,$49,$46,$47,$46
dta $47,$24,$3D,$3A,$3B,$31,$00,$00
dta $47,$24,$3D,$3A,$3B,$1D,$01,$00
dta $00,$00,$00,$00,$00,$00,$46,$47
dta $20,$21,$22,$13,$31,$00,$44,$45
dta $20,$21,$22,$13,$1D,$01,$44,$45
dta $26,$29,$36,$37,$26,$29,$24,$25
dta $46,$47,$31,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$22,$43,$30,$24,$2D
dta $26,$2F,$46,$47,$08,$09,$00,$00
dta $00,$00,$00,$A6,$C3,$B0,$A4,$AD
dta $A6,$AF,$C6,$C7,$88,$89,$00,$00
dta $00,$00,$00,$00,$00,$00,$00,$00
dta $00,$00,$00,$00,$32,$33,$24,$3D
dta $50,$51,$31,$24,$3D,$26,$43,$31
dta $24,$25,$48,$49,$26,$43,$44,$45
dta $24,$3D,$22,$43,$31,$00,$00,$00
dta $00,$00,$00,$00,$00,$00,$32,$33
dta $24,$3D,$50,$51,$1D,$01,$24,$25
dta $48,$49,$26,$43,$44,$45,$24,$3D
dta $22,$43,$1D,$01,$00,$00,$00,$00
dta $00,$00,$00,$10,$11,$3A,$3B,$26
dta $27,$31,$32,$33,$24,$3D,$50,$51
dta $31,$22,$13,$48,$49,$46,$47,$46
dta $47,$24,$3D,$3A,$3B,$31,$00,$00
dta $00,$00,$00,$22,$43,$26,$29,$46
dta $47,$48,$49,$22,$43,$3A,$3B,$31
dta $00,$00,$24,$3D,$26,$3F,$46,$47
dta $47,$24,$3D,$3A,$3B,$1D,$01,$00
dta $00,$00,$00,$00,$22,$43,$26,$29
dta $46,$47,$48,$49,$22,$43,$3A,$3B
dta $1D,$01,$24,$3D,$26,$3F,$46,$47
dta $30,$24,$3D,$3A,$3B,$31,$00,$00
File diff suppressed because one or more lines are too long
+26 -13
View File
@@ -301,6 +301,7 @@ c_clouds = 32 ; clouds
c_shirtC = 33 ; timberman shirt on title screen
c_over1 = 34 ; additional Game Over color
c_shadow = 35 ; lumberjack green shadow
c_fonti = 36 ; invertet font color
;---------------------------------------------------
icl 'art/anim_exported.asm'
; Animations:
@@ -743,10 +744,18 @@ no_eyes
@ stx EyesPhase
jsr MenuEyesSet
jmp no_eyes_animation
*/no_eyes_change
; %10 , %01 and %11 - eyes animation
*/
cmp #1
bne no_eyes_change
; eyes down :)
ldx #0 ; set to no animation phase
stx EyesPhase
beq go_eyes_set
no_eyes_change
; %10 and %11 - eyes animation
inc EyesPhase
ldx EyesPhase
go_eyes_set
jsr MenuEyesSet
no_eyes_animation
; Foot animation (or not)
@@ -756,15 +765,18 @@ no_eyes_animation
beq no_foot ; eyes up (no animation)
; continue foot animation
inx
cpx #25 ; after last phase of foot animation (one frame = 4, one "step" = 2 frames = 8 .... +1 (ending frame) - 25 = 8(step)*3+1
cpx #65 ; after last phase of foot animation (one frame = 8, one "step" = 2 frames = 8 .... +1 (ending frame) - 65 = 8(step)*4+1
bne not_end_f
ldx #0
; end of foot animation? - eyes down :)
stx EyesPhase
jsr MenuEyesSet
ldx #0 ; set to mo animation phase
not_end_f
stx FootPhase
cpx #10
bne no_eyes_up
; foot animation phase 10 - eyes up :)
mvx #5 EyesPhase
jsr MenuEyesSet
no_eyes_up
ldx FootPhase
jsr MenuFootSet
jmp no_timber_animation
no_foot
@@ -775,9 +787,6 @@ no_foot
dec FootTimer
bne no_timber_animation
; start foot animation
; foot animation - eyes up :)
mvx #5 EyesPhase
jsr MenuEyesSet
ldx #1
stx FootPhase
jsr MenuFootSet
@@ -1669,11 +1678,11 @@ EndOfOverScreen
mva #5 StateFlag
mva #>font_titles CHBAS
mwa #dl_help dlptrs
mva GameColors+c_grass COLBAKS
mva GameColors+c_sky COLBAKS
mva GameColors+c_over1 COLOR0
mva GameColors+c_font1 COLOR1
mva GameColors+c_font2 COLOR2
mva GameColors+c_font3 COLOR3
mva GameColors+c_fonti COLOR3
lda #@dmactl(narrow|dma) ; narrow screen width, P/M off
sta dmactls
pause 1
@@ -3160,7 +3169,7 @@ AutoScreen
;--------------------------------------------------
; set eyes to phase in X register
txa
:2 lsr ; 4 times lower animation speed
:3 lsr ; 8 times lower animation speed
and #%00000001
tax
lda title_animf_tableL,x
@@ -3842,6 +3851,8 @@ PAL_colors
.by $10
; shadow
.by $c6
; inverted fonts
.by $fa
NTSC_colors
; black
.by $00
@@ -3905,6 +3916,8 @@ NTSC_colors
.by $20
; shadow
.by $d6
; inverted fonts
.by $2a
;--------------------------------------------------
title_anime_tableL
.by <eyes_0 ; first eyes animation
BIN
View File
Binary file not shown.