Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


So I've been working on my map editor recently, which I've been coding in C#. So far it's been going pretty well, C# is a pretty nice language to work in. One of the things I really like about it is that file organization is a lot nicer -- no more dealing with header files and circular dependencies . Granted it's not really one of those things that's a "big deal", but it makes (re)organizing code a lot less painful.

Object serialization could be a lot better though. It's good in that it's very easy to use (at least, when you're dealing with basic datatypes). The problem has to do with effeciency, or rather, lack thereof. From my experience it seems to waste a lot of space. For example, WinRAR was able to compress a 67.5MB file it generated down to 125KB (which is about a 540:1 compression ratio, heh). Granted that's probably a bit of a degerate case (I was compressing a very large array of Color values), but it's still sort of disconcerting. (To be fair though, when I converted the color array into an array of uints the file size came down to a much more reasonable 16MB.)
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!