renaming vx,xy to speedX and speedY and also adding a new way of moving sprites