-
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.
-
Re: XNA/directx
Did a google search for a tutorial prevail at all?
-
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...
-
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.
-
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