Flash game – Paint The Wall

Posted February 9th, 2010. Filed under ActionScript

Paint The Wall is a puzzle Game, for Flash, that I’ve been working on.

Paint The Wall ScreenShot

Game Concept

You’re a painter and decorator, looking to break in to the trade by impressing your new boss. He knows that time is money, and also the quicker the job gets done the quicker you can be drinking tea.

The kettle’s on and you’ve got to get that wall painted before it boils.  And try not to waste any paint, it’s one thing the boss really hates, and on the more difficult levels will lose you time off your kettle.

Read the rest of this entry »

Fullscreen Flash websites

Posted December 10th, 2009. Filed under ActionScript JavaScript

A recent site I did for Playgroup in collaboration with id & ego design, who made some fantastic artwork, that really needed to be shown off full screen.

There are several ways to display a swf in full screen. You firstly have the entire full screen, like you get with a youtube video. This is done by using StageDisplayState.FULL_SCREEN.
However, this isn’t the full screen I am talking about, I want to merely use the available space read more

I have recently been using a jQuery plugin called imgAreaSelect, which allows you to crop images. I wanted to use it with my PHP site so that thumbnails could be cropped and created.

GD Library is a PHP library that allows manipulation of images, in particular it can create new images.  It may need to be installed on some servers, but I found it already installed on my host and on MAMP (my local server). Combining this with imgAreaSelect read more

Inserting before and swapping rows in mySQL

Posted August 25th, 2009. Filed under PHP

Okay, here goes my first PHP post…
Inserting before (a certain row) and swapping rows was one of the first major problems I encountered, and through it I’ve learnt some really useful MySQL syntax to help improve my queries.

The logic behind inserting a record is to increment every record in front of it (that is, to increment the field that you order the table by), so that a space is given.  Swapping records is a bit more tricky, even though you are simply exchanging data between two rows, at some point both pieces of data will be the same (between updating the read more

Having installed galleria on my webpage, I then wanted to align the gallery vertically inside the containing div.

Unfortunatley, there is little CSS support to do this, vertical-align is a property that does not work for images,  and only really works for text appearing next to images or in table-cells.  (Apparently, this property maybe improved for CSS3).

I figured out a way to use Galleria’s onImage : function, which handles anything every time an image is loaded.  read more

Using jCarousel with galleria jQuery plugins

Posted August 4th, 2009. Filed under JavaScript

Galleria – a JavaScript image gallery, written in jQuery, creates a gallery (with thumbnails) from a list of images. It’s simple to use, you just attach the script, call it and point it to a <ul> on the page. Like this:

de1b39ed51bd58f78d94df57e07f7476015

Combining this with jCarousel, which is another jQuery plugin, and you can scroll through a list of thumbnails at the same time. The two compliment each other nicely. read more

First bloggy post

Posted July 28th, 2009. Filed under Uncategorized

Hello!..

This is my web-based web-site blog.   I’ll be hopefully using this to try and note down and explain things I’ve learnt about developing websites. I’ll possibly have some off-topic tidbits thoughts and stuff, when I can think of anything. read more