Vertexbuffers, device calls, augh.
Isn't there anything simpler for drawing?
I know I could use GDI, but I want to draw in sprites, and I dont know how.
Graphics are not my programming strong point. I don't want to be doomed to application programming for the rest of my life :(
ID:36806
Nov 23 2007, 10:56 am (Edited on Nov 23 2007, 11:18 am)
|
|
Nov 23 2007, 11:03 am
|
|
Isn't there SDL or something like that?
|
SDL and SDL.NET will make it easier for you to use. They use OpenGL, though.
Also, you're probably not doing it right if you are using 200 lines to draw a triangle or a 2D sprite. It will be less if you use software vertex processing and if you turn off lighting and normals etc. |
You can use DarkGDK.
It's a FREE development toolkit, based on DarkBASIC Pro, that you can get from http://www.thegamecreators.com/ The entire suite is FREE-- it uses the MS Visual Express 2008 C++, the DarkDGK installer, AND the most recent DirectX 9.0 libraries. I use it to work with sprites and some simple sprite collision work-- mostly testing. I sincerely hope this helps! No fumbling through the DirectX_2D_make_this_thingy_work_4my_sprite(1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,17); kind of crap... Follow the links on the site, and you will be brought to the Microsoft site where you can download ALL of it. |