Sokoban (2/7) - Classes & Modules in Lua - Player - Lua/LÖVE - GPS 4.2 - Urdu/اردو
Programmer Cheema
In this video, we will draw the Player in the centre after which we will make a Player class/module and we learn some of the quirky stuff of Lua regarding the class/module.
0:00 Start 0:31 Drawing Player in the Centre - Implementing LÖVE Game Loop 03:48 Some of the Lua differences compared to C++ 04:51 Implementing the Player class/module 10:46 How to use a Lua module/class in other files? 11:14 Making and implementing a Player instance 13:01 Fixing the 3 issues - module import, colon and delta time 14:08 End Result 14:19 Multiple instances of a module - Importance of setmetatable function 16:23 A function with a colon vs a function with a dot - Passing 'self' into a function as a parameter 17:40 Ending
I hope you liked my video. And if you do like it, subscribe to my channel so that, you don't miss my next video.
#ProgrammerCheema #PakistaniGameDev #GameProgrammingSeries #GameProgramming #GameDevelopment
#GameDev #IndieGameDev #IndieGame #Programming
Bold Aesthetic Creative
YouTube: https://www.youtube.com/channel/UCmL1kMduqjbXpS7s6rGdMHw?sub_confirmation=1 Patreon: https://www.patreon.com/boldaestheticcreative Discord: https://boldaestheticcreative.com/discord Games: https://boldaestheticcreative.itch.io/ Website: https://boldaestheticcreative.com/ Twitter: https://twitter.com/BilalBoss213 Facebook: https://www.facebook.com/bacStudios/ LinkedIn: https://www.linkedin.com/company/bold-aesthetic-creative-studios/
Join HomeTeam GameDev: http://hometeamgamedev.com/
Programmer Cheema
Facebook: https://www.facebook.com/programmerCheema Twitter: https://twitter.com/ProgCheema Instagram: https://www.instagram.com/programmercheema/ Portfolio: https://boldaestheticcreative.com/portfolio LinkedIn: https://www.linkedin.com/in/bilal-cheema-402bba7b/
Who is Programmer Cheema? A Pakistani Indie Game Dev who can do pretty much anything game dev related but would like you to consider me as a Gameplay Programmer since that is what I really like the most and probably, the thing in which I have spent most of the time when doing game dev.
This channel is focused on Indie Game Development, its process, and tutorials to help my fellow Pakistani community. With that said, I will be sharing my opinions on a lot of Pakistani matters. In this channel, all the videos will be in Urdu.
935198145 Bytes