Steroids Update

10 March, 2009

I spent the most of the night refactoring the network code for Steroids. I will admit that I am not so good at Java. Getting there slowly :)

Learning a new programming language is easy. Learning a new Library is not. Especially considering the size of the standard Java library. It feels like I am coding with broken hands. Everything is slow motion and most changes need me to search the documentation.

The refactoring has paid off. I now share almost all of the network code between the server and the client. It’s actually quite nice. I need to share a lot of code between the client and server as they both need to implement the game logic in sync. Once I started that i decided it would cut out a lot of lines if I also shared the network code.

I have also created a new demo video. Changes include multiple clients connecting and dirt that can be destroyed!

Notice how the dirt is destroyed but not the tree’s? The tree’s are on the “Stone” layer of the map. It is for obstacles that the player can not destroy!

Entry Filed under: Uncategorized. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Blogroll

Blog Stats

RSS US Forums