C/C++ Programing
Posted: Mon Oct 08, 2007 1:57 pm
Ok. so im starting to learn the C programing language, my hope is to be either a programer or game programer either as a job or for fun.
so i have some simple question about how it works.
1. To make an image on a screen.. Does the language say "put a red pixel here and a blue one here" or does it say "take this image i made in photoshop and put it at these coordinates"?
2. If i am making a program and it needs a bunch of images, does it compile these images in one file or do i need include all of them with the compiled exe.
3. What are the advantages of C++ for games versus the python language or Dark Basic which is made directly for games.
4. in a game, is the code just there to tell it were to place this object... or make its own shape and colorize it with set pixel colors. or to just load a pre-made animation based on what the player does on the keyboard... or make the axis of the character move this way based on a list of coordinates when the player hits the button?
i hope you guys can help me understand it a little more
so i have some simple question about how it works.
1. To make an image on a screen.. Does the language say "put a red pixel here and a blue one here" or does it say "take this image i made in photoshop and put it at these coordinates"?
2. If i am making a program and it needs a bunch of images, does it compile these images in one file or do i need include all of them with the compiled exe.
3. What are the advantages of C++ for games versus the python language or Dark Basic which is made directly for games.
4. in a game, is the code just there to tell it were to place this object... or make its own shape and colorize it with set pixel colors. or to just load a pre-made animation based on what the player does on the keyboard... or make the axis of the character move this way based on a list of coordinates when the player hits the button?
i hope you guys can help me understand it a little more