diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index 11890bf..569ae00 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -1407,71 +1407,6 @@ shield will return ret end --- original prototype leftover; --- likely to be the basis of a --- standard raider type, so --- i am keeping it around -chasey = mknew(ship_m.new{ - sprite = 5, - xp = 0x0.0004, - size = 1, - hurt = { - x_off = 1, - y_off = 2, - width = 6, - height = 5, - }, - sparks = smokespark, - sparkodds = 8, - hp = 1.5, - shield = 1, - maxshield = 1, - - fire_off_x = 4, - fire_off_y = 7, - - maxspd = 2, - thrust = 0.2, - drag = 0.075, - - init = function(ship) - --ship.main_gun=ship.main_gun or zap_gun_e.new{} - end -}) - -function chasey:act() - self.xmin = max(primary_ship.x-8, 0) - self.xmax = min(primary_ship.x + 8, 112 - 8*self.size) - return 0, 0, false, self.y > 10 and self.x - 16 < primary_ship.x and self.x + 16 > primary_ship.x -end - -xl_chasey=mknew(chasey.new{ - size=2, - xp = 0x0.000a, - maxspd=1.25, - hurt = { - x_off = 2, - y_off = 4, - width = 12, - height = 10 - }, - fire_off_x = 8, - fire_off_y = 15, - hp = 19.5, - shield = 5, - boss = true, - act = function(self) - local dx,dy,shoot_spec,shoot_main = chasey.act(self) - if (self.y < 4) dy=self.thrust - return dx,dy,shoot_spec,shoot_main - end, - draw = function(self) - if(self.fx_pal) pal(self.fx_pal) - sspr(40, 0, 8, 8, self.x, self.y, 16, 16) - pal() - end, -}) - -- flotilla ships ship_f = mknew(ship_m.new{