summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-03 22:18:32 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-03 22:18:32 +0100
commitd2538cfdf01bbcbaf28ebd254e6fc32fd2613f8a (patch)
tree22f45ff98a900418c3cbc1d2ea663442e2800d15 /core/src
parentdaf256e629dbe272ab0267e31e19bbca31d24e1f (diff)
downloadRustAndDust-d2538cfdf01bbcbaf28ebd254e6fc32fd2613f8a.zip
RustAndDust-d2538cfdf01bbcbaf28ebd254e6fc32fd2613f8a.tar.gz
TankFireAnimation: and image tuning
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/animations/TankFireAnimation.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/animations/TankFireAnimation.java b/core/src/ch/asynk/tankontank/engine/gfx/animations/TankFireAnimation.java
index 582d1ac..a96bcc2 100644
--- a/core/src/ch/asynk/tankontank/engine/gfx/animations/TankFireAnimation.java
+++ b/core/src/ch/asynk/tankontank/engine/gfx/animations/TankFireAnimation.java
@@ -17,8 +17,8 @@ public class TankFireAnimation implements Disposable, Animation, Pool.Poolable
private static final float SHOT_SCATTERING = 60f;
private static final float TIME_SCATTERING = 0.6f;
private static final float START_DELAY = 0.8f;
- private static final float SHOT_SPEED = 700f;
- private static final float EXPLOSION_FRAME_DURATION = 0.05f;
+ private static final float SHOT_SPEED = 900f;
+ private static final float EXPLOSION_FRAME_DURATION = 0.07f;
private TextureRegion fireRegion;
private float fire_a;
@@ -29,7 +29,6 @@ public class TankFireAnimation implements Disposable, Animation, Pool.Poolable
private float fire_dy;
private float fire_dw;
- private float smoke_dx;
private float smoke_df;
private int smoke_frame;
@@ -108,7 +107,6 @@ public class TankFireAnimation implements Disposable, Animation, Pool.Poolable
this.fire_dw = (w / fire_duration);
// smoke var
- this.smoke_dx = 0f;
this.smoke_df = (FireAnimation.tankFire.rows / explosion_duration);
this.smoke_frame = 0;