vale
12-01-2006, 06:20 PM
Hi,
I start to make a multiplayer game in FlashMX.
The game code is almost finished, but i have trouble to write the server side script.
for example: i have 4 players who play this game on my server. P1 and P2 play the game no1, P3 and P4 play the game no2. P1 receive variables from P2 and vice versa; P3<->P4...
The problem is that P1,...,P4 send variables to all users who are connected to the server.
How I can solve this problem?
PS. I don't want to use SmartFoxSErver or other programs(just flash, php or java)
thanks
I start to make a multiplayer game in FlashMX.
The game code is almost finished, but i have trouble to write the server side script.
for example: i have 4 players who play this game on my server. P1 and P2 play the game no1, P3 and P4 play the game no2. P1 receive variables from P2 and vice versa; P3<->P4...
The problem is that P1,...,P4 send variables to all users who are connected to the server.
How I can solve this problem?
PS. I don't want to use SmartFoxSErver or other programs(just flash, php or java)
thanks