Creating Games From Scratch Using SDL 2.0
Creating Games From Scratch Using SDL 2.0, available at Free, has an average rating of 4.2, with 26 lectures, based on 33 reviews, and has 496 subscribers.
You will learn about 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 This course is ideal for individuals who are This course is not about creating robust game engines! or We will see some typical engine code (collision detection code), but our focus is on game assembly using SDL or This game is not about creating game art.. that princess is in another castle! or If you're interested in interfacing with SDL 2.0 directly (with no other layers between!) this course is for you or Our core focus in this course will be creating games using SDL It is particularly useful for This course is not about creating robust game engines! or We will see some typical engine code (collision detection code), but our focus is on game assembly using SDL or This game is not about creating game art.. that princess is in another castle! or If you're interested in interfacing with SDL 2.0 directly (with no other layers between!) this course is for you or Our core focus in this course will be creating games using SDL.
Enroll now: Creating Games From Scratch Using SDL 2.0
Summary
Title: Creating Games From Scratch Using SDL 2.0
Price: Free
Average Rating: 4.2
Number of Lectures: 26
Number of Published Lectures: 24
Number of Curriculum Items: 26
Number of Published Curriculum Objects: 24
Original Price: Free
Quality Status: approved
Status: Live
What You Will 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
Who Should Attend
- This course is not about creating robust game engines!
- We will see some typical engine code (collision detection code), but our focus is on game assembly using SDL
- This game is not about creating game art.. that princess is in another castle!
- If you're interested in interfacing with SDL 2.0 directly (with no other layers between!) this course is for you
- Our core focus in this course will be creating games using SDL
Target Audiences
- This course is not about creating robust game engines!
- We will see some typical engine code (collision detection code), but our focus is on game assembly using SDL
- This game is not about creating game art.. that princess is in another castle!
- If you're interested in interfacing with SDL 2.0 directly (with no other layers between!) this course is for you
- Our core focus in this course will be creating games using SDL
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.
Course Curriculum
Chapter 1: Undefined
Lecture 1: Who uses SDL anyway?
Lecture 2: Indie Development
Chapter 2: Structure of a Game
Lecture 1: Game software is complex!
Lecture 2: Game loop
Lecture 3: The discreteness of the game loop
Chapter 3: Setting up SDL
Lecture 1: SDL sample program
Lecture 2: Installing SDL 2.0 on Windows
Lecture 3: Installing SDL 2.0 on Mac OS X
Lecture 4: [Part 1/2] SDL 2.0 Barebones Bootstrap/Starter Explained (SDL_Init())
Lecture 5: [Part 2/2] SDL 2.0 Barebones Bootstrap/Starter Explained (draw function)
Chapter 4: Basic Sprites
Lecture 1: CONTENT: Spriting
Lecture 2: Installing SDL_Image 2.0
Lecture 3: Sprite class data members overview
Lecture 4: Sprite::Sprite ctor and image load
Lecture 5: Moving the Sprite 1 – Controller class update()
Lecture 6: Moving the Sprite 2 – sprite displacement
Lecture 7: Moving the Sprite 3 – Sprite::update() (bounds)
Lecture 8: Sprite::draw()
Chapter 5: Basic game structure using PING: FSM's & Sounds
Lecture 1: CONTENT: Ping
Lecture 2: Sound & Music: Loading
Lecture 3: Sound and Music: Playback
Lecture 4: FSM – finite state machines for game state
Chapter 6: Side Scroller game using "Adventures of Dario"
Lecture 1: CONTENT: Adventures of Dario
Lecture 2: Collision Detection using Rectangles
Instructors
-
W S
Professional programmer
Rating Distribution
- 1 stars: 7 votes
- 2 stars: 5 votes
- 3 stars: 2 votes
- 4 stars: 10 votes
- 5 stars: 9 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024