Much can be done to make this run a lot quicker. (1) convert PointVector class to a Flake class (which is already what it really is -- with the imaging and acting) (2) resetting a flake (to be a new flake) instead of removing and adding a new flake. The second part can be done in the act method of the actor class, thus eliminating the need to iterate through all flakes in the world act method.
Actually, you are setting deltaX to -fallspeed using "=-" where you should be adjusting its value with "+=". Also, when jumping, you need to set deltaX to jumpHeight using "= -".
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/8/26
Snow
2018/6/20
Space Invaders
2018/6/19
PlatformGame
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