this my best physic engine ! it have only 3 variable and it have double jump ! it can also detect slope and 1 pixel colision !! for double jump : jump whit up arrow key and in air release the up arrow and press also in air the up arrow key .
everyting by me exept the sound of jump and double jump