Exploding Boxes of Color. A Bejeweled-Type Game in Javascript using Raphael.js
February 28th, 2011 8:08 am


This weekend I made a clone of a popular color-matching game. A matrix of colored boxes are presented to the user, who must then delete groups of colors by clicking on contiguous sections. I used Raphael.js for the animations. While I don’t have time to do a tutorial right now, I’ve provided the source code in case anyone wants to play around with it.

Play it here

Download the Source (eboc.js)

A Finger Speedometer in Javascript With Adjustable Lighting Using Raphael.js
February 23rd, 2011 8:03 am

See how fast your fingers are! Run your fingers along the key board from one side to the other, then wait one second. Once you’re bored, try changing the speedometer settings, and lights. The speedometer is also a reusable Javascript widget, it’s useful for displaying values over some range. Follow the jump to download the source and some documentation.

Light Angle
Light Distance
Radius
Rumble



Read more…?

An Animated Water Caustics Effect for Javascript Games
February 11th, 2011 6:07 pm



I needed a good animated water background for my Settlers game and didn’t want to generate an effect in real time. After messing around with a couple different methods, this animated texture technique turned out to look pretty decent. An example is running on the top right of this post.
Read more…?

Settlers On Canvas
February 7th, 2011 3:26 am

I’m working on a Settlers-based game. It’s going to use HTML5′s canvas element, node.js on the backend, and socket.io for multiplayer play. I’ve mocked up some game artwork. The first is a screenshot from the actual game, the second is the forest tileset before I split them up. So far, the blending is going well, although I feel the mountains may need a bit more work.

So far, the map gets created in any size with the correct beach tiles. The waves are animated too, but I’m not sure things will animate fast enough once I get everything added.

Screenshot with Multiple=

Seeing Stars
February 1st, 2011 4:43 pm

Number of Stars

Speed

Heading (degrees)

Here is a cool-looking star field being rendered on HTML5′s canvas element. To the left is a sample of what is shown in this article.

Download the source here

Read more…?