How would I go about making a 2D Pong game?

I was thinking about making a completely 2D Pong game to improve my scripting knowledge but I have no idea where to start. I want it to be similar, if not exactly the same, to the classic 2D pong game. Thanks!

Roblox stuido its not for 2D game development, the only thing you can do its simulate 2D effect.
You will say smth like this: “But i can use GUIs to make 2D game”.
Answer: Its very expensive to calcute math stuff and making 2D framework.
If you want make 2D Pong game the only things you need its:

  1. Raycasting (to make collisions and reflects (you can google math formula for this, or find on forum)).
  2. UserInputService (to handle Player key pressing events)
  3. Any knowledge about making AI (For Pong game its not that hard, just make bot follow ball only at Y axis)

Hint: To make it interesting and possible to win, make ball move faster after every collision hit.

Examle of simulating 2D effect (look at dots):

2 Likes

this is exactly the type of reply I was looking for: informational, helpful, and straight forward. thank you.

i’ll mark this as a solution.

Kimathi

1 Like