
Learn to build 2D arcade games from scratch in C++ using object oriented programming, SDL, and modern C++ features, including breakout and Pacman clones, plus Tetris and Asteroids challenges.
Explore how the friend keyword lets the insertion operator access private members for debugging vectors. Implement the insertion operator with ostream, returning ostream& for chaining outside the class.
Compute vector addition and subtraction by adding or subtracting components using the head-to-tail method, and implement operator overloads for 2d vectors in code.
Explore dynamic memory in classes, emphasizing responsibilities beyond constructor and destructor, and learn using the standard library to manage allocation, with plans for move semantics examples later.
Initialize SDL with video support, create a centered window using screen width and height, and run an event loop that processes quit events and cleans up with SDL_DestroyWindow and SDL_Quit.
Learn how static binding selects the correct print function at compile time, and how virtual functions enable dynamic binding and polymorphism when treating derived objects as base types.
An in depth practical course on OOP using C++. We learn the very basics of OOP like Classes and Objects up to more advanced topics like move semantics and lambda expressions. We then take those topics and apply them through a complex application that will contain 4 different arcade games: Tetris, Break-out!, Asteroids and Pacman. We will code 2 of those games together using the techniques we learned in the previous sections. The other 2 games will be projects for students.
We'll be making this arcade app from SCRATCH (mostly), using SDL for window management, input and colour but that's it! Everything else will be hand coded by us so we can get a good understanding of what's happening underneath the hood in game engines.
What we make from scratch:
Drawing lines and shapes
Vectors
Polygon fill algorithm
2D texturing
2D sprite animations
2D rotations
Loading bitmap files
Sprite sheets
So much more!
This is an exciting course for students to take their skills to the next level through challenging problems and games. This is a HARD course, but if you stick with it (and finish all the exercises and projects), you'll not only be a better programmer than most of your peers, you'll be one step closer to getting that industry job you've been dreaming about.
There’s no risk!
This course comes with a full 30 day money-back guarantee. If you are not completely satisfied with the course, Udemy will refund you what you paid - no questions asked.
Register for the course today!