aboutsummaryrefslogtreecommitdiffstats
path: root/include/weather.hpp
diff options
context:
space:
mode:
authorAndy <drumsetmonkey@gmail.com>2017-01-19 09:21:12 -0500
committerAndy <drumsetmonkey@gmail.com>2017-01-19 09:21:12 -0500
commit213d9ccfbb4752d4c62d6b7e6b3f9172cdf1bccc (patch)
tree7872c6f30c8adf048a7863a33d837299c7fb0771 /include/weather.hpp
parent19a32074595a4a2797eaeb978f8bd302f736f6a6 (diff)
parent8452b199d28bea53bf2c5e3b3d604064000fc73d (diff)
Limb animation actually works
Diffstat (limited to 'include/weather.hpp')
-rw-r--r--include/weather.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/weather.hpp b/include/weather.hpp
index f2f5fed..8e148dd 100644
--- a/include/weather.hpp
+++ b/include/weather.hpp
@@ -50,15 +50,15 @@ public:
offset.y + game::SCREEN_HEIGHT / 2 + 100),
ParticleType::Drop, 3000, 3);
}
- break; // TODO
+ break;
case Weather::Snowy:
- if (newPartDelay++ == 4) {
+ if (newPartDelay++ == 6) {
newPartDelay = 0;
- partSystem.add(vec2(offset.x - game::SCREEN_WIDTH / 2 + randGet() % game::SCREEN_WIDTH,
- offset.y + game::SCREEN_HEIGHT / 2 + 100),
- ParticleType::Confetti, 6000, 0);
+ partSystem.add(vec2(offset.x - game::SCREEN_WIDTH + randGet() % game::SCREEN_WIDTH * 2,
+ offset.y + game::SCREEN_HEIGHT / 2 + 50),
+ ParticleType::Confetti, 10000, 0);
}
- break; // TODO
+ break;
default:
break;
}