diff options
| author | raysan5 <[email protected]> | 2020-06-03 00:06:47 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-06-03 00:06:47 +0200 |
| commit | d8e079dad32f4072236b905a13e8fa6bc379df1d (patch) | |
| tree | d17ae2640485540a2e054d337be48a0ca0914650 /examples | |
| parent | 3792951023a39765957fd53757b8c6ca45803093 (diff) | |
| download | raylib-d8e079dad32f4072236b905a13e8fa6bc379df1d.tar.gz raylib-d8e079dad32f4072236b905a13e8fa6bc379df1d.zip | |
[example] Update textures_particles_blending
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/textures/textures_particles_blending.c | 4 | ||||
| -rw-r--r-- | examples/textures/textures_particles_blending.png | bin | 421110 -> 525207 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/textures/textures_particles_blending.c b/examples/textures/textures_particles_blending.c index 3e3cd844..4d1fbf4c 100644 --- a/examples/textures/textures_particles_blending.c +++ b/examples/textures/textures_particles_blending.c @@ -80,8 +80,8 @@ int main(void) { if (mouseTail[i].active) { - mouseTail[i].position.y += gravity; - mouseTail[i].alpha -= 0.01f; + mouseTail[i].position.y += gravity/2; + mouseTail[i].alpha -= 0.005f; if (mouseTail[i].alpha <= 0.0f) mouseTail[i].active = false; diff --git a/examples/textures/textures_particles_blending.png b/examples/textures/textures_particles_blending.png Binary files differindex f90a87fd..d173461c 100644 --- a/examples/textures/textures_particles_blending.png +++ b/examples/textures/textures_particles_blending.png |
