C++ and Making games...

dantruon

Regular
One question, how does that work?

I mean is everything onscreen (the graphic) Ai, physic are code in c++.

Im realli curious since im doing c++ in uni but i cant see the applicaiton of c++ to games or specifically graphic.

So can any programmers here answer my question...

Thanks :D
 
This is better asked in the "3D Coding & Arch" or "Software Talk" boards.

In short, C++ is just a programming language. Doing graphics, AI, game-related stuff is domain knowledge. A game dev for example, knows stuff about all game-related stuff, but probably know little about things like SAP/ERP development, data-mining, etc.

A bit of advice. Pick a domain or two to specialize in besides just learning a programming language. Be it network programming, database design, embedded devices, etc.

For game development, I'm sure other posters can point to the right direction.
 
I think this is the correct forum. 3D Coding and Arch is too DX/PC centric. Anyway I also wanted to know how do you code on PS2/GC, what tools/Languages you use?
 
In its simplest way. You can encode an image as an array of integers, access these integers and modify them.

You then usually use some kind of API to get these transferred to the screen.

On different platforms than PC you use different APIs that are better suited for these specific platforms. Some even have memorymapping that allows you to write directly to the screen by writing to specific memorylocations (which you can reach by setting a pointer to point at these locations).

Read up on Jeff Minter's autobiography to learn how he learnt to do all this all by himself:

http://www.wayoftherodent.com/guests/bob_yakhistory.htm
 
01001111 01101000 00100000 01101101 01111001 00100000 01100111 01101111 01100100 00100000 01110100 01101000 01100001 01110100 00100000 01101001 01110011 00100000 01110011 01101111 01101111 01101111 01101111 01101111 01101111 01101111 00100000 01100011 01101111 01101111 01101100 00100001 00100001 00100001 00001101 00001010 00001101 00001010 01001010 01010110 01000100 00100000 01101001 01110011 00100000 01000110 01000001 01010100 00100000 01100001 01101110 01100100 00100000 01000111 01000001 01011001 00100001 00100001 00100001

:LOL:
 
01110100011010000110100101110011001000000110100101110011001000000111001101101111011011110110111101101111011011110010000001101100011000010110110101100101
 
01010100 01101000 01100101 01111001 00100000 01100011 01100001 01101110 00100111 01110100 00100000 01100101 01110110 01100101 01101110 00100000 01101100 01101111 01100011 01101011 00100000 01110100 01101000 01100101 00100000 01110100 01101000 01110010 01100101 01100001 01100100 00101100 00100000 01110111 01100101 00100111 01110010 01100101 00100000 01101110 01101111 01110100 00100000 01101111 01100110 01100110 00101101 01110100 01101111 01110000 01101001 01100011 00100001 00100000 01000001 01101110 01100100 00100000 01110111 01100101 00100000 01100001 01110010 01100101 00100000 01101101 01100001 01101011 01101001 01101110 01100111 00100000 01110011 01100101 01101110 01110011 01100101 00100000 01100001 01100110 01110100 01100101 01110010 01100001 01101100 01101100 00100001
 
dantruon,

Perhaps if you had a more specific question about programming console games it would be easier to give a more useful answer.
 
Tuttle said:
dantruon,

Perhaps if you had a more specific question about programming console games it would be easier to give a more useful answer.

I would like to know whether c++ effect the graphic in term of geometry, tecture or shader. I mean if a game dv spend most of his time coding in c++
would he get like better image quality than the one that are lazy.

And are there anymore programming language beside c++ that can do the same if not a better job then c++?
 
If you want to learn how to program in 3d, maybe you'll want to start with Java3D, at least that's how I got my start.(in fact, it's all I know)

It's a wrapper for OpenGL or DirectX(you have a choice in which api it'll call on), and has a lot of shortcuts for doing things. Even still it was far out of my ability to create anything useful with it.
My previously most complicated program was an rpg battle system with the interficial intelligence being a random number generator.(and I never wanna do that many embedded loops again....)

