Thread: XNA using C#
View Single Post
Old 02-28-2008, 06:34 PM   #20 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 215
+8 Internets
Send a message via ICQ to Cloud9_
Quote:
Originally Posted by Vinen View Post
I defined my maps as XML files. Once I get it cleaned up a little I will turn it into a Game Component and share it... it's still pretty buggy.

My battle system is currently a clusterfuck of bad code. I would never share it out of embarrassment lol. Going to refactor it heavily... but I don't think it will ever be what I want it to be. What issues are you haveing with the battle system? The largest issue I personally hit was dealing with the placement of menus, etc... got so sick of calculating shit out.
I'm pretty much new to programming, so I don't know how to do anything with XML.. but I'm self taught so its something I should learn I know a lot of the map editors i've found use XML too, like Tiled and Mappy.

as far as menu placement, I found a trick that I read in a book, setting up some unit tests for the method used to draw the menu sprites. I used it a lot when doing the main menu sprites, you can see it at the bottom of GameEngine.cs, just search for #region Unit Test.
Cloud9_ is offline   Reply With Quote

 
Uberguilds Network