Posted on May 30th, 2007 by headwedge
Background
The mediator pattern defines an object that encapsulates how a group of objects interact. The mediator pattern promotes loose coupling by keeping objects from referring to each other explicitly, and enables independent varying of their interactions.
The GameMediator will be the overarching, coordinating class in the game framework.
Examples
wiki/Mediator_pattern
Overview
be responsible for buffered animation and maintaining the desired [...]
Filed under: Java, game framework | No Comments »
Posted on May 30th, 2007 by headwedge
Any non-trivial endeavour should have a specification.
Incomplete initial specification:
Background
Sprite based games, whether board, card or arcade, share a lot of basic functionality and many of the patterns and principles are well defined and developed. The functionality of these patterns and principles is expressed in classes and resources which are combined into a framework. A framework [...]
Filed under: Java, game framework, specification | No Comments »
Posted on May 29th, 2007 by headwedge
The creativebits.org article is a couple of years old but what a great little app Core Image Fun House is! My favourite so far is the Kaleidoscope effect but spotlight is good too.
“Go under Macintosh HD, Developer, applications, then click Core Image Fun House. This fun little application isn’t in your applications folder. It lets [...]
Filed under: mac | No Comments »
Posted on May 28th, 2007 by headwedge
Following up on my previous post, it occurred to me that you ought to be able to add your own macro definition to the template and set it with defaults write. Also I don’t like the C style comments appearing in my Java code.
The Pure Java template resides in:
/Library/Application Support/Apple/Developer Tools/File Templates/Pure Java/Java class.pbfiletemplate/class.java
By default [...]
Filed under: xcode | No Comments »
Posted on May 28th, 2007 by headwedge
I am fed up of every new xcode file that I create containing the line:
// Copyright (c) 2007 __MyCompanyName__. All rights reserved.
But how do you change __MyCompanyName___ to something useful?
Xcode 2.4 Expert Preferences explains that this, and a shed load of others, are expert preferences supported by Xcode (but) not accessible through the user [...]
Filed under: rants, xcode | No Comments »
Posted on May 28th, 2007 by headwedge
Here are the papercraft models of the robots from the film Silent Running:
Click thumbnail to download PDF file.
(Courtesy of SF PaperCraftGallery)
Silent running(10 March 1972). The crew of the spaceship Valley Forge are told to dump their cargo of the last remnants of Earth’s vegetation and plant life. One of the crew rebels, kills the other [...]
Filed under: art/graffiti | No Comments »
Posted on May 27th, 2007 by headwedge
We can’t stop playing Kate Nash at the moment, check her out…
myspace.com/katenashmusic
It makes it better that we know someone called Caroline :)
Filed under: music | No Comments »
Posted on May 27th, 2007 by headwedge
Diamonds suit completed.
Filed under: playing cards | No Comments »
Posted on May 27th, 2007 by headwedge
Hearts suit completed
Filed under: playing cards | No Comments »