Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 09:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]XNAWinForms Template

Discussion on [Release]XNAWinForms Template within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
funhacker's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,741
[Release]XNAWinForms Template

Hey guys, I got sick of doing all that initial **** that is involved when creating editors using the windows GUI but still incorporating XNA's graphics engine.

So here is a template:

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.
funhacker is offline  
Thanks
2 Users
Old 07/03/2012, 20:34   #2
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,142
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.
Zeroxelli is offline  
Reply


Similar Threads Similar Threads
[Release] SRO Template³
06/29/2012 - SRO Private Server - 6 Replies
Here is another Silkroad template you can use for your webpage. This one is a very smooth one =) I won't give you everything on a golden plate, so just keep on working on it :P You need to add the strings for DB connection etc. for your Servstats, Ranking,.... If you want a fully working template, ask some1 else :P I don't give this out, if you are lazy, you don't reach that much like others (Or just download a template everybody got for his pserver).. Well i hope i helps someone btw.. the...
[Release] SRO Template²
02/08/2012 - SRO Private Server - 7 Replies
Hey Community, Here is another Silkroad template you can use for your webpage. I won't give you everything on a golden plate, so just keep on working on it :P You need to add the strings for DB connection etc. for your Servstats, Ranking,.... ;) If you want a fully working template, ask some1 else :P I don't give this out, if you are lazy, you don't reach that much like others ;) (Or just download a template everybody got for his pserver).. Well i hope i helps someone ;) btw.. the header...
[Release {Template}] Metin2 Template by |R.o.x|
01/15/2011 - Metin2 PServer Guides & Strategies - 17 Replies
Hey Com, ich habe mal wieder ein Design gemacht und gecodet. Ich finde es ist eig ganz gut gelungen. Erstmal ein Screen : http://i51.tinypic.com/2zykh2x.jpg Jetzt zum eigentlichen : Um dieses Template zu benutzen loadet ihr euch erstmal die Datei aus dem Anhang. Dann entpackt ihr das Archiv mit WinRar oder sonstwas..
[Release] Website template
11/18/2010 - CO2 Weapon, Armor, Effects & Interface edits - 2 Replies
Well me and my mate decided to make a website. So started to make a website template. Here is what i came up with. I think its good . But if you guys think that this is lame or something is wrong feel free to say. I'm always looking for a way to learn. Thanks .
[RELEASE] Template
01/21/2010 - General Art - 9 Replies
Hello This is probably the best template i've ever made I hope you like it http://i49.tinypic.com/2cp6znt.jpg



All times are GMT +2. The time now is 09:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.