[001] Pong
Account Name | Quiet Godot |
Account Created | July 21, 2023 |
Game Name | [001] Pong |
<blockquote>
Screen Size : 192 x 256
Export Size : 10.2mb [zipped]
</blockquote>
<pre> Code: Enemy Paddle Position Calculation target_length = ((enemy_position.y) - (ball_position.y)) / target_direction.y target_x = ball_position.x + (target_direction.x * target_length) </pre>
<details> <summary> Spoiler Title </summary>
Spolier Body</details>
Enemy Paddle
Details
target_length = ((enemy_position.y) - (ball_position.y)) / target_direction.y target_x = ball_position.x + (target_direction.x * target_length)
- Italic
Strikethrough- link
Status | Released |
Platforms | HTML5 |
Author | QuietGodot |
Made with | Godot |
Leave a comment
Log in with itch.io to leave a comment.