Use three instance variables:
z =100 for the z position
vz=-10 for the z speed
g=10 for the gravity
Then with events:
Every tick:
— sprite: add self.g*dt to vz
— sprite: add self.vz*dt to z
— sprite: set scale to 100/max(100,self.z)
It’s still parabolic but simpler than using the parabolic equation because you’d have to do more on top of it.
Anyways you’ll have to adjust the variables to get the effect you want.
If the object gets too big, make vz smaller.
If it happens too fast or slow, then adjust g. Keep in mind you’ll need to adjust vz after that too.
The use of max() in the set scale action limits the scale to never be lower than 100.