Advertisement

game code

Started by October 20, 2000 07:25 AM
2 comments, last by vxde 24 years, 3 months ago
I am a high school student who is researching on game design and graphics. I would like to know about computer code for games. I heard that it includes a explicit and complex set of info in numerical form. Would someone please elighten mew on this subject. Also i would like to know all the fields in game design because I heard there were several.
Typical 3-d graphics today are done with a branch of mathematics known as linear algebra . When properly understood, it is very much like performing simple algebra on things larger than numbers, such as vectors and matrices.

There are other, more complex forms of mathematics that are used occassionally, but linear algebra is a large portion of the graphics work. The basics of linear algebra shouldn''t be too difficult for a high school student; you might ask your math instructor for pointers to books on the topic.


---- --- -- -
Blue programmer needs food badly. Blue programmer is about to die!
Advertisement
well, if you look at all the forums,you can see the different subsystems of a game:

1) graphics
2) game logic (design)
3) physics/math
4) sound/music
5) artificial intelligence
6) networking

and possibly others (is this what you meant by fields?)

and for the code, the "explicit and complex set of info in numerical form" that you refer to is probably the data that gets manipulated during the course of the game, like player position, velocity, etc.

what you have to do in code is set up VARIABLES that can hold the current state of such attributes of an object such as position, speed, health, ammo, and stuff like that. the variables can be set up into structures or classes that define the attributes of a certain object. these classes can also define methods that allow you to manipulate the data. like, a "move" method can modify the "position" variable.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Well Now,

I never really think of it that way much, but yeah thats dead on a2k...

STVOY




Pyre Light Studios (Under Construction)



This topic is closed to new replies.

Advertisement