Space Invaders (3/12) - Sprites and Spritesheets - Entity Class - C++/Raylib - GPS 3.3 - Urdu/اردو
Programmer Cheema
NOTE: You must have a good understanding of Object-Oriented Programming in order to understand this video. In order to learn Object-Oriented Programming using C++, you can start from here: https://youtu.be/HTXEpa9g6zE
In this video, we dived deep into textures in 2D context i.e sprites and spritesheets. We learned the concept of in-clip and out-clip rectangles. And in the end, we created the entity class having a sprite to draw/render.
Download the images/art assets (Space Shooter Asset Pack by gvitori): https://gvituri.itch.io/space-shooter
00:00 Start 00:47 Downloading the images for our game 01:18 Moving the images to our project 02:05 Creating width and height constants 02:28 Loading and drawing the image/texture 04:46 Concept of In-Clip and Out-Clip Rectangles for Sprites and Spritesheets 07:34 Creating In-Clip Rectangle for our texture and getting our desired dimensions for it 08:50 Fixing the stretched background issue 09:32 Understanding and Developing the Entity Class 12:42 Use of Virtual keyword in the Entity Class 13:21 Using Entity in our game (main function) 15:24 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.
487157539 Bytes