---
title: Ping Pong in Lua
link: https://www.youtube.com/watch?v=CYmCwHJs-A8
source: youtube-com-tsodingdaily
published: 2026-10-13T15:50:24Z
updated: 2026-10-13T18:03:37Z
first_seen: 2026-10-13T18:08:43.541012300Z
authors:
- Tsoding Daily
summary: |-
  Streamed Live on Twitch: https://twitch.tv/tsoding

  References:
  - https://love2d.org/
  - https://en.wikipedia.org/wiki/TLA%2B
  - https://github.com/tsoding/jaibreak
  - https://github.com/tsoding/ping-pong-love-remastered

  Chapters:
  - 00:00:00 - Intro
  - 00:01:50 - Downloading Love2D
  - 00:04:03 - Creating Empty Game
  - 00:06:21 - Drawing Rectangle
  - 00:10:25 - Clearing Background
  - 00:15:03 - Making the Ball Move
  - 00:20:25 - Walls Collision
  - 00:25:17 - Paddles
  - 00:31:47 - Deciding on the Looks
  - 00:34:51 - Net
  - 00:46:05 - Controlling Left Paddle
  - 00:52:14 - Love2D collision detection
  - 00:57:40 - Controlling Right Paddle
  - 00:58:44 - Gamepad Input
  - 01:11:11 - Font for digits
  - 01:31:46 - Drawing Scores
  - 01:35:37 - Closed Source for Love2D
  - 01:40:54 - Planning the scope
  - 01:42:53 - Limit paddle movement
  - 01:48:49 - Ball collision with paddles
  - 02:01:53 - Scoring
  - 02:11:15 - Multi-digit Scores
  - 02:26:17 - Tweaking the Look and Feel
  - 02:30:49 - Better Ball-Paddle Collision
  - 02:50:42 - Better Joystick Detection
  - 02:55:40 - Sounds
  - 03:03:10 - Publishing
  - 03:13:51 - Outro

  Topic: Implementing classic arcade Ping Pong in Love2D with Lua

  Support:
  - https://github.com/tsoding/donate#support-tsoding
content: extracted
html: 2026-10-13-ping-pong-in-lua.html
remote_preview:
  url: https://i4.ytimg.com/vi/CYmCwHJs-A8/hqdefault.jpg
extra:
  thumbnail: https://i4.ytimg.com/vi/CYmCwHJs-A8/hqdefault.jpg
---
