well, i guess you should use the industry code... since most major game developers use C++, wouldnt that be a good place to start?
well, i guess you should use the industry code... since most major game developers use C++, wouldnt that be a good place to start?
With a little research, couldn't you determine which language is best for you on your own?
Google is your friend.
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.
In my opinion, any programming language can accomplish almost anything. Some programming languages are easier for certain tasks than others. You asked whether you could create a retail-level game with C. Answer: Yes. The question is whether it's easier to write it in C++, not if it is possible.
Somehow I doubt you made an "MMORPG" if you can't even figure out what language you want to use.Originally Posted by shadok
Quzah.
Last edited by quzah; 08-20-2006 at 07:49 PM. Reason: Added a quotation for the easily confused.
Hope is the first step on the road to disappointment.
It's possible to write an operating system in BASIC, even if it would take 100x more code than a low-level language. (Personally, I prefer C++)
No you can't. Show me any version of BASIC that allows you direct hardware access.Originally Posted by joeprogrammer
Quzah.
Hope is the first step on the road to disappointment.
for game development you definitely want objects.
if you haven't understood the sense/concept of object oriented programming, then figure it out - and i'm sure you'll like it.
also the stl is such a neat thing, once you used it, you wouldn't want to live without it anymore.
first the stl is really fast, and second its easy to use.
signature under construction
well i have seen a basic ray caster (dos times) that used assembly routines to draw stuff.Originally Posted by quzah
so that would be visual basic for dos 1.0 (must have been like 10 years ago now )
signature under construction
It is just good programming practice to keep the data abstraction in place.Originally Posted by Desolation
i'd do it that way:Code:class coord { int x, y, z; public: int getX (void) { return x; } int getY (void) { return y; } int getZ (void) { return z; } void setX (int _x) { x = _x; } void setY (int _y) { x = _y; } void setZ (int _z) { x = _z; } };
see how compact it is? even with error checking! (which can be removed in release versions)Code:template<typename T, unsigned N> class _coord { private: T c[N]; public: inline T& operator[] (unsigned index) { if(index >= N) RAISE(IndexOutOfBoundsException); else return c[i]; } inline const T& operator[] (unsigned index) const { if(index >= N) RAISE(IndexOutOfBoundsException); else return c[i]; } }; typedef _coord<int, 3> coord;
edit: oops, forgot the "[]"
Last edited by Raven Arkadon; 08-21-2006 at 09:07 AM.
signature under construction
Google doesnt give you a human opinion of what language is prefered by most humans...Everyone says their language is the best, or there is a message board. This is a message board, thus I feal its my right to express myself as long as it abides by the rules and is posted in the proper place.Originally Posted by psychopath
Im just gunna push myself to learn C++. It seems thats the preference...Thanks alot you guys youve help ALOT. Sooner or later Ill master this language...Now see ya guys later, i gotta go look at some of your tutorials :-)
99.9% of big companies use C++ for games not C
You don't have a snowball's chance in hell of creating an OS in BASIC. No way you can create an OS using the 'small' memory model.It's possible to write an operating system in BASIC, even if it would take 100x more code than a low-level language. (Personally, I prefer C++)
Don't get mad at me, I was actually quoting a programming book which I will refrain to name.You don't have a snowball's chance in hell of creating an OS in BASIC. No way you can create an OS using the 'small' memory model.
You have no idea what you are going to get yourself in.Originally Posted by shadok
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.