Wanting to build a 2d RPG but kind of lost

Started by
14 comments, last by noobsauce 10 years, 9 months ago


This is all great and I enjoy programming but I REALLY want to start working with graphics and move towards 2d games. I've started to look into libraries like SDL and some of it looks really weird and then other parts I can understand. Usually after I get past the initial "setting up the SDL screen" tutorial it gets way advanced and I lose it. I really want to start moving into something with graphics because it's starting to feel like the console just isn't doing it for me anymore. With what I've learned, I have been able to program a decent text based RPG.

Learn basics. Start small. Make games like pong, galaga, asteroids, tetris. Once you can do those... you'll be ready to move on to bigger things.

Patience.

I agree with IcedCrow on this one. Especially the part about "Patience".

Beginner in Game Development?  Read here. And read here.

 

Advertisement

RPG is not the "most difficult genre", it's probably the most scalable one in term of difficulty since you can do a quite basic RPG.

Your quite on mark, i should have given it a second thought, my apologies.

Okay, so after spending like a total of 20 hours studying through and using pointers/classes I've got a rough understanding of both concepts (stronger in pointers). I'm not as worried about classes as is, but if it was required to I could understand basic things about what's going on in the class. I'm having a problem on tutorial #2 of the LazyFoo series.

http://lazyfoo.net/SDL_tutorials/lesson02/index.php

It's where you start blitting an image on another image. Why does he write all the code to optimize the image? If use all 32 bit graphics do you even need to do that?

Thanks!

I would suggest taking a look at SFML as well. I tried both SDL and SFML and I liked SFML more. SFML in my opinion is easier to learn and get started with, as least that was the case for me.

Check out my blog at zwodahs.github.io and zwodahs.itch.io/

I agree with ZwodahS. SFML is much easier to use and is nice and OO and you don't have to include a bunch of add-on libraries to do simple things like drawing shapes and sound.

It's where you start blitting an image on another image. Why does he write all the code to optimize the image? If use all 32 bit graphics do you even need to do that?

Thanks!

I think in Lazyfoo's case he was using 24 bit and converting them to 32. He wants his surfaces to be the same format as the frame buffer so it copies faster.

http://sdl.beuc.net/sdl.wiki/SDL_DisplayFormat

This topic is closed to new replies.

Advertisement