first three waves of bug fixes

This commit is contained in:
Kistaro Windrider 2024-09-02 13:41:42 -07:00
parent 01ab6d3969
commit 7170552448
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1,5 +1,5 @@
pico-8 cartridge // http://www.pico-8.com pico-8 cartridge // http://www.pico-8.com
version 41 version 42
__lua__ __lua__
-- vacuum gambit -- vacuum gambit
-- by kistaro windrider -- by kistaro windrider
@ -668,7 +668,7 @@ zap_e = bullet_base.new{
damage = 1, damage = 1,
dx = 0, -- px/frame dx = 0, -- px/frame
dy = -4, dy = 4,
hitship = const_fxn(true), hitship = const_fxn(true),
@ -678,7 +678,7 @@ mknew(zap_e)
zap_p = zap_e.new{ zap_p = zap_e.new{
sprite = 8, sprite = 8,
dy = 8, dy = -8,
y_off = 0, y_off = 0,
category = player_blt_cat, category = player_blt_cat,
} }
@ -755,7 +755,7 @@ mknew(blast_gun)
protron_e = bullet_base.new{ protron_e = bullet_base.new{
--shape --shape
sprite - 24, sprite = 24,
width = 1, --in 8x8 blocks width = 1, --in 8x8 blocks
height = 1, height = 1,
hurt = { -- hurtbox - where this ship can be hit hurt = { -- hurtbox - where this ship can be hit
@ -768,7 +768,7 @@ protron_e = bullet_base.new{
y_off = 4, y_off = 4,
damage = 1, damage = 1,
dym = -0.5, -- gun sets dy; dym = 0.5, -- gun sets dy;
-- this is mult -- this is mult
category = enemy_blt_cat, category = enemy_blt_cat,
} }
@ -776,7 +776,7 @@ mknew(protron_e)
protron_p = protron_e.new{ protron_p = protron_e.new{
sprite=23, sprite=23,
dym = 1, dym = -1,
y_off = 0, y_off = 0,
category=player_blt_cat, category=player_blt_cat,
} }
@ -833,13 +833,16 @@ vulcan_e = bullet_base.new{
damage = 0.5, damage = 0.5,
-- dx from gun -- dx from gun
dy = -2, dy = 2,
category=enemy_blt_cat
} }
mknew(vulcan_e) mknew(vulcan_e)
vulcan_p = vulcan_e.new{ vulcan_p = vulcan_e.new{
sprite=22, sprite=22,
y_off = 4, y_off = 4,
dy = -4,
category=player_blt_cat
} }
mknew(vulcan_e) mknew(vulcan_e)