Making Pong in TIC-80 - Part 3, Paddle limits and a bit of OOP

We need to prevent the paddle from leaving the screen, but wouldn't it be easier if the paddle knew where it was?
Everyone has to start somewhere, so let's start with a classic: Pong. We'll be using TIC-80 because it's easy to get working and has everything we need.
** Further reading **
Intro to Object Oriented Programming: • Object-oriented Progra...
TIC-80:
- Official website: tic80.com/
- Cheatsheet: zenithsal.com/assets/document...
- Wiki Documentation: github.com/nesbox/TIC-80/wiki
Code up to here: bit.ly/3werokB
Chapters:
00:00 - How to copy a tic file into your cartridge folder
03:09 - Tables in Lua
05:06 - Understanding error messages
11:27 - Paddle speed
12:13 - Check the top of the screen
17:30 - Now check the bottom, with paddle height
15:29 - Nil values and spelling mistakes
19:45 - Sugar, we're goin down

Пікірлер: 1

  • @ZachAttakkCodes
    @ZachAttakkCodes2 жыл бұрын

    Try to count how many times I save!😹