Results 1 to 5 of 5

Thread: XNA/directx

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    12

    XNA/directx

    hi, i finished a raw version of my game, the main problem is it is very very slow. i identified the problem has being due to the slowliness of gdi, and so i'm trying to modify my game into xna or directx, wich i believe are faster, but of which i know nothing about...

    the only thing i used the gdi was to draw images on another images, so if you can please help me make a function which draws an img1 onto an img2 at a given point, using xna or directx, i would be deeply appreciated.

  2. #2
    New Member
    Join Date
    Jul 2010
    Posts
    8

    Re: XNA/directx

    Did a google search for a tutorial prevail at all?

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    12

    Re: XNA/directx

    yes i did, i found nothing for vb.net. the only tutorials i found said "bandwidth exceeded" or something... so i have nothing to work on...

  4. #4
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: XNA/directx

    Your two choices are XNA and Managed DirectX; both of which work really well for VB.NET. XNA is a bit easier to use though so I'd recommend installing that. You may have to install Visual C# 2008 Express as well (even if you just want to use it with VB.NET)

    The conversion to XNA is usually 2-part. The first part is to replace the loading of your graphics from PictureBoxes or OnPaint event routines to Sprite/Texture objects. The second part is replacing your actual form with an XNA Game object.

    The Tetris game in my sig was built using XNA and VB.NET. I have a good amount of examples as well.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2009
    Posts
    12

    Re: XNA/directx

    thank you so much for your help, exactly what i needed.

    i've downloaded the tetris game,and am now checking the code.

    thanks you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width