Hi there,
I'm facing a little problem here...
What I would like to accomplish is the following:
I want some variable (let's name it 'A') to decrease while the x-position of a certain sprite increases.
So say 'A' starts with a initial value of 100. As the sprite moves to the right, so as the x-position of the sprite gets higher, the value of 'A' is supposed to get lower until it reaches the value of 0 (zero) when the sprite 'hits' the right side of the screen.
Any help would be appreciated.
Thanks in advance!