Hi! I've just began creating this game where a platform character (a leaf) is falling in a vertical scroll and you have to avoid every obstacle (branchs and waterdrops).
What I want to do is to increase the leaf gravity everytime a waterdrop hits it.
I tried creating a variable : " Gravity = 30 " (Which is the starting gravity the leaf has).
Then I wrote that the variable Gravity is set to Leaf.Platform.Gravity
Everytime a waterdrop hits a leaf (by hitbox) Gravity is increased by 30 (for example), however when I'm playing I doesn't work.
Thanks for the help, I'm still a newbie with C2.