E.A.T. – HTML5 arcade game first release

Now, that I found some free minutes to work on private code I finished an alpha version of E.A.T., so that all of you now can play it. I tried to balance the game more, added a new soundtrack and new graphics before releasing it. The graphics are still crappy and if you can do it better please feel free to send me your creations!

I also created a Google Code project page with the source code to download, if you want to develop on the code on your own or view it, but if you just wanna play the game click the button below…

Continue reading

Posted in Games, HTML5, Programming | Tagged , , , , , , , , | Leave a comment

Code Snippet: Keep Alive check for servers

When you want to test out if your webserver configuration currently is supporting Keep-Alive requests and how it’s responding them, there are several ways. You could use Firebug, Chrome Developer Tools or you could use benchmarking tools like “ab” (ApacheBench) and so on. For me “ab” was always a good choice, but I seem to have found some weakness in it…

Continue reading

Posted in Code Snippets, Programming, Python, Webmaster | Tagged , , , , | Leave a comment

Simple 2D animation in HTML5 canvas

HTML5 animation demo screenshot smallI needed some animation for E.A.T., so I tried a little bit around with animations in the HTML5 canvas element and want to share some simple code with all of you wanting to know how animations in a canvas work. The example will use image sprites for the animation width a width and height of 48×48 pixels.

The following code will not be as optimized as it could be, because I think for the educational purpose it’ll be enough and the optimization and customization should be on you. As always I will not explain how to code at all and expect knowledge in HTML, CSS and Javascript programming. Also, you should know about basic game techniques e.g. game loops, sprites, frames and surfaces.

Continue reading

Posted in Code Snippets, HTML5, Javascript, Programming | Tagged , , , , , , , | Leave a comment

E.A.T. – A small HTML5 canvas game

After my snowflake experiment in a HTML5 canvas I wanted to get one step further and test the capabilty of the canvas in contrast to sprites and rendering.

For that experiment I wrote some small game with the canvas element called E.A.T.. The goal of the game should be easy to guess as you can read the name. You are something in the water, eating food and growing. The obstacle is to avoid food leaving the lower screen and to collide with the enemies.

Continue reading

Posted in HTML5, Internet, Javascript, Programming | Tagged , , , , , | Leave a comment

Simple HTML5 snowflakes in canvas

Today, I thought about HTML5 and the canvas element again. Escape is a bit “on ice” at the moment, because some other ideas bothered me too much and so I decided to test other things. A few months ago, I already did some image manipulation and screen scrolling with a canvas, but now I wanted to know about pixel manipulation and what would be better for that, than a snowflake simulation. Okay, it’s not really a simulation, but a nice example for pixel manipulation in a canvas element.

I suppose you already know about HTML5 and Javascript coding, otherwise you should ask Google first, because I will not give any introduction into these topics here.
Continue reading

Posted in Code Snippets, HTML5, Internet, Javascript, News, Programming | Tagged , , , , , , | Leave a comment

New year, new game: Escape

Although I started coding this game in 2011, I’ll make it the first project 2012 for me. ;) But what exactly is this “Escape” game? Well, escape is a simple dungeon game where the goal is to find the key and exit of each level as fast as you can. The faster you are, the more score you get. Unfortunately your lamp runs out of oil, so your field of view gets smaller and smaller and mean enemies try to stop your way, so you have to escape them and the dungeon itself.
Continue reading

Posted in C Programming, Games, Programming | Tagged , , | Leave a comment

3T Update: Text based Tic Tac Toe Version 1.1

Screenshot of text based tic tac toe 3TNow, that I found some time, I added complete network code to 3T the text based tic tac toe.
It’s only a peer to peer connection for now, but I will add some dedicated server code later. ;)

Stay tuned and have fun with the update!

Continue reading

Posted in C++, Games, Programming, Stuff | Tagged , , , , , , , | Leave a comment