> I think you can use this action to enlarge the sprite and replace the "+" for "-" to decrease the size.
>
> action
> --> set width = self.width+10*dt
> --> set height = self.height+10*dt
>
But I cannot use every tick there isn't it?
Then the ball travelling diagonal will decrease in a different rate than when travelled straight?
How do I use it in reference to it's Y rather than leaving it to time?
Thanks for response
This is what I quickly can come up with, but if this works, it only makes the ball bigger, when moving up on the Y-axis, instead of smaller. (perhaps it needs a negative value somewhere to inverse it? Poor math skills here)
Start layout:
BeginY (Y of where player near camera stands) - EndY (where other player stands) = glob var Difference
set BallOriginalSize to (ball.width, ball.height)
every tick:
set Distance to BeginY-Ball.Y
set VarThatSetsSize to Distance/Difference
SpriteBall: set width to VarThatSetsSize * BallOriginalSize