Best way to learn 2d games with D?

Arine arine123445128843 at gmail.com
Mon Mar 16 19:45:24 UTC 2020


On Monday, 16 March 2020 at 16:42:56 UTC, Mike Parker wrote:
> On Monday, 16 March 2020 at 16:19:26 UTC, Arine wrote:
>
>> There's no need for someone learning 2D games to even bother 
>> with SDL2 to begin with. If you use SDL2 you are going to be 
>> using something no one else uses, you'll be wasting your by 
>> using something that isn't that good and what you learn from 
>> it won't be that useful. I don't know anyone that uses SDL2 
>> actual API for rendering. Using OpenGL and similar API, you'll 
>> learn how data actually needs to be processed. If you just 
>> want to mess around with making a game, using a game engine 
>> like Unity is going to be better for that. No one should waste 
>> their time with SDL2's rendering API, it is awful and doesn't 
>> actually teach you anything about how rendering actually works.
>>
>
> I just disagree completely. You'll find people in the SDL 
> forums using it. I've used it. I've seen open source games 
> using it. It's simple for someone just beginning to get started 
> with. No need to muck about with the details of OpenGL, or with 
> the complexities of a full-scale game engine. For Steve's 
> purposes, it's just fine.

Yes, I see youtube tutorials that tend to use it and the quality 
of the tutorial usually reflects that. I didn't say no one uses, 
merely the individuals that tend to gravitate towards it. Just as 
I would say with smoking a cigarette. Not sure what you mean by 
complexities of a full-scale game engine. The complexity is 
almost entirely removed, to the point that you could use a visual 
scripted language like blueprint in UE4 if you wanted to.

Yah it's fine for his purposes, it's just a waste of time to use 
it. If you want to make a game, using something like Unity is 
going to be better for you. If you want to learn how game engines 
work, actually using OpenGl and such is going to be better for 
you. Just like not smoking a cigarette, there are better options.


More information about the Digitalmars-d-learn mailing list