Hi ALL,
done the search but not found what am looking for, or I don't understand the code if it is there.
Ok the question, I have my space ship sprite that I wish it to land on the moon.
imageposy=imageposy+(shipmass*moongravity)-backdroprateofpower.thrust
this just make it go up insted of down.
Now I know that the top of the screen is y=0. I am keeping my sprite ship still at screen center, have put my lunar land on to a plain object and are trying to get this object to move up the screen so that it looks like the ship is landing.
can get it to work if I use
imageposy=imageposy+1.0-backdroprateofpower.thrust
but that just stay at a constant rate of fall no speed up
can post code but will take time to make simple sample sprites and backdrop.
I'm not getting you down am I, Ho Look! another fancy Door?