aboutsummaryrefslogtreecommitdiff
path: root/assets.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-04-30 21:50:07 -0700
committer1029chris <1029chris@gmail.com>2016-04-30 21:50:07 -0700
commit9cbb6fa487c4e87085c1e32269ce671e99760b44 (patch)
treef7056cc4e2abe913f26d82a6c09d81a7876de611 /assets.lua
parent0b95f7b3e6531d599d705fb8692d86fc0abb45d6 (diff)
Added more to the fight
ship explodes at 20 health fight stops at 0 health other fixes refresh rate adjustments
Diffstat (limited to 'assets.lua')
-rw-r--r--assets.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets.lua b/assets.lua
index f58b911..e0be34e 100644
--- a/assets.lua
+++ b/assets.lua
@@ -108,6 +108,7 @@ function loadAssets()
cornerSpike = love.graphics.newImage("assets/chat_bubble_cornerspike.png"),
turret1 = love.graphics.newImage("assets/virus1_turret.png"),
turret2 = love.graphics.newImage("assets/virus1_turret2.png"),
+ turret2Held = love.graphics.newImage("assets/virus1_turret2_held.png"),
shipFront = love.graphics.newImage("assets/virus1_ship_front.png"),
shipBack = love.graphics.newImage("assets/virus1_ship_back.png")
}
@@ -126,6 +127,7 @@ function loadAssets()
v1.turret[4] = {r=math.rad(-30),x=0,y=0,rt=math.rad(-30),t=0,tl=4}
v1.laserSound = love.audio.newSource("assets/virus1_laser.ogg")
v1.laserSound:setVolume(0.6)
+ v1.explosionSound = love.audio.newSource("assets/explosion.ogg")
v1.bullets = {}
v1.bullet = love.graphics.newImage("assets/bullet_green.png")
v1.bulletRed = love.graphics.newImage("assets/bullet_red.png")