Tag Archives: games

Creating a robot in Java with Robocode

Robocode is a programming game where you get to build a robot to battle with other robots. It supports the Java programming language and the .NET framework. We will use the Java programming language in this example.

Posted in Java | Also tagged , , , , | Leave a comment

Creating the World, View and Projection matrices in XNA

The World, Projection and View matrices are used in XNA to project your 3D world on your 2D computer screen. The theory behind 3D projection can be found here.

Posted in C# | Also tagged , , , , , , , , , , , , | Leave a comment

Framerate GameComponent to calculate the frame rate (XNA Framework)

Microsoft XNA can be used to develop computer games. This code snippet contains a so called GameComponent written in C#. The GameComponent is called Framerate and it simply calculates the frame rate of the game at each Update cycle.

Posted in C# | Also tagged , , , , , , , | Leave a comment