aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-14 21:30:32 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-14 21:30:32 +0100
commit20d19e3c714d3e8ca3e35c170c07c563ecc719bb (patch)
tree5d77326af23e217326e50349b911876b3701af5d /src/example
parent723063e8cb49e3452a85c4fc9ce82380b87bc73e (diff)
fixed bug with lower than one particle per second
Diffstat (limited to 'src/example')
-rw-r--r--src/example/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp
index ed6afac..db0d04b 100644
--- a/src/example/game.cpp
+++ b/src/example/game.cpp
@@ -271,7 +271,7 @@ public:
= particle.add_component<ParticleEmitter>(particle_image, ParticleEmitter::Data{
.offset = {0, 0},
.max_particles = 256,
- .emission_rate = 50,
+ .emission_rate = 1,
.min_speed = 10,
.max_speed = 20,
.min_angle = -20,