Also, you have yet to include any gravity values into the movement so that is slows down going up and then starts to come back down. Finally, its vertical decent will need to be stopped when at ground level or when landing on a platform.
You have fallspeed as a double, yet getY will always be an int. You will need to track the vertical position of the actor using a double field and use it instead of getY.
@JadeGoody, not all scenarios have to be games. This is just something that is visually pleasing. Also, the code was made available so that others may take from it what they can.
2018/6/19
PlatformGame
2018/6/19
PlatformGame
2018/6/19
PlatformGame
2018/6/19
Infinite Scrolling World
2018/6/18
Ship
2018/4/27
MouseForce
2018/4/19
MineSweeper
2018/4/16
Laser Demo
2018/4/13
Octagon Fun