FMS based virtual world 1.0

This week I’ve been playing around with the shared object feature of the Flash Media Server.  So far I’m really liking it!  I was able to whip up a pretty basic prototype of a web-based virtual world without too much fuss – feel free to check it out.

Just me and MC Hammer hanging out in the metaverse

Just me and MC Hammer hanging out in the metaverse

As of today the world can do the following:

  1. Avatar identification
  2. Synchronous  text-based chat
  3. Click-to-move functionality within the world
  4. Appearance editor (change your own avatar’s look)

The appearance editor is still very rudimentary, and changes made to your avatar don’t yet ripple out to other users.  I was having a real tough time figuring out how to send out complex AS3 objects using the Shared Object feature of the FMS.  The documentation explicity states that sending any AS3 class via a Shared Object should work. What the documentation fails to tell you is that you need to prepare your classes in a very particular way in order for them to retain their integrity after being serialized by the FMS encoder.

I should have a fix in place for this real soon – I’m uber excited about being able to share non-trivial AS3 objects in real time!

Tags: , ,

Leave a Reply