a jackaroo's problem about entering game programming
hello, I''m a programmer who want to entering into the field of game programming. Please excuse my poor English.
I have some problems:
1) In windows, can we operate on hardware directly ? or we must use DirectX?
2) about programming language, I have some knowedge about C++,now Microsoft is advocating C#, is it suitable for game programming? what''s the best language for game programming?
best regards.
Yu Zuo
to #2: there is no "best" language for game programming. Use whatever is most suitable for what you're trying to make. If it's a text game anything will work, if its a web application/small game you may want to use Java/C#, if its a project you and a team will be spending monthes and millions of dollars on you're probably going to want to use C++. I personally would recommend Java or C++ for pretty much anything you need to make.
[edited by - Ceoddyn on May 24, 2004 9:56:42 PM]
[edited by - Ceoddyn on May 24, 2004 9:56:42 PM]
1) Interacting with hardware directly is possible if you are willing to write your own device driver. Doing this requires, of course, having access to the hardware specifications, which is less than easy in many cases (listen to the laments of the Linux people).
quote:Original post by Fruny
1) Interacting with hardware directly is possible if you are willing to write your own device driver. Doing this requires, of course, having access to the hardware specifications, which is less than easy in many cases (listen to the laments of the Linux people).
...also it's often hardware-specific, so you'll be writing drivers for each piece of hardware you want to support (including different vendors).
[edited by - henrym on May 25, 2004 1:07:19 AM]
It''s easier to not work with hardware directly, use the libraries that are avaliable! That doesn''t necessarily mean DirectX. That could mean OpenGL and OpenAL (which is what I use).
Regarding programming language, I''d ignore C# and concentrate on C++. The reason being, C++ is a very popular language, and when you''re just learning you''ll want to read tutorials. There are millions of tutorials written in C++, so it''s perfect.
Regarding programming language, I''d ignore C# and concentrate on C++. The reason being, C++ is a very popular language, and when you''re just learning you''ll want to read tutorials. There are millions of tutorials written in C++, so it''s perfect.
Thanks all.
Another question is about Engine. which I thought is used to render graphics into video card , isn''t it? If it is , can I the GDI+ library and DirectX as an engine. If it isn''t, what is it?
what functions should be included in a simple 2D engine, how about 3D engine?
Another question is about Engine. which I thought is used to render graphics into video card , isn''t it? If it is , can I the GDI+ library and DirectX as an engine. If it isn''t, what is it?
what functions should be included in a simple 2D engine, how about 3D engine?
The engine is simply the code that does the basic work (ie. non game-logic) of your games. This includes input, graphics, sound, etc.
I dont know the GDI+ library, so I cant really comment on it, except to say that it sounds like it utilizes GDI, and GDI functions can often be slow - thats why we have DirectX.
DirectX has components for input, sound, graphics, networking, and a few other nifty things to boot, but it will restrict you to the Windows operating system (not always a bad thing, but keep it in mind).
I dont know the GDI+ library, so I cant really comment on it, except to say that it sounds like it utilizes GDI, and GDI functions can often be slow - thats why we have DirectX.
DirectX has components for input, sound, graphics, networking, and a few other nifty things to boot, but it will restrict you to the Windows operating system (not always a bad thing, but keep it in mind).
thank you,Kazgoroth
If we hope to write a game which can run on multiple platforms such as Mac, Windows and Linux, then we need to write a common engine. Isn''t it? Is there some common engines?
best regards.
Yu zuo
If we hope to write a game which can run on multiple platforms such as Mac, Windows and Linux, then we need to write a common engine. Isn''t it? Is there some common engines?
best regards.
Yu zuo
There are cross-platform engines, that are built using cross-platform libraries.
One of those cross-platform libraries is SDL
Edit: I suck at teh HTML
[edited by - xMcBaiNx on May 25, 2004 9:36:26 PM]
One of those cross-platform libraries is SDL
Edit: I suck at teh HTML
[edited by - xMcBaiNx on May 25, 2004 9:36:26 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement