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, 1:56 pm (Edited on Nov 23 2007, 2:18 pm)
|
|
#1 Nov 23 2007, 2:03 pm
|
|
Isn't there SDL or something like that?
| |
#2 Nov 23 2007, 2:05 pm
|
|
I have no idea, hence why im asking the byond community.
| |
#3 Nov 23 2007, 6:53 pm
|
|
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. | |
#4 Jun 23 2010, 7:52 am
|
|
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. | |