A downloadable asset pack

Buy Now$9.99 USD or more

A collection of SDL2 tutorials, from Parallel Realities.

https://www.parallelrealities.co.uk/tutorials

This archive contains the following tutorials:

* 2D shoot 'em up tutorial

* 2D top-down shooter tutorial

* 2D platformer tutorial

* Sprite atlas tutorial

* TTF font tutorial

* 2D adventure tutorial

* Widgets tutorial

* 2D vertical shoot 'em up tutorial

* 2D run-and-gun tutorial

* Roguelike tutorial

* Achievements tutorial

* 2D strategy game tutorial

* 2D isometric game tutorial

* 2D map editor tutorial

You can preview the list of files in the archive by following the link below:

https://www.parallelrealities.co.uk/downloads/tutorials/sdl2/SDL2_Tutorials.txt

StatusIn development
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorParallel Realities
Tagssourcecode, Tutorial

Purchase

Buy Now$9.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files:

SDL2_Tutorials.tar.gz 59 MB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

is it possible to follow along with C++? These tutorials look really insightful but I only have experience with writing cpp and c#.

(+1)

If you understand C++ then you won't have any trouble understanding these tutorials;  C++ was originally developed as an extension to C, so they were both very similar languages.

(+1)

Thanks for the reply! Just purchased your tutorials and making my way through them now. Really great stuff!

(+1)

This is the best game dev course related to C/SDL! Glad I found it

(+1)

I just bought it today. The only updated tutorial on C & SDL2 game development. Thank you very much!

(+1)

Thank you for including your new Map Editor tutorial!

(+2)

No problem. I've been making little map editors for my own games for a few years, so I thought I'd demonstrate how I go about it. It' s only a little thing, but hopefully some will find it useful / insightful.

(+1)

can u do a character creator tutorial?

(+1)

Ah, I only write about stuff I have experience with, I'm afraid.

(3 edits) (+4)

I wanted to thank you for sharing your knowledge and experience. Actually, I'm a web developer, but something I wanted to learn for a long time was to develop games in C. It will be a long learning process for me, but it is quite enjoyable. I would recommend to friends who buy this learning kit to progress slowly, it can be supported by learning openGL at the same time. If you are interested in these technologies, I highly recommend this course. These courses will also help you learn how algorithms and data structures (For Example Linked List) work. Have a nice day.

(+3)

I highly reccomend those tutorials, best money spend since long time

i agree

(+5)

These are the missing SDL2 tutorials that the world needed. Thanks!

(+2)

These are nice. Reminds me of the old magazine-listing days!

Btw, there's a memory corruption bug in the platformer tutorial. On my mac it was causing all rendering to fail with "Invalid renderer" messages. In map.c:

    static SDL_Texture *tiles[MAX_TILES];

should read:

    static SDL_Texture *tiles[MAX_TILES+1];

(+3)

Thanks! Nice spot. I've updated the PPP tutorial to fix this. The code is now:

defs.h:

#define MAX_TILES              8

map.c:

static void loadTiles(void) 
{     
    int i;     
    char filename[MAX_FILENAME_LENGTH];      
    for (i = 1 ; i < MAX_TILES ; i++)
    {
        sprintf(filename, "gfx/tile%d.png", i);          
        tiles[i] = loadTexture(filename);     
    } 
}

That should all work now (unless I've somehow introduced another bug somehow..!)

(+4)

These tutorials have been better than any other I can find for C/SDL2. Almost every other SDL tutorials I could find were either outdated, using C++, or just sort of half-baked. They're structured in an easy to understand way, and the code itself is structured in a way that's easy to understand/modify and play with on you own. Absolutely awesome, thanks so much!

(+5)

If you’re a starting C language and want to learn how to develop games using SDL2, then I would highly recommend this tutorial series. They are a great introduction into programming in C and using the many features of SDL2. They hold your hand, but also force you to look at the source code to learn what’s going on under the hood. If you’re like me and re-write what the author writes it will help solidify a lot of the concepts. You can even mod the tutorials for extra practice.

Best $5 (or more) you can spend with regard to learning SDL2.

(+3)

Thank you!