Object Oriented Programming for the Playdate SDK

Опубликовано: 12 Апрель 2022
на канале: SquidGod
12,387
446

This video is made for complete beginners to the concept of object oriented programming (OOP). I go over what object oriented programming is, core concepts that make it up, as well as a simple example of coding with object oriented programming - all in this jam packed, 13 minute tutorial for the Playdate SDK using the Lua programming language.

Timestamps:
0:00 - Intro
0:55 - Encapsulation
1:47 - Abstraction
3:25 - Inheritance
4:36 - Polymorphism
5:23 - OOP Concept Recap
6:00 - Code Example Intro
6:22 - Creating Our First Class
10:05 - Adding Shoot and Ability Methods
10:48 - Creating Player Archetypes/Child Objects
12:27 - Checking Class Type


Source Code for OOP Example: https://github.com/SquidGodDev/Playda...

Support me on Patreon to help me make more of these videos and get access to my Playdate games/source code!:   / squidgoddev  

Join my Discord (I'm very active!):   / discord  
Follow me on Twitter (See what I'm working on early):   / squidgoddev  

I get my music and sfx from Epidemic Sound. Get 1 month free with my link! https://share.epidemicsound.com/njknzw

#Playdate #PlaydateSDK #PlaydateConsole


Смотрите видео Object Oriented Programming for the Playdate SDK онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SquidGod 12 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,387 раз и оно понравилось 446 людям.