The Drones Strike Back and MORE | Space Shooter Part 8 #odinlang #gamedev #sdl2
Handmade Games
In this video I cover updates that give the drones the ability to fire back at our player.
MORE :: I also cover a number of general improvements to the code concerning TIMERs and Entity Speed, as well as some major updates to how I handle collision detection, updates and rendering in our loop.
I provide a detailed overview of everything along with some helpful images of the code structure to help you follow along.
You can find the finished code on this branch of the repo :: https://github.com/patrickodacre/odin-space-shooter/tree/part-8-drones-shoot-back
The code structure images are here:
- Drone Laser Timers :: https://github.com/patrickodacre/odin-space-shooter/blob/part-8-drones-shoot-back/guides/part-8-code-map-drone-laser-timers.png
- Code Overview :: https://github.com/patrickodacre/odin-space-shooter/blob/part-8-drones-shoot-back/guides/part-8-code-map-code-overview.png
Thanks for the background music, Philip!
Get 8 Bit Disco by Philip Guyler and over 1M + mainstream tracks here https://go.lickd.co/Music
License ID: m5Jk2lVDrzM ... https://www.youtube.com/watch?v=BfetmRros2M
94876899 Bytes