Hello there,
First post at these 'ere forums, so hi everyone.
I’m trying to implement the following and have no real idea on how to do this, especially because of the lack of floating point under J2ME and also because my math sucks.
What I want to do is have a sprite at the bottom of the screen that when you press UP thrusts into the air up the Y axis up to a maximum acceleration. When letting go of the UP button, I’d like him to fall back down again until he either hits a platform or the “ground” which is (getHeight()).
Any pointers, hints, advice on how to achieve this? This is actually (from my point of view) the hardest part of my game…after this, its plain sailing.
Thanks.