How to develop flex client to flex server application

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
gopala.susurla
Posts: 31
Joined: 15 May 2011, 16:09
Contact:

How to develop flex client to flex server application

Post by gopala.susurla »

Hi All,

I working one mutli player game which is required of FLEX(AS) client to communicate to FLEX(AS) server through SFS 2x. Is there any possibilites for this approach ?If anyone have idea plases let me know as soon as possible.

We were created FLEX to JAVA communication but we want to FLEX to FLEX communication with SFS 2x.

Regards,
Gopala
GopalaSusurla
jurekf
Posts: 69
Joined: 08 Dec 2010, 23:46

Post by jurekf »

Not possible with SFS2X, only with SFS 1.6 Pro
gopala.susurla
Posts: 31
Joined: 15 May 2011, 16:09
Contact:

Post by gopala.susurla »

Hi Jurekf,

Thanks for given info.But I want exactly client to client communication with SFS2x.In client side I am using AS3.

I want to develop multi player game on chess.If we can arrange pieces for player 1 and player 2.Player 1 ready for thier side and player 2 is ready for his side.So I want to display the pieces according their positions.Means Player 1 side --- player1 is visible down side and opponent is appear for up side.

Player2 side--Player 2 is appear for down side player 1 appear for up side.So please let me know is there any possibilities to communicate Client to Client communication through SFS2x
GopalaSusurla
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

hi. If i understand this correctly, client to client direct communication isn.t possible, but you can achieve what you want by creating a room and joining both users there. You can check the SFS2X Tris example to see how it works
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

@gopala.susurla, what does it mean "mutli player game which is required of FLEX(AS) client to communicate to FLEX(AS) server through SFS 2x"?
What is "FLEX(AS) server"??
Paolo Bax
The SmartFoxServer Team
gopala.susurla
Posts: 31
Joined: 15 May 2011, 16:09
Contact:

Post by gopala.susurla »

Hi Bax,

Does means I have to develop game at the starting of the game both Players are ready for their set ups.

Player 1:Player 1 set up should be appear in down side and Player 2setup is appear should be in upside.

Player2:Player 2 set up is should be appear in down side and player1 set up is appear in up side.

So I want to develop this phase with out using JAVA support(server side).

Need to develop client to client.I am using Action Script 3.You have any idea about this?

Regards,
Gopala
GopalaSusurla
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Usually it is no recommended to create games with client-side logic only, due to security issues. Anyway SFS is indeed capable of handling such games. You simply need to have all the logic on the client.
I can't be more specific because it would require a detailed analysis.
Paolo Bax
The SmartFoxServer Team
Post Reply