nearly there

This commit is contained in:
Simon Kellet
2024-08-06 18:16:14 +01:00
parent 65f4ee3473
commit 86d33a7fc5
10 changed files with 172 additions and 24 deletions
+9
View File
@@ -8,6 +8,12 @@ function ClearWalls(walls)
end
end
function ClearPowerUps(powerup)
for i, v in ipairs(powerup) do
v.collider:destroy()
end
end
function StopAllMusic()
-- TODO: maybe find a way
-- to find all 'streaming'
@@ -68,5 +74,8 @@ function RestartGame()
--Clear Walls
ClearWalls(Walls)
--ClearPowerUps
ClearPowerUps(PowerUps)
-- Done!
end