Gaming Programming

I know this might be a half ass question but, I need to learn some stuff for game engines, and just plain game programming. I want to make a game like "I see you" (Basically just a easy short pix-elated game). I already have a program for the art, just I want to learn how to make hallways, doors, then a monster kill the player. But again I need to learn everything about basic programming in C++. Some basic examples of programming would be much appreciated.Like:
Code:
Something
something
/Code
Then what it does, thank you.
And also if you could list some terminology that would also be very appreciated.
Last edited on
I don't think you would use a game engine for something like that.. game engines are for like 3d games or big games I believe you could use SDL for simple graphics or even just make a simple console game like snake where you don't even need graphics you can just use characters to get started with. If there is a will there is a way anything is possible in c++.
You have to crawl before you can walk/run. If you want to skip right to game design get a program that lets you design a game around a template. But if you want to build your own game you need to know enough about programming to work with a programming language. Do the tutorial on this site, it'll probably take a month or two. Then move on from there. Maybe in a year you could make a 3d game if you work at it every day and are good at math.
johnc445 wrote:
"I need to learn some stuff for game engines"

2-D or 3-D engines? or engines in general? Based on the game you referenced, you're looking at a 3-D game engine, in which case, you're looking at a time-consuming project. I don't mean to sound demotivating, but it's the truth, especially when you know very little about C++. While games and their counterparts, engines, are normally implemented in C++, other languages can be used too such as C# (XNA) or Java.

johnc445 wrote:
"just plain game programming."

Define "plain game programming."

gitblit wrote:
"I don't think you would use a game engine for something like that.. game engines are for like 3d games or big games"

I wouldn't go so far as to disregard an engine as the base of a basic 2-D game. Naturally, a commercial 3-D game-engine like Unreal, CryENGINE and id Tech, are more complex from an architectural stand-point in comparison to a 2-D game-engine.

agnophilo wrote:
"and are good at math."

Not necessarily. There are libraries out there, like Direct-X, that have mathematical utilities for graphic artists -- one could use those utilities until they are proficient with mathematics enough to implement their own maybe.

Wazzak
Last edited on
You have to crawl before you can walk


^^^^


get a book on programming basics in C++. also the new boston C++ tutorial on youtube is great if you need a visual on how to do things. and the tutorial on this site is an excellent reference to C++.



Ok thank you for all the responses! But I want to build an engine, I don't want to use a program, I want to do this from the ground up! So I will look around this site, but if you know a tut for building a game from the ground up that has the basics, please send it to me.
Ok guys, I am using notepad plus plus and whenever I try to open the program it just brings up the coding. I save it as a .cpp but it doesn't work. Please help.
You need to compile the source code to generate a working program. For this, you need a compiler. There are many compilers out there, but for now, I would suggest using the MinGW compiler which is shipped with Code::Blocks[1].

[1]http://www.codeblocks.org/

Wazzak
Registered users can post here. Sign in or register to post.