Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

From C# to DirectX..

  • 04-11-2004 03:39PM
    #1
    Registered Users, Registered Users 2 Posts: 45,142 ✭✭✭✭


    Hello all,

    I'm developing an Air Hockey game in C# and have made the forms - drawn the tables etc.

    But i've recently came to discovering that GDI+ is incredibly slow so i think i might have to program it in DirectX.

    Any suggestions as to how to made start this transition?


Comments

  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    I'd start with the directX for C# toolkit :)

    After that...no clue.


  • Registered Users, Registered Users 2 Posts: 515 ✭✭✭NeverSayDie


    A few good resources, prob nothing you haven't seen before, but anyway:

    GameDev.net - one of the best game developer community sites out there, been around for years,excellent forums, plenty of resources.
    FlipCode - another great game development site, recently became active again. Not as much community/resource stuff as gamedev, but good news updates and a nice "Image of the day" (ie submitted project screenshots) feature.
    DrunkenHyena - some good DirectX resources/tuts here.

    And the MSDN, obviously - though apparently the docs for the managed DirectX stuff (the version you'll be using with C#/.NET) aren't fully up to speed yet.


  • Registered Users, Registered Users 2 Posts: 45,142 ✭✭✭✭Basq


    A few good resources, prob nothing you haven't seen before, but anyway:

    GameDev.net - one of the best game developer community sites out there, been around for years,excellent forums, plenty of resources.
    FlipCode - another great game development site, recently became active again. Not as much community/resource stuff as gamedev, but good news updates and a nice "Image of the day" (ie submitted project screenshots) feature.
    DrunkenHyena - some good DirectX resources/tuts here.

    And the MSDN, obviously - though apparently the docs for the managed DirectX stuff (the version you'll be using with C#/.NET) aren't fully up to speed yet.

    Thanks for all them. Some great links! Actually saw none of them before! First time i've programmed a game and all the research i've been doing up until this point has all been GDI+ / C# related.
    bonkey wrote:
    I'd start with the directX for C# toolkit

    After that...no clue.

    Thanks for that also, bonkey. Hadn't even downloaded that tool yet!


  • Registered Users, Registered Users 2 Posts: 515 ✭✭✭NeverSayDie


    Good stuff, fair play on getting this far. That GameDev site in particular is a great resource - forums there cover all aspects of game development, very big community, lot of experienced/professional developers there (+ beginners), good atmosphere, well run. That FlipCode one is good for regular news + inspiration - take a look through their Image of the Day archive - some very interesting projects featured there.

    In terms of developing with DirectX/C#, far as I know, you'll need the DirectX 9 SDK (latest release was in October). Here's the link. It's a pretty big download btw, but there's an awful lot of stuff in there - the various language SDKs, tools, lots of docs, etc.

    You'll be using Manged DirectX if you're going the C#/.NET route - managed code version of the regular stuff. I've never worked with it myself (just a bit of OpenGL), but apparently it's very good develop with - all the usual benefits of C#, only a pretty minor preformance hit.


Advertisement