- Who uses SDL anyway?
- Indie Development
What you'll learn
- Program your own 2d games using SDL 2.0
- Understand the discrete nature of games and the "game loop"
- Play sfx & music in your game
- Do body body collision detection and resolution
Description
Have you ever wanted to program your own game in C++ from scratch? Do you want to enjoy easy & free multiplatform deployment (Windows, Mac, Linux iOS and Android?). In this course, we will have a basic introduction to programming games in C++ using the SDL 2.0 library. We will use SDL 2.0 to:
- Get a window on the screen
- Draw line and rectangle primitives
- Draw sprites on the screen
- Use object-oriented principles to manage Sprites and game character data
- Load and play sounds & music from disk
- Do collision detection using Rectangles
- Manage game state & game state transitions using finite state machines
Overview & Motivation
Why use SDL 2.0? Many people opt to go with complete game engines, such as Unity or Unreal Engine 4, to create their games. Unity and Unreal have licensing costs associated with them. Are you prepared to take on that extra cost? What if you can avoid spending that money on the engine and spend it on licensing assets and other resources instead?
What about using a free and open source sound, graphics and input API to deploy your game to all devices? And the freedom to program in pure C or C++?
LibSDL lets you do all that. Simple C commands will enable you to load sounds & music, load & display hardware accelerated graphics easily. The simple framework I provide in the code examples here will make it easy for you to get started creating your own games from scratch.
Programming from C++ directly (instead of using an engine) will give you much more control over how things get done inside your game. If you like raw programming and always wanted to see how games like Super Mario Brothers, Dragon Warrior, and other classic NES games would get assembled, try this course!
Many professional & indie games use libsdl already, including:
Robin hood - the Legend of Sherwood, Left 4 Dead 2, Steel Storm, Edna & Harvey, Proteus, Psychonauts, Amnesia, FastForward, Syberia, AwesomeNauts and more.
Other Courses
Geography & Environmental Science: Sustainability
The Principles of Sustainability
A complete Guide to Managing Projects and Excelling in it
Basic Fast track guide to understanding the basics of Project Management
Comprehensive Guide to Final Cut Pro From Scratch: Part Two
Edit Video Clips and Navigate in the Timeline; Add and Edit Audio
JDBC, JSP action tags, Servlet, Server Install & Deploy.
JDBC with Oracle and MySql + JSP action tags + Server Install and Deploy a Servlet Application
Electronic Spreadsheet Class 10 I.T. Part-I
Electronic Spreadsheet Class 10 I.T. Part-I
Engineering Physics
To teach students basic concepts and principles of engineering physics, relate them to laboratory experiments and
About the instructors
- 4.46 Calificación
- 2240 Estudiantes
- 3 Cursos
W S
Professional programmer
- Competent C++ programmer
- Games programming, web programming
- University course instructor
- Published several apps in the iTunes store
- Delivers course material in an easy to understand manner
Student feedback
Course Rating
Reviews
Não existe cursou ou aula nenhuma. O autor simplesmente lê partes de códigos prontos de forma superficial sem nenhum tipo de aprofundamento. Não joguem dinheiro fora.
Good information! Could have been more information about SDL 2. The course glances over most of the SDL methods, explains the structure of a simple game well enough.
So far, So good.
This information is outdated and most of it does not work. Spending most of time finding that the code does not work and you have to google to find the correct calls.
it's broken down to short videos which makes it easy to follow. also good and easy introduction so far. not really going to the point though and it's a bit messy. it would be best if it's going from course 1 to course N developing one and only one thing step by step so the user can follow and gradually upgrade his knowledge. at the end the user must have his own product out of the course. this is the best way of learning.
The instructor is building a foundation on game creation theory, so far so good :)
I was expecting a course that would take me step by step on learning how SDL works. I wanted to create something from stratch. Intead, he just ran over his already written code that I had to download, explained a little bit of what he's doing, and that's it. Honestly, I would take my money back if I could. This course is pretty much useless