mirror of https://github.com/raysan5/raylib
[example] Update textures_particles_blending
This commit is contained in:
parent
3792951023
commit
d8e079dad3
|
@ -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;
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 411 KiB After Width: | Height: | Size: 513 KiB |
Loading…
Reference in New Issue