Fries
02c5b90415
right now theres just a moving ball, inside a box, with a working paddle. i had to make the ball kinematic and tell the ball to bounce when it hits the other direction.
9 lines
173 B
C#
9 lines
173 B
C#
namespace Pong.Scripts;
|
|
|
|
public static class Constants
|
|
{
|
|
/// <summary>
|
|
/// a constant representing 1 Meter in pixels.
|
|
/// </summary>
|
|
internal const double Meter = 10;
|
|
}
|