Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

What pattern to use in a multiplayer game?


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


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.