Sign in to follow this  
spree

Help 2D Graphics

Recommended Posts

Hello, I"m programing with Visual C++ for windows OS. I want to be able to program with 2D graphics for windows. Using GDI with doulbe buffering is too slow for the games I program. Can you please advice me which way to go? like Direct2D? And can anyone explain to me whats SDL and if I can use 2D programing with it? Thanks :)

Share this post


Link to post
Share on other sites
Quote:
Original post by spree
Hello, I"m programing with Visual C++ for windows OS.
I want to be able to program with 2D graphics for windows. Using GDI with doulbe buffering is too slow for the games I program. Can

GDI can be pretty fast. Of course, if you want to be 1600x1200x32 bits then GDI will be pretty slow. But if you want to use a lower resolution then GDI can be pretty fast.

Quote:
Original post by spree
you please advice me which way to go? like Direct2D?

There is no such thing as Direct2D (Google gave me an incredible 320 hits for this word). What you call Direct2D is probably the deprecated DirectDraw, which was part of DirectX. It is still usable with the lastest DirectX release but is not supported by microsoft.

Programming DirectX is not very difficult, but I do not encourage this if you are new to C++.

Quote:
Original post by spree
And can anyone explain to me whats SDL and if I can use 2D programing with it?
Thanks :)

SDL is - like DirectDraw - a library which ease teh development of graphic applications. SDL provides support for 2D, 3D, sound, input, and so on. It is probably easier to use than DirectDraw - the setup is very simple - and powerfull enough to allow you to create great games.

HTH,

Share this post


Link to post
Share on other sites
Quote:
Original post by Emmanuel Deloget
AND DO NOT CROSSPOST.

We are not teh stupid. Asking a question twice will not give you 2x more answers. Read the FAQ before posting.


Maybe he didn´t know in which forum to post it? =i I wasn´t sure if the two topics I posted actually belonged in graphics Programming and Theory either.. it is hard to know when you are new and there are 50 different forums...

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this