mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-29 08:55:10 +00:00
lemm: work on lemming explosion taking out part of background
This commit is contained in:
parent
56c0d10635
commit
8824603ec2
@ -1,7 +1,5 @@
|
||||
+ more than 1 lemming
|
||||
+ click sound effect? select job, click on lemming,
|
||||
lemming explode, lemming exit
|
||||
|
||||
+ draw roughly circular bg destruction when lemming explodes
|
||||
+ wait a second after last lemming gone to exit
|
||||
+ update the "in" %
|
||||
+ dig off the map, end level
|
||||
|
@ -343,21 +343,31 @@ draw_explosion:
|
||||
|
||||
jsr hgr_hlin_page_toggle ; toggle to page2
|
||||
|
||||
ldx #0
|
||||
sta HGR_COLOR
|
||||
|
||||
; line from (x,a) to (x+y,a)
|
||||
ldx lemming_x
|
||||
dex
|
||||
ldy #3
|
||||
lda lemming_x
|
||||
asl
|
||||
adc lemming_x
|
||||
asl
|
||||
adc lemming_x ; multiply by 7
|
||||
tax
|
||||
pha
|
||||
ldy #7
|
||||
|
||||
lda lemming_y
|
||||
clc
|
||||
adc #11
|
||||
adc #9
|
||||
jsr hgr_hlin
|
||||
|
||||
; line from (x,a) to (x+y,a)
|
||||
ldx lemming_x
|
||||
ldy #1
|
||||
pla
|
||||
tax
|
||||
ldy #7
|
||||
lda lemming_y
|
||||
clc
|
||||
adc #12
|
||||
adc #10
|
||||
jsr hgr_hlin
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user