Monday, October 15, 2012

Performance and Messed up Tiles

Well, we got the java client working, doing what it was supposed to do, but then I tested it, and every time I walked into the zoo, it just moved too slow.  It got so bad I could not move my character at all although the rest of the game seemed okay, but still slower than I would have liked.

So a change in algorithms was an order.  Unfortunately the new one doesn't work so great.  Instead of refreshing the whole screen, the new algorithm seeks to only draw those objects that have changed. Makes sense, but unfortunately pieces are not showing up properly, and you can see items, both still, and animated sticking together the wrong way. I would love someone else to look at the algorithm, but who wants to?  It seems there is a rule about free software projects, first make a game people want to play because it doesn't suck, then fix the things that are wrong with it.  It ends up that the first few developers either make or break a project, and if you don't know the correct algorithm to use, then you are out of luck.