Featured

PixServer – AMF game server

I’m back to the scene… with an empty hard drive.
That’s THE bad news, I lost all my data one month ago. Around 10 years of storage without any backup. That really sucks.
The good one is that it gives to me lot of punch to start from scratch 4 new projects. They’re all linked together, but I’ll give you details later about the connection.

So let me introduce the first one.
I needed a multi-users game server. So after some googling to browse OS projects, I decided to build a new one from scratch with Apache Mina 2.0 using my R&D xp.
I choosed to install Ubuntu with Parallels to have an easy workflow with a local test workstation.

At this time, I’ve obtained something basic which works fine. That’s full AMF (using BlazeDS ) and it manages users and rooms.
That’s all based on simplicity. No events, no verbosed implementation or mess with abstract design…

My next step and goals:
- Have something robust.
- Build a graphical chat showcase with text to speech feature.
- Build a game showcase with realtime synchronicity. I read a lot of resources about it, and I’m looking forward to work on this.

But I’m wondering about few things at this time:
- Should I go to open source ?
- Should I mix this implementation with Darkstar project ?
- Should I work on a cheap product ?
Any advice would be welcome !

Here’s a basic echo demo to end this thread and showcase the concept:

import net.tweenpix.pixserver.amf.AMFClient;
 
	public class EchoAMFClient 
	{
		protected var _client : AMFClient;
 
		public function EchoAMFClient() 
		{
			_client = new AMFClient( );
			_client.registerClass( TestVO );
			_client.connect( "10.211.55.4", 9123 );
 
			_client.addEventListener( "EchoMessage",  onEchoMessage );
			_client.sendRequest( 	"EchoMessage", 
								new TestVO( "francis", 38 ), 
								new TestVO( "virginie", 35 ) );
		}
 
		public function onEchoMessage( vo1 : TestVO, vo2 : TestVO ) : void
		{
			// do something
		}
	}

Share on Twitter

Discussion

9 comments for “PixServer – AMF game server”

  1. serait pas contre quelques explications dudit projet …

    Posted by audeNo Gravatar | juillet 22, 2009, 19:48
  2. Why not go open source? The open source competition will be ruthless if you decide to go commercial. Good luck!

    Posted by ThijsNo Gravatar | juillet 22, 2009, 20:34
  3. Yay ! Happy new project !
    Tell me if I can help ;)

    xxx

    Posted by RosyNo Gravatar | juillet 22, 2009, 20:47
  4. super d’avoir de tes nouvelles, ca nous rassure ;)

    Posted by Gilles Bertrand | juillet 22, 2009, 20:49
  5. Welcome back Francis !
    Ca fait plaisir, oui, d’avoir de tes nouvelles! même si effectivement ta perte de données en est une mauvaise… Mais si ça te permet de rebondir … ;)
    Bonne chance pour les nouveaux projets!

    Posted by OlympeNo Gravatar | juillet 23, 2009, 0:33
  6. Glad to see you’re back on scene !

    Byebye com.(pletement).bourre, good morning net.tweenpix !

    Posted by DamienNo Gravatar | juillet 23, 2009, 16:02
  7. Salut,

    Tu devrais vraiment jeter un coup d’oeil au serveur de Sun, « Project Darkstar ».

    Je t’invite aussi a aller lire mon blog sur ma lib de reseau ‘Jnag’.

    a+,
    Vincent

    Posted by Vincent Cantin - 'karmaGfa'No Gravatar | juillet 25, 2009, 7:42
  8. Thanks for the feedback everybody, I’ll be back soon with more details on this project and the others.

    Vincent, I already checked Darkstar source code and tutorials. That’s why I feel interested to mix my experimentations with this project, to benefit from the robustness of the architecture.
    I will have a look on your project asap. Thanks !

    Posted by Francis BourreNo Gravatar | juillet 26, 2009, 10:35
  9. [...] PixServer, here’s the second project I started few weeks ago during my free time. As a musician, I was [...]

    Posted by PixFM – Interactive music with Flash | tweenpix | septembre 3, 2009, 15:20

Post a comment

-->

Recent Comments

  • Viagra ordre
  • Cialis en ligne
  • Levitra en ligne
  • Propecia acheter
  • Viagra acheter
  • Acheter cialis
  • Ordre levitra
  • Ordre propecia
  • En ligne viagra
  • Vente cialis
  • Levitra bon marche
  • Propecia en ligne
  • Viagra online
  • Buy cialis
  • Order Levitra
  • Buy propecia
  • Buy viagra
  • Cheap cialis
  • Cheap Levitra
  • propecia online
  • Viagra prescription
  • Cialis online
  • Buy Levitra
  • Order propecia