Real-time Multiplayer Movement - Flash ActionScript 3 (AS3) - Flash Media Server
- by Wild Phoenix
Dear All,
I am creating a simple game, where I would like more than one player to be able to connect and play. With regards to a single player game, I am more than comfortable with the coding.
I cannot seem to figure out how to connect up more than one player and update their screens when the each player moves. So far I have the players connecting, but I still need to be able update the SharedObject when a player moves, then push it out to the other players.
I have searched high and low for a good tutorial / source code to review.
Code So Far
A tutorial i found so far listened for a click as it was a mouse based movement, then this told the SHaredObject to tell the client (and the others) to update that clients movement. However all of my movement is listend and acted on in the playership class.