SDL-Game-Project About. SDL-Game-Project is my personal repository that I use while learning Game Development with SDL 2.0. The Code and other source files are part of the development series that I am following from 'SDL Game Development' book by Shaun Michelle. If you are in SRM-OSC group, you might want to check this out.
That being said there isn't any source code for the SDL game Development book, only completed games which you won't understand unless you finish the book. However, the other book has source code and videos for every single chapter in both SDL 1.2 and SDL 2.0.
Discover how to leverage the power of SDL 2.0 to create awesome games in C++
By request the link to download the source code can be found @ matthewbradberry.com. Autoplay When autoplay is enabled, a suggested video will automatically play next.
Overview
Create 2D reusable games using the new SDL 2.0 and C++ frameworks
Become proficient in speeding up development time
Create two fully-featured games with C++ which include a platform game and a 2D side scrolling shooter
An engaging and structured guide to develop your own game
In Detail
SDL 2.0 is the latest release of the popular Simple DirectMedia Layer API, which is designed to make life easier for C++ developers, allowing you simple low-level access to various multiplatform audio, graphics, and input devices.
SDL Game Development guides you through creating your first 2D game using SDL and C++. It takes a clear and practical approach to SDL game development, ensuring that the focus remains on creating awesome games.
Starting with the installation and setup of SDL, you will quickly become familiar with useful SDL features, covering sprites, state management, and OOP, leading to a reusable framework that is extendable for your own games. SDL Game Development culminates in the development of two exciting action games that utilize the created framework along with tips to improve the framework.
What you will learn from this book
Draw in SDL and build the SDL_image extension
Develop reusable classes
Get to grips with game related object-oriented programming
Integrate a variety of user inputs into your games, such as joysticks or keyboards
Use factories that enable us to create objects dynamically at runtime
Create 2D maps through the use of tiles
Easily apply the framework to different game genres
Understand the scrolling of a tile map using the position of the player and collision detection
Approach
Written as a practical and engaging tutorial, SDL Game Development guides you through the development of your own framework and the creation of two exciting, fully-featured games.
Who this book is written for
SDL Game Development is aimed at C++ developers who want to learn the fundamentals of SDL for cross-platform game development. This isn't a beginner's guide to C++, so a good knowledge of C++ and object oriented programming is a must.
Space Shooter Game Demo - C++ + SDL
This page contains source code for a simple space shooter game written in C++ using the SDL library. There are no enemies or levels, but only a ship that shoots bullets. This is meant for a beginner who is interested in getting started with SDL for use of making games. (This will be an ongoing tutorial)
All source code can be found in the ZIP fileVersion Downloads with project files (All you really need is the source):Version 3: Enemies, Event Queue(timer based), explosions, bullet & enemy collision, some minor code fixesVersion 2: Animated sprites, uses custom sprite classNew to SDL? Start with Version 1 belowVersion 1: Project file for DevCpp (Windows)Version 1: Project file for Code::Blocks (Linux)
Also, for a Sprite class with rotations, animations, etc. Check out my ongoing Sprite library, also written in C++ using SDLSDL Sprite Library
Sdl Source Code
Sdl Game Development Source Code Download Movie
Please enable JavaScript to view the comments powered by Disqus.comments powered by Disqus