I Need Help Getting Started

Started by
3 comments, last by naughtyusername 10 years, 10 months ago

(first off, sorry if this is the wrong thread, it seems correct, but i really don't know)

i have made 1 game in C++ (using the allegro 5 lib) following a tutorial. it made sense with the guy walking me along. i thought i understood everything, then all of a sudden i'm on my own, and can't figure out how to solve most of my problems, i spend more time googling "How to do this in C++, how to do that, etc" than i do doing anything else it seems.

when i do finally get started on my own project, i always get too ambitious and then everything fails do to me adding too many things that have no purpose.

i'm sorry to throw all this at you, but i'm just so lost and need for someone to point me to a tutorial that covers more complicated aspects of game programming, i want a tutorial that at the minimum teaches me how to program a 2d/3d RPG game, so there is quite the variety of classes, and complex things that will teach me better ways to handle things, that will give me the help i need with using classes. i feel quite confident with my understanding of the C++ language, its just when getting into the libraries and API's that mess me up, i'm also still kinda rusty with classes.

i don't want this to sound like i haven't looked and all i want is other people to do it for me, i'm not that guy, and i'm sorry if it seems that way, but i'm lost with this right now and really need some help on this, anything you can offer to help out would be awesome, and i would forever be thankful to you.

(ideal tutorials would be able to work on VS2012,has to be C++, i don't care which library it uses, i prefer openGL, but i'll take DX without hesitation. thanks again.)

Advertisement

I am not sure if there is a tutorial which will teach you how to make such a game... Mostly programming is about problem solving right? Try to isolate different problems and then break them down into smaller workable parts. And practice, practice and practice some more.

Eg. If I dont understand how classes work. Then I would go online/find a book to learn more about them. Eg I would begin at http://www.cplusplus.com/doc/tutorial/classes/

After to test my newly founded knowledge, I would make a couple of small programs. Just to play around with the new concepts.

This way, they would stick in my head and hopefully I would be able to use them in a proper project.

If I dont understand something, I would try to search online/ read more to find the needed information.

To make the RPG game, I would need to be able to have/know (from the top of my head):

- Render the bitmaps on the screen. ( In the OP it says you used Allegro 5, can use it again. Less things to learn)

- Some kind of combat system.

- map

- inventory

- store character, enemy information

- save/load

You could try to make the game first as a console application, just text. That way it would be simpler to design and you can concentrate on figuring how things work.

Later you could transform the project in 2D/3D. I wouldn't start yet using OpenGL/D3D as the complicate things a bit more.

It seems you are trying to take on too many things at the same time and getting lost/frustrated because of that. So put aside this game for now and make smaller projects like Pong, Tic-tac-toe. The design,rules and how these games play out is well know and documented. Eg pong has 2 paddles and a ball.

These two games can be even done in a single main.cpp without any classes. When you get them finished you would feel really good biggrin.png. Maybe after this, you could try to write classes and make the code cleaner easier to deal with.

By the end you would probably have your own class to manage windows, some kind of render system, a class to store entity informaion. This should give you the minimum neccessary information to make the RPG. Plus you would get more used to programming. It will become easier to solve whatever challenges come out as you have more practice.

Dont worry so much about the different libraries. I dont know anybody who knows these things by heart. Thats why allegro, sdl, opengl, etc have documentation. When you dont know something, can look that up or search online.

Before going online to search how to do something, try to solve the problem from what you know. If its not working after a while, THEN go online and seach for a solution.

Good luck, and get coding hehe smile.png

Hi you (:
I just started myself, about 3 days ago. The way i do it is:

I found some tuts and websites about "Console app programming", then i played around with that for a day, and created a program with a "Login, App Menu with a "Calculator, Text based game, Guessing Game and kinda logic conversation answer thingy, kinda like cleverbot" not as advanced though d;

then i started looking in to the basic C and C++ coding language, learning the basic keywords like, if, else if, else, while, for and so on and so on.

Then today, "Currently". i am making games. Earlier i made a "Packman game" and now i am making a Tic Tac Toe. The way i do it, is that i watch tuts on how to do it, and then i use "His code" but rewritten, so no copying, just "Reforming" the code, and "U HAVE TO UNDERTSAND WHAT EVERYTHING IN YOUR CODE MEANS AND DOES!!".

Then tomorrow i'm gonna look in to texturing / skinning, and maybe alittle bit about game databases and such (:

If you are engaged in learning C++. You can write to me here, or on steam or something. I could use someone to learn it with. Could also make it more fun with making the games, and testing them (:

I am not sure if there is a tutorial which will teach you how to make such a game... Mostly programming is about problem solving right? Try to isolate different problems and then break them down into smaller workable parts. And practice, practice and practice some more.

Eg. If I dont understand how classes work. Then I would go online/find a book to learn more about them. Eg I would begin at http://www.cplusplus.com/doc/tutorial/classes/

After to test my newly founded knowledge, I would make a couple of small programs. Just to play around with the new concepts.

This way, they would stick in my head and hopefully I would be able to use them in a proper project.

If I dont understand something, I would try to search online/ read more to find the needed information.

To make the RPG game, I would need to be able to have/know (from the top of my head):

- Render the bitmaps on the screen. ( In the OP it says you used Allegro 5, can use it again. Less things to learn)

- Some kind of combat system.

- map

- inventory

- store character, enemy information

- save/load

You could try to make the game first as a console application, just text. That way it would be simpler to design and you can concentrate on figuring how things work.

Later you could transform the project in 2D/3D. I wouldn't start yet using OpenGL/D3D as the complicate things a bit more.

It seems you are trying to take on too many things at the same time and getting lost/frustrated because of that. So put aside this game for now and make smaller projects like Pong, Tic-tac-toe. The design,rules and how these games play out is well know and documented. Eg pong has 2 paddles and a ball.

These two games can be even done in a single main.cpp without any classes. When you get them finished you would feel really good biggrin.png. Maybe after this, you could try to write classes and make the code cleaner easier to deal with.

By the end you would probably have your own class to manage windows, some kind of render system, a class to store entity informaion. This should give you the minimum neccessary information to make the RPG. Plus you would get more used to programming. It will become easier to solve whatever challenges come out as you have more practice.

Dont worry so much about the different libraries. I dont know anybody who knows these things by heart. Thats why allegro, sdl, opengl, etc have documentation. When you dont know something, can look that up or search online.

Before going online to search how to do something, try to solve the problem from what you know. If its not working after a while, THEN go online and seach for a solution.

Good luck, and get coding hehe smile.png

thank you, im going to get started right now

Hi you (:
I just started myself, about 3 days ago. The way i do it is:

I found some tuts and websites about "Console app programming", then i played around with that for a day, and created a program with a "Login, App Menu with a "Calculator, Text based game, Guessing Game and kinda logic conversation answer thingy, kinda like cleverbot" not as advanced though d;

then i started looking in to the basic C and C++ coding language, learning the basic keywords like, if, else if, else, while, for and so on and so on.

Then today, "Currently". i am making games. Earlier i made a "Packman game" and now i am making a Tic Tac Toe. The way i do it, is that i watch tuts on how to do it, and then i use "His code" but rewritten, so no copying, just "Reforming" the code, and "U HAVE TO UNDERTSAND WHAT EVERYTHING IN YOUR CODE MEANS AND DOES!!".

Then tomorrow i'm gonna look in to texturing / skinning, and maybe alittle bit about game databases and such (:

If you are engaged in learning C++. You can write to me here, or on steam or something. I could use someone to learn it with. Could also make it more fun with making the games, and testing them (:

alright, thanks. ill give those a shot as well.

This topic is closed to new replies.

Advertisement