[Release]XNAWinForms Template

07/03/2012 20:07 funhacker#1
Hey guys, I got sick of doing all that initial crap that is involved when creating editors using the windows GUI but still incorporating XNA's graphics engine.

So here is a template: [Only registered and activated users can see links. Click Here To Register...]

This template comes with a MainForm setup that will launch, with a custom control "XPictureBox" but this isn't your regular one that you have to sync drawing with and all that, I've set it up to act similar to a Game class.
Each picture box has its own thread and each picturebox you can set the FPS, you can also pause the box from processing too. The box has a components list which will update/draw GameComponents in the order based on their "Draw/UpdateOrder".

Best way to use this object is, place one on your form, then create an event for "OnInitialize" within this event call the "Initialise()/Intialise(byte fpsLimit)" default is 60fps, if you wish to use it just like a regular XPictureBox, with the OnDraw event within your form, just don't call the "Initialise" method.
07/03/2012 20:34 Zeroxelli#2
Interesting, this should actually prove very useful for things like map viewers/editors, as well as model viewers and such.

Another helpful XNA related release, thanks. :)