Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thank you for the detailed response!

I will be sure to check out all of those resources.

> Also, is there a specific reason why you don’t want to use SDL’s built-in renderer?

Not at all. Is that an alternative to OpenGL? I'm quite new to this, and I had just assumed OpenGL would be the thing to use for a game like this. I would prefer to do everything with SDL2. As you pointed out, I think that would make it easier on me as a beginner.

> What language are you planning to use?

I will be using Odin (https://odin-lang.org/). I have found it easy to follow any SDL2 tutorials that use C.

Nice! Odin looks cool.

Is that an alternative to OpenGL?

Not really. OpenGL is a graphics API, for more or less giving flat instructions to the graphics card. SDL, however, includes a 2-D renderer out of the box which is very easy to use: You can load in a bitmap, send it to a texture and then draw it to the screen. I don’t know if the Odin binding of SDL binds the renderer API, but chances are it does. Here’s an example of drawing a picture with SDL’s renderer.

(+1)

Nice! Odin looks cool.

Definitely. I'm really enjoying it.

> I don’t know if the Odin binding of SDL binds the renderer API, but chances are it does.  Here’s an example of drawing a picture with SDL’s renderer.

Yup! It sure does.

OpenGL is a graphics API, for more or less giving flat instructions to the graphics card. SDL, however, includes a 2-D renderer out of the box which is very easy to use.

Ok, cool. I'll leave OpenGL for later. Odin has bindings for that, as well, when the time comes.