LetterBrick - SFSPro AS3 Multiplayer Whiteboard Game Source

Show a beta or the final version of your latest SmartFoxServer-based project.

Moderators: Lapo, Bax

debuggercll
Posts: 2
Joined: 19 Jun 2007, 04:16
Location: San Diego, CA
Contact:

LetterBrick - SFSPro AS3 Multiplayer Whiteboard Game Source

Postby debuggercll » 10 Jun 2008, 18:14

This is more of a learning resource.

I've created a really simple example of SFS:Pro 1.6.2, AS3, and server-side extensions.

It's called LetterBricks (I created the Letters Game and Bricks Game, the name was just a natural progression). It consists of a canvas with many randomly colored squares with a letter on their face. The many users in the room can move these blocks around, each user's action being reflected globally. The server-side extension allows the positions, colors, and text of the squares to remain persistent (until the extension is reloaded).

You can find the code at http://github.com/debuggercll/letterbricks/tree/master

Here's an example: http://unlessthan.org/equalto
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Postby patso » 11 Jun 2008, 07:13

Very nice one.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 12 Jun 2008, 06:10

I would suggest to avoid the animation whenever I drop a letter, and keep it only for letters moved by the other users.
Paolo Bax
The SmartFoxServer Team
debuggercll
Posts: 2
Joined: 19 Jun 2007, 04:16
Location: San Diego, CA
Contact:

Postby debuggercll » 12 Jun 2008, 21:02

Bax, good suggestion; it's implemented.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 Jun 2008, 09:15

Nice one! You've become an expert in this field :D
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
ccontinisio
Posts: 32
Joined: 21 Nov 2007, 13:18
Location: Rome, Italy
Contact:

Postby ccontinisio » 17 Jul 2008, 13:46

It's very funny!

Return to “The Gallery”

Who is online

Users browsing this forum: No registered users and 11 guests