move direction and speed to simple vector, add platform example