Don't Flame me!!
Ok, I know that there have been lots of threads on this, and I''ve read them all, trust me on that. I started C/C++ programming around 1 1/2 months ago. I understand the fundamentals extremely well. I''ve actually made a multiple choice type of game where you go into a house and try to find the exit, and running into monsters (yes you can fight them) This is all console too. I used the switch statement, if, while, for, and all fundamentals. I didn''t implement arrays yet, but I''m going to do that soon. What I need to know is if someone with this kind of knowledge can jump into a book named "Game Programming All In One" Any answers would greatly help me. BTW if you guys would like to see a cheesy version of the finish product, it should be done within the week after i implement arrays and enumerations. I''m asking this because I went to the Game programming forums and looked at some of the problems and it had lots of weird coding I didn''t understand... like how would arrays created a 3D world? using a 3D array obviously.. like ArrayNam[][][10] to say, but I don''t understand!! maybe that book will explain it? That''s basically what I''m asking. I want to program games in Direct X.
Hopefully someone that went down the same path as me and is programming games can answer me.
Thanks!
Thomas Sauder
I''m kind of new to programming too (about 3 months) but I read the NeHe tutorials and now I am writing some quite cool 3D stuff. If you haven''t then it would be a good idea. Also your array plan is great (it''s what I use). Also consider loading the array from a file (start this concept using 2D). Then you can edit levels externally and tweak the game after release without recompiling. However, as I said, it is easier to start with 2D (or perhaps try a 3D world in 2D with just one "layer"). Good luck and let NeHe be your guide to greatness.
>>>>>>>>>>>>>>>>>
Ilthigore
<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>
Ilthigore
<<<<<<<<<<<<<<<<<
Ok. Did you learn C++ before you went to NEHE? if so, how much?
Remember, i know the funamentals of C++, pointers, arrays, class, everything that''s fundamental!! help!!!
Remember, i know the funamentals of C++, pointers, arrays, class, everything that''s fundamental!! help!!!
Check out NeHe to learn OpenGL, but if really want to start to learn 3d, check out some of the Tutorials in the Graphics section of gamedev (under ''Articles and Resources'' at the top of the page). There are some excellent ones by Chris Hargrove that give a very good treatment of software rendering (I hope you have some high school math behind you). Learn how to do software stuff first; it will help you a lot in the long run. Then go to NeHe to learn OpenGL, which is just a faster, easier way to do the same thing.
Also, don''t try and build a 3d world with 3d arrays. I try and avoid arrays over 1d, just because they begin to cause more problems than it is worth. A 3d world is better reprensented as a set of 3d points(vertices). This avoids the nasty pointer arithmetic involved in multi-dimensional arrays.
Also, don''t try and build a 3d world with 3d arrays. I try and avoid arrays over 1d, just because they begin to cause more problems than it is worth. A 3d world is better reprensented as a set of 3d points(vertices). This avoids the nasty pointer arithmetic involved in multi-dimensional arrays.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement