This commit is contained in:
RochesterX
2025-04-16 19:57:54 -04:00
parent 5dee952cad
commit 6b7dbea593
2474 changed files with 244001 additions and 14116 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections;
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
namespace Archaic{
public class PongBallBehavior : MonoBehaviour
{
public static Vector2 score; // Don't ask why I made the score a Vector, I just felt like it
@@ -53,3 +54,4 @@ public class PongBallBehavior : MonoBehaviour
}
}
}
}

View File

@@ -1,6 +1,6 @@
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
using UnityEngine.InputSystem;
namespace Archaic{
public class PongPaddleBehavior : MonoBehaviour
{
public float speed = 5f;
@@ -44,3 +44,4 @@ public class PongPaddleBehavior : MonoBehaviour
rb.linearVelocityY = direction * speed * Time.fixedDeltaTime;
}
}
}

View File

@@ -1,6 +1,7 @@
using TMPro;
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
namespace Archaic{
public class PongScorekeeper : MonoBehaviour
{
public TextMeshProUGUI player1Score;
@@ -12,3 +13,4 @@ public class PongScorekeeper : MonoBehaviour
player2Score.text = PongBallBehavior.score.y.ToString();
}
}
}