diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-18 15:38:37 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-18 15:38:37 -0800 |
| commit | ef48284d5dbda449ad74d1da2bfe9bf02557b785 (patch) | |
| tree | ebd6e1bdbd037eb14cd621cb3d4285000b35cb61 /objects.lua | |
| parent | 803b40cd9ba514c1b6deb15e995723ba653474e4 (diff) | |
Final boss!! other stuff too :sweat_smile:
bullets now cause explosions where they hit
enemies drop random pickups again, but only health
high score is saved!!!!
other tweaks, i dunno i forgot.
Diffstat (limited to 'objects.lua')
| -rw-r--r-- | objects.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/objects.lua b/objects.lua index b605fb9..2fc11d3 100644 --- a/objects.lua +++ b/objects.lua @@ -8,12 +8,12 @@ gamerunning = false menuscroll = 0 --main screens menushipscroll = 0 acidcounter = 0 -scorescreen = false isoutro = false --for outro transition -highscore0 = 0420 --scores (0 is solo - 1 is coop) -highscore1 = 0690 +cartdata("toxicinvaders_bychrisandribbon") +highscore0 = dget(0) --scores (0 is solo - 1 is coop) +highscore1 = dget(1) currentscore = 0 --used for both gamemodes, but passed into highscore at end of game -babymode = false --makes game a lot easier +-- babymode = false --makes game a lot easier function startgame() @@ -32,5 +32,6 @@ end function drawobjs() foreach(obj, function(obj) obj:draw() end) foreach(enemies, function(obj) obj:draw() end) + clip() --for the final boss foreach(players, function(obj) obj:draw() end) end
\ No newline at end of file |
