Thread: Gump Studio
View Single Post
Old 01-14-2008, 12:45 PM   #8 (permalink)
Jeff
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 28
Posts: 4,892
Default

Bradley, the biggest gripe about Gump Studio is that once u get 50 items on the screen, moving any of them 1 pixel at a time is terribly slow. I believe this is due to the way you handle Undo and Redo stacking. As a test you could disable that code and see. There are better ways to do it. I know its possible to get rid of this because I did in RunUO:GDK. Another great idea would be making the selection of items done by pixel calls. If you click on an item, the order of checking to see if the item has been selected should be

if(gump.bounds.contains(point) && gump.image.getpixel(point - gump.location) != color.black))
{

}

This makes selecting items that overlap others ALOT easier.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote