It's deprecated. So what?

Started by
22 comments, last by Alpha_ProgDes 18 years ago
The answer is yes. If you want to use directdraw, especially if you are following an old book that deals with it, then go for it. There are other alternatives, but if you are just doing your own project for fun, or learning with directdraw books, it will suit you fine for now.

This is the major failing of gamedev.net. Simple yes or no question, and instead it will generate 2 or 3 pages of this redundant crap, and the user never gets the answer they need.

He didn't ask what you thought.
He didn't ask if it runs on linux.
He didn't ask if DD was all the rage in the latest coder fashion.
He didn't care if there were newer or better things.
He didn't ask for an essay on the evolution of 2D graphics on the windows platform.

He just wants to know if he can compile directdraw with the newest SDK. Why can't you just answer his question, and remove his doubt so he can be on his way?
Advertisement
Quote:Original post by Vampyre_Dark
He didn't care if there were newer or better things.


This is the point that irks me most about that post, heh. This is a beginner's forum; while it certainly is fine to answer a question directly, the additional purpose of this forum is to help people improve. Sure, learning the older methods for the sake of learning is fine, but didn't you ever wish you knew about the much better solutions than what your six year old book taught you?

I'm not much on DirectX so I can't say much for how deprecated DirectDraw is, but I can't say I'd ever recommend using an older system over a newer, better system.
Quote:Original post by tychon
Quote:Original post by Vampyre_Dark
He didn't care if there were newer or better things.


This is the point that irks me most about that post, heh. This is a beginner's forum; while it certainly is fine to answer a question directly, the additional purpose of this forum is to help people improve. Sure, learning the older methods for the sake of learning is fine, but didn't you ever wish you knew about the much better solutions than what your six year old book taught you?


No. I moved on when I outgrew the language and tools I was using. I certainly didn't wish that ten posts into my thread no one will have answered my questions. Simple questions are too hard a task for most gamedevers, and instead they take the opportunity to change the subject and confuse more than actually helping.

Quote:I'm not much on DirectX so I can't say much for how deprecated DirectDraw is, but I can't say I'd ever recommend using an older system over a newer, better system.


Then why post?

Quote:If my 500Mhz with 64MB of RAM and raging power of 8MB of shared video memory can run MechWarrior 3, I can pretty much bet that it'll run a 2D game made with Direct3D.

If they're using less than that, well.
Can you show me how that helped the user answer his 1 question about whether or not He could still use DirectDraw? That certainly didn't help him improve, and I do't see why it's even here at all. This is not a personal attack at all. But he he didn't ask and doesn't care about the power of your shared memory video card.
geekalert,

The Feb 2006 DX9 SDK still has the ddraw includes and libs, and Im able to compile DirectDraw programs using VC Express.

John
Quote:Original post by Vampyre_Dark
No. I moved on when I outgrew the language and tools I was using.


You never once solved a problem that had already been solved in a simpler, far more reusable manner without knowing it?

Quote:Then why post?


Granted, I made a lot of assumptions in it, but usually if someone's posting in For Beginner's they want either the answer or advice that will help them move beyond the problems to what they're asking. People ask about custom vector classes or how to retrieve array size all the time. The answer is still the same: use std::vectors.

Quote:Can you show me how that helped the user answer his 1 question about whether or not He could still use DirectDraw? That certainly didn't help him improve, and I do't see why it's even here at all. This is not a personal attack at all. But he he didn't ask and doesn't care about the power of your shared memory video card.


True, though that post was directed to the AP's reason, not the OP's post. If the reason is in fact fear of resources or speed, which seems to be the reason for a number of posts in beginner's, then I'd say the answer to move on is still the best one.

Your intent is duly noted and I'll strive to include the direct answer, in addition to opinions. I probably should have read the "So what?" part a little more closely, hm.
The answer is use std:vector is certainly the wrong one. It's not an answer, it's taking an opportunity to preach. Not everyone programs to achieve things in the best possible way using the newest technologies.

When you answer something like that, you make uneeded assumptions about their intent, and you just show your own ignorance and your inability to answer simple questions. You realize that using the vector class is good but not when the ulitmate goal of the user is implementing their own vector class. And they don't need to post a justification for doing it.

There are many reasons to re-invent the wheel. One of which is simply because they want to implement their own vector class for FUN. Some people do that you know. It's also an educational thing that has benifits over just using one that's there. Sometimes the entire scope of a project is just to make their own little vector class for fun.

But a user could never ask that on this forum in it's current state, because the thread gets hijacked by a bunch of running around with podium tucked under their arm looking for a place to set it up and start preaching.

A begginer user, 3 days into c programming asks a simple question about the syntax of a c function like printf and it will spawn 45 lectures about multithreading, iostream, oop, multiplatforms, weather or not every compiler under the sun supports printf. What the hell does it matter? They are usually making a console number guessing game or something similar, and they have have to read through 3 or 4 pages of this bs that has nothing to do with what they asked, and in the end never even gets around to giving a straight answer.
Quote:Original post by Vampyre_Dark
The answer is use std:vector is certainly the wrong one. It's not an answer, it's taking an opportunity to preach. Not everyone programs to achieve things in the best possible way using the newest technologies.

It is rather hard to answer a question if you can't even assume that they want to solve it in a *good* way.

So what you're essentially saying is that questions can't be answered, period. No matter what you answer, it will involve making assumptions.

Quote:
When you answer something like that, you make uneeded assumptions about their intent, and you just show your own ignorance and your inability to answer simple questions. You realize that using the vector class is good but not when the ulitmate goal of the user is implementing their own vector class. And they don't need to post a justification for doing it.

But nine times out of ten, their "justification" is that they didn't *know* there was an easier way. Isn't it relevant to point out then?

Quote:
There are many reasons to re-invent the wheel. One of which is simply because they want to implement their own vector class for FUN.

Oh yes, not arguing with that, but sometimes, people don't intend to reinvent the wheel, they just don't know it has been invented already. Shouldn't that be taken into account?

Quote:
But a user could never ask that on this forum in it's current state, because the thread gets hijacked by a bunch of running around with podium tucked under their arm looking for a place to set it up and start preaching.

Umm... Yeah.. And you definitely aren't doing that... [wink]

Quote:
A begginer user, 3 days into c programming asks a simple question about the syntax of a c function like printf and it will spawn 45 lectures about multithreading, iostream, oop, multiplatforms, weather or not every compiler under the sun supports printf. What the hell does it matter? They are usually making a console number guessing game or something similar, and they have have to read through 3 or 4 pages of this bs that has nothing to do with what they asked, and in the end never even gets around to giving a straight answer.

Show me an example of that, please. Usually, they get their answer *and* a recommendation to, say, use cout or something instead, both within the first handful of posts. Is that so bad? Maybe the poor beginner doesn't *mind* learning that there are better/easier ways to achieve the same thing? Of course, I agree, the actual question should certainly be answered too. And, uh, speaking of which, did you look at the start of this thread? Notice what the very first word in the very first reply is? Lemme quote it:

Quote:
Yes

Here, I can even emphasize it:
Quote:Yes

See? It got answered right away. Of course, *then* people go into a long discussion of the best way to do whatever they think the OP is trying to do. So what? Is it harmful? At worst, the OP can ignore it. At best, he'll learn something new. In either case, he did get his answer. So why all the preaching?
Anyways;

- Yes, you can still compile and link against an earlier DX version (even with a DX9 SDK); all you have to do is make sure you include the right .h and .lib.

- However, it gets pretty painfull because MS has surgically removed any actual documentation from MSDN, and removed the SDK/help documents from the download section

- If you want to do 2D only (for many a good reason, specifically if you're targetting the casual market), I healthily recommend SDL. They've already solved a lot of the funny little compatability issues that DX loves to leave you with (operating on weird/obsolete graphics cards/drivers, etc) and provides a well documented layer on top of DD (DX5, I believe, so should be available on everything except WinNT). There's also lots of good tutorials, and utilities for fonts, texture-loading, sound, etc.

- Finally, once you want to start doing 'cooler' things, DX7 or DX8 is a better bet for doing 2D in 3D for the casual market; we discovered the hard way how low the penetration for DX9 is in the casual market, and that casual gamers considers a 'please install DX9' message to be a crash.... :(

Have fun,

Allan
------------------------------ BOOMZAPTry our latest game, Jewels of Cleopatra
So the lesson here is, answer the question then give suggestions on improving or better code (or techniques). Thanks for playing, buh-bye.

Beginner in Game Development?  Read here. And read here.

 

I know what you're bitching about, Vampyre, but you picked the wrong thread to make your stand.
[size=2]

This topic is closed to new replies.

Advertisement