aboutsummaryrefslogtreecommitdiff
path: root/waves.lua
diff options
context:
space:
mode:
authorRibbonCable <ambiguousmachine@gmail.com>2022-02-17 21:29:10 -0800
committerRibbonCable <ambiguousmachine@gmail.com>2022-02-17 21:29:10 -0800
commitb15a0c077587ddf748d34556524416435c01ec17 (patch)
tree8d6b651465404426e1fb3eb4e9ba5c29a7c7158d /waves.lua
parent8b53a5ee4a55f455c7b1d1dd02d67778b1ec31f8 (diff)
lots of stuff, check desc
Updated planet art adjusted sprites in sheet added boss sprites added some boss graphic code added score system added ending score screen w/ cart reset reduced wave loss from 2 to 1 reduced pickup amount to just bosses and specific waves only reduced tokens by grouping similar math made acid transition able to be reversed planet seed for babymode and a bunch of other stuff I forget sry its late used a lot of tokens today x.x;
Diffstat (limited to 'waves.lua')
-rw-r--r--waves.lua22
1 files changed, 17 insertions, 5 deletions
diff --git a/waves.lua b/waves.lua
index 7a853f1..c87d088 100644
--- a/waves.lua
+++ b/waves.lua
@@ -1,11 +1,13 @@
wave = {} --store wave functions here
-currentwave = 12 --THIS IS THE CURRENT WAVE, SHOLD BE 1 UNLESS TESTING SOMETHING
+currentwave = 1 --THIS IS THE CURRENT WAVE, SHOLD BE 1 UNLESS TESTING SOMETHING
currentwavetime = 0
delaytimer = 0
everysecondtimer = 0
checkpoint = 1
changedmusic = false
+--NOTE - slow BG during boss waves / make bosses their own checkpoint
+
wave[1] = {
delay = 2,
start = function()
@@ -101,6 +103,7 @@ wave[7] = {
end,
}
+--music doesnt transition yet
wave[8] = {
delay = 1,
start = function()
@@ -109,7 +112,7 @@ wave[8] = {
addbasicenemy(240, 58, 1.1)
addbasicenemy(240, 68, 0.9)
addbasicenemy(240, 63, 1)
- addlasershooter(128, 64, 0.4, true)
+ addlasershooter(128, 64, 100, 0.4, true, true)
end,
everysecond = function()
@@ -166,12 +169,13 @@ wave[11] = {
end,
}
+--music doesnt transition yet
wave[12] = {
delay = 1,
start = function()
music(9, 0, 3)
changedmusic = true
- addwallboss(128,4,15,0.05,true)
+ addwallboss(128,4,15,225,0.05,true,false,true)
end,
everysecond = wave[8].everysecond,
conditions = wave[8].conditions
@@ -183,9 +187,9 @@ wave[13] = {
addbasicenemy(130, 58, 0.6)
addbasicenemy(130, 68, 0.5)
addbasicenemy(130, 63, 0.7)
- addlasershooter(128, -2, 0.1, false)
+ addlasershooter(128, -2, 50, 0.1, false)
addbomb(128,46, 0)
- addlasershooter(128, 90, 0.1, false)
+ addlasershooter(128, 90, 50, 0.1, false)
end,
everysecond = wave[8].everysecond,
}
@@ -231,6 +235,14 @@ wave[16] = {
everysecond = wave[8].everysecond,
}
+--ending score screen
+wave[17] = {
+ delay = 3,
+ start = function()
+ scorescreen = true
+ end
+}
+
--wave[currentwave].start()
--music(0, 0, 3)