I tried many ways to jump, but they never worked, untill i found one of archmage's games, sprite movment done right. anyway i simplified it. lots of credit to archmage