Yup, that's exactly what I have set up - it seems to be working perfectly so far!
Thanks for your reply.
cheers,
Alex
Search found 15 matches
- 06 Dec 2011, 09:44
- Forum: SFS2X Questions
- Topic: Intercept object message within extension
- Replies: 5
- Views: 8518
- 05 Dec 2011, 14:22
- Forum: SFS2X Questions
- Topic: Intercept object message within extension
- Replies: 5
- Views: 8518
- 05 Dec 2011, 09:12
- Forum: SFS2X Questions
- Topic: Intercept object message within extension
- Replies: 5
- Views: 8518
The reason I want to use object messages rather than user variables is that I want to send a timestamp with each message (the number of millliseconds since the start of the game) in order to help keep things synchronised as far as possible. I can then compare the remote time and local time with each ...
- 02 Dec 2011, 17:19
- Forum: SFS2X Questions
- Topic: Intercept object message within extension
- Replies: 5
- Views: 8518
Intercept object message within extension
Hi,
I have a zone extension and a room extension written in Java.
Inside my game room (in flash), my users send object messages to each other that describe their x & y co-ordinates, movement vectors and a timestamp.
I have now found that it would be useful to also store the x & y values as user ...
I have a zone extension and a room extension written in Java.
Inside my game room (in flash), my users send object messages to each other that describe their x & y co-ordinates, movement vectors and a timestamp.
I have now found that it would be useful to also store the x & y values as user ...
- 22 Nov 2011, 14:16
- Forum: SFS2X ActionScript 3 API
- Topic: UserVariable or ObjectMessage
- Replies: 1
- Views: 5287
UserVariable or ObjectMessage
I have a game with 4 players. I want each of them to broadcast the following properties to the other players:
x position
y position
x motion vector
y motion vector
I intend for each player to broadcast updates on events (eg motion start / change direction) and also on a set interval (maybe 500ms ...
x position
y position
x motion vector
y motion vector
I intend for each player to broadcast updates on events (eg motion start / change direction) and also on a set interval (maybe 500ms ...
- 22 Nov 2011, 12:22
- Forum: SFS2X ActionScript 3 API
- Topic: ping interval
- Replies: 5
- Views: 10085
ping interval
Is it possible to set the time interval for the lag monitor? It seems to be set at 2 seconds between pings, but I'd prefer it to be 5 seconds. I've had a good rummage through all the documentation I could find but can't see any way to adjust the timing for the PING_PONG event.
- 18 Nov 2011, 16:24
- Forum: SFS2X Questions
- Topic: Zone Extension > Room Extension communication
- Replies: 2
- Views: 5329
- 18 Nov 2011, 16:16
- Forum: SFS2X Questions
- Topic: Zone Extension > Room Extension communication
- Replies: 2
- Views: 5329
Zone Extension > Room Extension communication
Hi there,
I have created a Zone extension .jar file that handles getting players into a game room and then starting the game once 4 players are present.
I've also made a Game extension .jar file that starts up a scheduled task once the game begins. To do this I need to call a 'startGame' method on ...
I have created a Zone extension .jar file that handles getting players into a game room and then starting the game once 4 players are present.
I've also made a Game extension .jar file that starts up a scheduled task once the game begins. To do this I need to call a 'startGame' method on ...
- 18 Nov 2011, 10:24
- Forum: SFS2X ActionScript 3 API
- Topic: How to handle multiple room instances
- Replies: 3
- Views: 7353
thanks rjgtav! Yes, funnily enough I was just considering the int - max value issue. Thinking about it, as long as I make the looping occur at a sufficiently high number (more than the number of rooms likely to be open at once) then it is going to avoid any problems, it doesn't have to check for 2 ...
- 17 Nov 2011, 14:31
- Forum: SFS2X ActionScript 3 API
- Topic: How to handle multiple room instances
- Replies: 3
- Views: 7353
To answer my own question - I suppose that if I handle the game room creation via a Zone level extensions (as per the answer to my previous post) then I can just have an integer within my Zone extension class that is incremented each time a game room is created, and append this to the name. I guess ...
- 17 Nov 2011, 13:02
- Forum: SFS2X ActionScript 3 API
- Topic: How to handle multiple room instances
- Replies: 3
- Views: 7353
How to handle multiple room instances
Say I have a game 'Game A' that allows only 2 players. So player 1 arrives in the lobby, and decides to start a game by pressing a button.
This triggers a room to be created, called 'game_a' and player 1 joins that room.
Now player 2 arrives in the lobby, decides he also wants to play Game A and ...
This triggers a room to be created, called 'game_a' and player 1 joins that room.
Now player 2 arrives in the lobby, decides he also wants to play Game A and ...
- 17 Nov 2011, 12:13
- Forum: SFS2X ActionScript 3 API
- Topic: Joining a game room
- Replies: 2
- Views: 5830
- 17 Nov 2011, 11:22
- Forum: SFS2X ActionScript 3 API
- Topic: Joining a game room
- Replies: 2
- Views: 5830
Joining a game room
Hi there,
I am building a set of games with a lobby area that users can navigate around with avatars. I'd like to allow a system of game entry similar to that used in club penguins 'Ski Hill' sled racing game, whereby the user chooses to start or join a game by navigating over to an onscreen game ...
I am building a set of games with a lobby area that users can navigate around with avatars. I'd like to allow a system of game entry similar to that used in club penguins 'Ski Hill' sled racing game, whereby the user chooses to start or join a game by navigating over to an onscreen game ...
- 27 Feb 2009, 13:18
- Forum: OpenSpace v1 discussions and help
- Topic: Framerate drops to 0 when I move the mouse over OS.
- Replies: 11
- Views: 22143
- 27 Feb 2009, 13:05
- Forum: OpenSpace v1 discussions and help
- Topic: Framerate drops to 0 when I move the mouse over OS.
- Replies: 11
- Views: 22143