In about a week with Java3D with no prior experience in basically anything, I was able to make a simple 3d head, and I could add and remove various objects from the scene, shapes, lights etc, and adjust the properties of materials. The good thing is that Java provided simple ways of doing all this, so you don't really program anything.(or at least I don't think so, but I'd imagine opengl or directx would be much harder to use)
 
Fox5 said:
If you want to learn how to program in 3d, maybe you'll want to start with Java3D, at least that's how I got my start.(in fact, it's all I know)

It's a wrapper for OpenGL or DirectX(you have a choice in which api it'll call on), and has a lot of shortcuts for doing things. Even still it was far out of my ability to create anything useful with it.
My previously most complicated program was an rpg battle system with the interficial intelligence being a random number generator.(and I never wanna do that many embedded loops again....)

In about a week with Java3D with no prior experience in basically anything, I was able to make a simple 3d head, and I could add and remove various objects from the scene, shapes, lights etc, and adjust the properties of materials. The good thing is that Java provided simple ways of doing all this, so you don't really program anything.(or at least I don't think so, but I'd imagine opengl or directx would be much harder to use)


Huh??? Programming != Coding != "creating scenes".

You can "create a head" and put objects, lights, anything else in a 3D environment as an ARTIST using many 3D Applications, which then can be used to create games. You do NOT need to know how to code to do that.
Just grab a demo of Maya, Cinema4D or any other 3D package and learn how to use it. U don't even have to know what C++ is to create a 3D environment, create shapes, give them form, surfaces, light them up, anything you want.
 
london-boy said:
Fox5 said:
If you want to learn how to program in 3d, maybe you'll want to start with Java3D, at least that's how I got my start.(in fact, it's all I know)

It's a wrapper for OpenGL or DirectX(you have a choice in which api it'll call on), and has a lot of shortcuts for doing things. Even still it was far out of my ability to create anything useful with it.
My previously most complicated program was an rpg battle system with the interficial intelligence being a random number generator.(and I never wanna do that many embedded loops again....)

In about a week with Java3D with no prior experience in basically anything, I was able to make a simple 3d head, and I could add and remove various objects from the scene, shapes, lights etc, and adjust the properties of materials. The good thing is that Java provided simple ways of doing all this, so you don't really program anything.(or at least I don't think so, but I'd imagine opengl or directx would be much harder to use)


Huh??? Programming != Coding != "creating scenes".

You can "create a head" and put objects, lights, anything else in a 3D environment as an ARTIST using many 3D Applications, which then can be used to create games. You do NOT need to know how to code to do that.
Just grab a demo of Maya, Cinema4D or any other 3D package and learn how to use it. U don't even have to know what C++ is to create a 3D environment, create shapes, give them form, surfaces, light them up, anything you want.

Uh well.....I could do it in real time and create and remove stuff and rotate? I dunno, I still used code to do it though.
 
london-boy said:
Fox5 said:
If you want to learn how to program in 3d, maybe you'll want to start with Java3D, at least that's how I got my start.(in fact, it's all I know)

It's a wrapper for OpenGL or DirectX(you have a choice in which api it'll call on), and has a lot of shortcuts for doing things. Even still it was far out of my ability to create anything useful with it.
My previously most complicated program was an rpg battle system with the interficial intelligence being a random number generator.(and I never wanna do that many embedded loops again....)

In about a week with Java3D with no prior experience in basically anything, I was able to make a simple 3d head, and I could add and remove various objects from the scene, shapes, lights etc, and adjust the properties of materials. The good thing is that Java provided simple ways of doing all this, so you don't really program anything.(or at least I don't think so, but I'd imagine opengl or directx would be much harder to use)


Huh??? Programming != Coding != "creating scenes".

You can "create a head" and put objects, lights, anything else in a 3D environment as an ARTIST using many 3D Applications, which then can be used to create games. You do NOT need to know how to code to do that.
Just grab a demo of Maya, Cinema4D or any other 3D package and learn how to use it. U don't even have to know what C++ is to create a 3D environment, create shapes, give them form, surfaces, light them up, anything you want.

Then exactly what is the role/duty of c++ in the process of making a games.

Im realli confused now ppl
 
Back
Top