Work in Progress – AS3 Settler’s of Catan Board Generator

July 21st, 2009

Every once in a while, a few friends come round to the flat to play board games, the standard game being Settler’s of Catan. Most of us being geeks, at some point in the evening someone usually mentions an idea for a way to integrate some sort of technology into the proceedings, such as a glass topped board game table with LED strips for roads. This is what prompted the following project.

As an exercise in OOP in AS3, I decided to try and recreate the game in flash. This is the first step, the random board generation. Read the rest of this entry »

AS3 Particle System/Color Transforming Flash Game

July 20th, 2009

Recently I was going back through some past projects and experiments, and I came across a particle system I had played with when making the jump from AS2 to AS3.  I ended up digging into the code and fiddling with it – a bit here, a bit there – until some kind of weird game/toy emerged.

Basically, your goal is to match the colour of the particles emerging from your mouse to the colour of the background in the center. You do this by adding or subtracting red, green, and blue from the colour of the particles, mousing over the colours in the left column to add them, and in the right column to subtract them. When one of the individual colours gets close to being the right value, the respective blobs will start to pulse. Match the colour to gain a point, and the target colour will change. You have until the target colour disappears to match as many as you can. Read the rest of this entry »

Conway’s Game of Life – Flash/AS3

July 10th, 2009

Hello! You’ve found the EddyB.co.uk blog! This is where I’ll be posting works in progress, design experiments, flash doohickeys and other stuff I think you might find interesting. Let’s get off to an ambitious start by creating some life…

I’ve had some experience in the past with creating and experimenting with cellular simulations, so I decided to recreate John Conway’s Game of Life using Flash CS4 and Actionscript 3. I created a couple of classes for this project -a cell class specifically created for this simulation (and only this simulation – it’s very specifically customised), and a custom button class for general use in other projects.

Read the rest of this entry »