Ping Pong in Lua
Tsoding Daily
0:00 / 0:00
Ping Pong in Lua
31 705 просмотров · 10 часов назад
Tsoding Daily
219 тыс. подписчиков
31 705 просмотров · 10 часов назад
Streamed Live on Twitch: / tsoding
References:
https://love2d.org/
https://en.wikipedia.org/wiki/TLA%2B
https://github.com/tsoding/jaibreak
https://github.com/tsoding/ping-pong-...
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#sup...