from the asteroids tutorial on construct 2