diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-09 09:20:14 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-09 09:20:14 -0500 |
commit | 9d7b4c9a40261b5b6b961f6ca6174fd23c40f6b8 (patch) | |
tree | 10df7ef782baa34a0770d61cc81752917aca3cee /src/player.cpp | |
parent | eb6f6d035f0b4324d881f5057639474095a02858 (diff) |
independent particle colors
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp index 0e75e05..bdfc9fc 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -110,7 +110,7 @@ void PlayerSystem::receive(const KeyDownEvent &kde) speed = 2.0f; game::engine.getSystem<ParticleSystem>()->addMultiple(10, ParticleType::SmallBlast, - [&](){ return vec2(loc.x, loc.y); }, 1000); + [&](){ return vec2(loc.x, loc.y); }, 500, 7); } else if (kc == getControl(4)) { speed = .5; } else if (kc == getControl(5)) { |