setup cursor
give player gravity
move player
call moveplayer