• Terence Martin's avatar
    Get the ball to set its dimensions properly · a7708ec2
    Terence Martin authored
    Now that the engine supports it, we set the dimensions of the ball
    based on the image that is loaded to display it.
    In fact three different images represent the ball, as it changes
    colors when its speed increases, but we assume that either the
    dimensions stay the same or that the bounding used to calculate
    collisions stays the same.
Ball.ts 6.83 KB