Lets Make a Hack n Slash game with SDL2 and C++
4.2 (23 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
285 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Lets Make a Hack n Slash game with SDL2 and C++ to your Wishlist.

Add to Wishlist

Lets Make a Hack n Slash game with SDL2 and C++

Learn how to make a nice little hack n slash using SDL2 and C++ like a boss!
Bestselling
4.2 (23 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
285 students enrolled
Created by Matthew Carr
Last updated 3/2017
English
Current price: $10 Original price: $100 Discount: 90% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 10.5 hours on-demand video
  • 18 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Make small games with SDL2 and C++
  • Learn game development fundamentals and beginner principles
  • See how it feels to be an Indie Dev :D
View Curriculum
Requirements
  • You should be familiar with C++ (if, while, for, pointers, dynamic memory, classes, inheritance)
  • Install either Visual Studio Community (2013) for Windows OR
  • Install XCode for Mac OR
  • Install CodeBlocks for Linux
  • Note: SDL2 is cross platform and can be done on Windows/Linux/Mac, however this course will be taught on Windows. The course content should work on the other 2, but the projects will be different.
Description

In this course I'll take your intermediate C++ skills, buff them up a little and use them to make a Hack n Slash game using SDL2. You'll be taken through the entire process of making this game and given source code of the project at various checkpoints if you get lost along the way.

We are going to learn basic game dev elements, such as game loop, animations, collisions, player input and AI. I'm also going to boost your skills with Inheritance and Polymorphism to simplify a complex game structure down into a few short bits of game logic.

At the end of the course you'll walk out with game dev experience and a little game you can expand on and even build up to a marketable game.

Let's make a game!

Who is the target audience?
  • This course is meant for students or hobbyist with a background in C++ looking to get into game development
  • Anyone with a C++ background who wants to try SDL2
Students Who Viewed This Course Also Viewed
Curriculum For This Course
36 Lectures
10:33:09
+
Intro
1 Lecture 04:27
+
Setup
1 Lecture 38:21
+
Project Walkthrough AND SDL Texture vs Surface
1 Lecture 09:39
Project Walkthrough
09:39
+
Globals
1 Lecture 12:53
Globals
12:53
+
Animation
6 Lectures 01:38:12
Animation Concept
10:25

Time Controller
17:21

Frame
15:09

Animation
16:58

Animation Set
12:14

Animation Loading
26:05
+
Concept: Polymorphism
1 Lecture 07:59
Polymorphism Concept
07:59
+
Entity
6 Lectures 02:22:54
Entity
32:34

Entity Functions
24:33

Collision Concept
10:01

Entity Collision
40:44

Entity Helper Functions
24:18

Entity Statics
10:44
+
Living Entity
1 Lecture 19:55
Living Entity
19:55
+
Hero
3 Lectures 01:12:18
Hero
06:57

Hero Functions
44:23

Keyboard Input
20:58
+
Walls, Obstacles, Things to bump into, etc
1 Lecture 09:48
Wall
09:48
7 More Sections
About the Instructor
Matthew Carr
4.0 Average rating
25 Reviews
348 Students
2 Courses
2HitMatt

Also known as 2 Hit Matt. I'm the lead developer and artist at 2 Hit Studio, but since we're a 2 man band, my role changes often. 2 Hit Studio is a small indie game dev team working on games such as Fatal Theory, One Heart, Blitz Smash and Starslinger Kings. I love working with C++ wherever possible and action games are my game of choice, preferably 2D with a little Japanese influence.

I've been teaching at a private college for a few years and I'm now starting to branch out onto online.

Also I have two kids and they are way awesome.