2D Game programming

Started by
3 comments, last by JPM18 22 years, 2 months ago
I would like to make a 2D rpg game like the first zelda or the first Final Fantasy using c++ does anyone know of any tutorials to help me to learn how?
Advertisement
Yeah, there is a whole series of articles on this site that go through all the steps of making a 2d rpg from the ground up, I think it''s called game programming genesis or something like that...
When I wrote my first 2d RPG in C++ I started with a stripped down ASCII art version and I learned the basics of everything I needed to in order to create better versions. I would suggest doing something similar to this before jumping into the world of sprites.
My first suggestion is that you pick up a book on C++. I''d say that "Sams Teach Yourself C++ in 21 Days" is a good choice, but alot of people dislike it.

After you have a good understanding of C++ and can make a few text-based games, you''ll have to learn a 2D Graphics API. There are two that I know of: Direct Draw and Simple DirectMedia Layer. Direct Draw is alittle harder than SDL (which is the short way of saying "Simple DirectMedia Layer") and some argue that it is more powerful. I''d say that Simple DirectMedia Layer is just as good as DirectDraw after using both, but I''ll admit to getting faster FPS with DirectDraw.

If you''re new to game programming, I''d say go with SDL. If you''re good, then SDL or DirectDraw; it really doesn''t matter. One thing you should note is that DirectDraw is only for Windows, while SDL is for Windows, Linux, MacOS and a few more.

You can check out SDL at www.libsdl.org, and in my profile signature (which is below) you can find links to SDL tutorials (I suggest you take the C++ tutorials at Cone3D.gamedev.net before going into SDL, unless you are going to read a book or already know C++).

Good luck!

------------------------------
Simple DirectMedia Layer:

Main Site - (www.libsdl.org)
Cone3D Tutorials- (cone3D.gamedev.net)
GameDev.net''s Tutorials - (Here)

OpenGL:

Main Site - (www.opengl.org)
NeHe Tutorials - (nehe.gamedev.net)
Online Books - (Red Book) (Blue Book)
------------------------------Put THAT in your smoke and pipe it
http://www.2dgame.nl/

Seems to be very good. I''m going to start on it today.

This topic is closed to new replies.

Advertisement