
Microsoft Visual C# 2008 Express Edition is sufficient for using these tutorials. It is free from Microsoft.
The C# tutorials will cover various parts of Bunnies. You can download the complete source Here. This is the latest release from the Bunnies web-site. It’s ready to run so you can download it and try it out.
Rather than bore you with the same tutorials about plotting pixels and whatnot, I’m going to go through the Bunnies source and explain how it all works so you can take it and make it your own.
Java is great for writing software that will work on any platform. However, it has a number of quirks and is much slower than C# which makes it ultimately not suitable for what I want to do. One of the unintended consequences of doing Bunnies in Java first is that it was very easy to translate over. C# is not much different than Java. A lot of code could just be copy and pasted with a few minor changes. It’s then been mostly a matter of enchancing the code rather than rewriting it.
After the Java tutorials ended I started working on the Bunnies web-site which is where you can upload images and create your own maps. Now, rather than having to download a bunch of files there is a single download and the rest of the needed files are downloaded when you play the game. So now you use the web-site to make a map and load up the game to test it. So in addition to covering how Bunnies renders everything I will also be covering the protocol that it uses to communicate with the game server.