Pong/Scripts
Fries 4200a3e7df add enemy ai to the game
the enemy can now track the player with a cast that uses a shape generated in code. the enemy moves using some fancy math that gets the sign of the distance between the ball and the enemy paddles y position to get a normalised number for velocity and the velocity is lerped to smooth out any janky movement.
2023-05-17 23:41:40 -07:00
..
Ball.cs add enemy ai to the game 2023-05-17 23:41:40 -07:00
Constants.cs make a basic prototype for a scene. 2023-05-16 23:15:31 -07:00
Enemy.cs add enemy ai to the game 2023-05-17 23:41:40 -07:00
Paddle.cs add enemy ai to the game 2023-05-17 23:41:40 -07:00
SceneManager.cs add enemy ai to the game 2023-05-17 23:41:40 -07:00