Archive for January, 2007

Tuesday, January 16th, 2007

Relay messaging

We are not going to be able to take relay message outside of game server very easily for several reasons:

Game server level information associating character/player ids with sockets to preform a relay
Relaying is an input only event. We receive input messages and send them to a different source.
Routing and multi-casting needs to be done and […]

No Comments » - Posted in communication, code by Jeremy Squier

Sunday, January 14th, 2007

Design Docs advice

Great link on creating Design Docs

No Comments » - Posted in game industry by Aaron Matthew

Saturday, January 13th, 2007

Subversion Blog

Introversion (developer of Darwinia, Uplink, etc) has a new game in the work called Subversion. Subversion’s development is being blogged on their website. They make some great arguments for procedural generation for indie developers.

No Comments » - Posted in other games, game industry by Aaron Matthew

Monday, January 8th, 2007

JSONSocket

Got a new class, JSONSocket to work last night, along with the MessageEvent helper event.
Basically:

var sock:JSONSocket = new JSONSocket(”localhost”,8500);
sock.addEventListener(MessageEvent.MESSAGE,msghandler);
sock.writeJSON({ type: ‘login’, name: ‘oizys’, auth: authstring });
function msghandler(e:MessageEvent):void { trace(e.message.text); }

I’m going to further abstract it to a GameSocket class and tail some message-specific code off of it, and a smarter Event registration, but […]

No Comments » - Posted in code, flash by Aaron Matthew

Tuesday, January 2nd, 2007

AS3 Cookbook

I recently purchased this book: ActionScript 3 Cookbook and it’s been an awesome investment. Since so much of AS3 is still badly documented/exampled, this has been a livesaver on some things. The book agrees with me that Flash’s startDrag() and stopDrag() are fundamentally broken, and provides a simple replacement that I’m going to […]

No Comments » - Posted in research, code, flash by Aaron Matthew