Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

What pattern to use in a multiplayer game?

Avatar

Level 3
Hi all,

I've studied all capabilities from FDS but I'm still not sure
about what patten to use in a Flex multiplayer game.

Flex Message Service would not be useful since I need
server-side processing. Data Management Service would not too
because I'm not interested in registering the game data into a
database for further distribution.



I thought of using RemoteObject. I need the client to inform
the Server of it's actions through RemoteObject. But the Java
processing class would have to send messages to the other clients,
and these messages would have to be read with a Consumer object.



I don't know if it is possible a Java class running inside
FDS send messages to clients through Flex Message Service. If it's
possible I'll have no problems. If it's not. How would I do that?



Any suggestions will be appreciated.
1 Reply

Avatar

Level 2
Hi ciwee_ufrj,



It is Flex Message Service that sends message to all
Consumers(Selected Players)!



Using both Flex Message Service and RemoteObject is the way
to do your game.



Jeffrey