Jump to content
  • Advertisement
Sign in to follow this  
Lamuna

a question on DX

This topic is 4016 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am a beginner of vc program and I want to make a 2D online game with my own panel, interface,background,sounds etc....Does it fit for me? and Does it better than SDL or GDI in VC? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
You can certainly use DirectX for this task, but depending on your aspirations you may find it's overkill compared to other 2D API's. You have to use Direct3D for 2D rendering - whilst it is an extremely powerful approach (free blending and transformation) not everyone likes the extra 3D-like code that goes with it.

Do not use DirectDraw or DirectPlay. Just don't. Please. [smile].

DirectInput could be used, but only if you want to support legacy gamepads. Use regular Win32 for mouse & keyboard and then XInput for XB360 controllers.

DirectSound is a little tired now but still a viable option, look out for XAudio2 in the near future and explore XACT for a more high-level audio solution.

Use Windows Sockets or another 3rd party library for networking. Again, do not use DirectPlay.

hth
Jack

Share this post


Link to post
Share on other sites
Thanks jollyjeffers

In fact i am searching which platform is fit for me better...

Could you tell me could VB.net also be a good start in DX and netplay?

thanks

Share this post


Link to post
Share on other sites
.NET support is being dropped in the next SDK, and even then the 1.1 libraries are pretty old now... You can use them if you like, but you might be better off checking out community efforts like SlimDX (see the sticky at the top of this forum).

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!