-
Direct X tutorials in C
Hi
Recently i've taken an interest in doing work in 3d graphics and accelerated 2d and the like. This, of course, led me to DirectX. However, every single tutorial that i've found ALWAYS goes into C++ in one form or another, which i don't want to do. IS there a tutorial (or book) which teaches DirectX in straight C? Or is C++ a requirement...?
-
from what i know of Direct-X(not a lot) its moving into C++, i don't think you can do without it anymore if your gonna use Direct-X.
OpenGL is pure C, but its only for graphics.(and BTW, its da bomb)
http://www.opengl.org
-
Yea, i've tried OpenGL but i'd like something that's solid in 2d as well. Allegro isn't an option (at least for me) because you can't cleanly integrate it into the win32 API :(
-
>but i'd like something that's solid in 2d as well.
well im not sure what you mean by this but many 2D games are made in GL, anyway try looking for Direct Draw tutorials for you 2D its now part of Direct-3D but it wasn't originally so...
and try http://www.gamedev.net i know they have at lead one 2D D3D tutorial.
-
First you could start with the documentation that comes with the SDK. It's actually a very good source of information.
Otherwise, there are these two sites.
www.drunkenhyena.com - Very similar to Nehe's tutorials.
http://nexe.gamedev.net - Not quite as good in my opinion.