summaryrefslogtreecommitdiffhomepage
path: root/examples/textures
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-06-03 00:06:47 +0200
committerraysan5 <[email protected]>2020-06-03 00:06:47 +0200
commitd8e079dad32f4072236b905a13e8fa6bc379df1d (patch)
treed17ae2640485540a2e054d337be48a0ca0914650 /examples/textures
parent3792951023a39765957fd53757b8c6ca45803093 (diff)
downloadraylib-d8e079dad32f4072236b905a13e8fa6bc379df1d.tar.gz
raylib-d8e079dad32f4072236b905a13e8fa6bc379df1d.zip
[example] Update textures_particles_blending
Diffstat (limited to 'examples/textures')
-rw-r--r--examples/textures/textures_particles_blending.c4
-rw-r--r--examples/textures/textures_particles_blending.pngbin421110 -> 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
index f90a87fd..d173461c 100644
--- a/examples/textures/textures_particles_blending.png
+++ b/examples/textures/textures_particles_blending.png
Binary files differ