From cdd03bd5a4b116628accb08665cf05061db50710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkki=20Sepp=C3=A4l=C3=A4?= Date: Tue, 21 Oct 2014 08:52:45 +0300 Subject: [PATCH] Reduced ammo lifetimes so that they only wrap once around the game area --- entities/tinyshot.lua | 2 +- entities/vickers77.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entities/tinyshot.lua b/entities/tinyshot.lua index cb4adda..466dd1f 100644 --- a/entities/tinyshot.lua +++ b/entities/tinyshot.lua @@ -9,7 +9,7 @@ local explosionFrames = AnimationFrames("resources/graphics/miniexplosion-%04d.p TinyShot = Class{ __includes = Rectangle, - MAX_LIFETIME = 60 * 5, + MAX_LIFETIME = 60 * 1, img = nil, frame = 0, diff --git a/entities/vickers77.lua b/entities/vickers77.lua index 78880e7..e0bd485 100644 --- a/entities/vickers77.lua +++ b/entities/vickers77.lua @@ -8,7 +8,7 @@ local explosionFrames = AnimationFrames("resources/graphics/miniexplosion-%04d.p Vickers77 = Class{ __includes = Rectangle, - MAX_LIFETIME = 60 * 5, + MAX_LIFETIME = 60 * 2, img = nil, frame = 0,