pong in godot :3
Find a file
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
.idea/.idea.Pong/.idea Initial Commit 2023-05-16 20:28:26 -07:00
addons/godot-git-plugin move the maxRandomAngle double to an exported var. 2023-05-17 10:52:55 -07:00
Scenes add enemy ai to the game 2023-05-17 23:41:40 -07:00
Scripts add enemy ai to the game 2023-05-17 23:41:40 -07:00
.gitattributes Initial Commit 2023-05-16 20:28:26 -07:00
.gitignore Initial Commit 2023-05-16 20:28:26 -07:00
BouncyMaterial.tres add enemy ai to the game 2023-05-17 23:41:40 -07:00
icon.svg Initial Commit 2023-05-16 20:28:26 -07:00
icon.svg.import Initial Commit 2023-05-16 20:28:26 -07:00
Pong.csproj Initial Commit 2023-05-16 20:28:26 -07:00
Pong.sln Initial Commit 2023-05-16 20:28:26 -07:00
Pong.sln.DotSettings.user Initial Commit 2023-05-16 20:28:26 -07:00
project.godot add enemy ai to the game 2023-05-17 23:41:40 -07:00