Home » Community » Forums » » DirectDraw Programming Tutorial
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 DirectDraw Programming Tutorial
Post Reply 
I personally feel that althought this article was about four years out of date when I read it, as DirectX was in release 9,
I felt that this article was very helpful, in describing new ways to implement graphics solutions.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

as a begginer in directdraw, i thought that it was a little to indepth, and it needs to explain more about what exactly it is doing, and what certain words are doing when you enter them into the code.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

uh, what's the point of necroing this thread?
Learn d3d instead of ddraw nowadays

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

is there any way to use this code to load bitmaps with out ussing pallets? I am going to be using 16bit bitmaps.

 User Rating: 807   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

JaSwitze is a loser. Were you paid to write that or what? Anyway, the article was pretty good until it started writing code. The big question. WHAT DO I DO WITH THAT CODE? There is nothing that states how to setup the app. They just give you some code and say "this makes the game windowed". Um... yes, but I don't even HAVE a window yet...

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Well, that's not something the tutorial teaches. The tutorial teaches how to set up DirectDraw and display, not how to use C++, to create a Win32 Window, with a Win32 Loop, and bla bla..

I'm not back. I'm just visiting.

 User Rating: 1469   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

Yeah, but I know how to initalize a window,

but I do not know how to initalize directx, in that window! It worked for me in visual basic, but now I really want to do this in C++, I've tried every tutorial, but I keep on trying. Isn't there a source code where it puts a little .bmp on the screen on a rectangle? That would be helpfull..

 User Rating: 1015    Report this Post to a Moderator | Link

The argument here, is not that it's not telling you how to use C++, it's not showing you how to integrate things together. To show a complete source code, including the WinMain to show you what is done throughout the entirety, that should be the purpouse, that way you can both integrate the DDraw, and also USE IT.

It's a lot like giving a man a fish. Giving him the fish will feed him for the day, but if you teach him how to fish, he can feed himself for a lifetime. Just having the snippet is one thing, to be able to study the code and learn to integrate it through study is another.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Hm good...
but where can I get "IDirectDraw *pdd" variable for this function call:
IDirectDrawSurface * DDLoadBitmap(IDirectDraw *pdd, LPCSTR szBitmap)
?

Is it same as LPDIRECTDRAW?
Showing whole code might help...


 User Rating: 1015    Report this Post to a Moderator | Link

DirectDraw is all API if you can't figure it out from the samples or the docs (I bet you didn't read them) then you got no business doing any programming because it is so easy there is no thinking involved.

 User Rating: 1015    Report this Post to a Moderator | Link

Here here!

 User Rating: 1015    Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: