|
-
Jul 28th, 2010, 05:24 PM
#1
Thread Starter
New Member
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.
-
Jul 28th, 2010, 08:41 PM
#2
New Member
Re: XNA/directx
Did a google search for a tutorial prevail at all?
-
Jul 29th, 2010, 05:56 AM
#3
Thread Starter
New Member
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...
-
Jul 29th, 2010, 03:37 PM
#4
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.
-
Jul 30th, 2010, 08:34 AM
#5
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|