Account NameQuiet Godot
Account CreatedJuly 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
StatusReleased
PlatformsHTML5
AuthorQuietGodot
Made withGodot

Leave a comment

Log in with itch.io to leave a comment.