Simple Flash Multiplayer Game Physics Test2007-10-09 The flash gaming world is slowly moving towards AS3, which offers tremendous advantages both in speed and good design. The commercial gaming servers are coming out with their own examples, some of them do work already. Smartfox server is a good place to start. As far as development tools go Flash CS3 is out for few months now, while Flex 3 is in beta. One might find themselves in quite a mess and with no easy place to start. This example is using AS3, for writing the code one can use tools such as ultra-edit, for FLA editing and compilation Flash CS3 is recommended. There is a multitude of issues when developing real time multiplayer games and this example will illustrate a number of them. By no means is it perfect. Actually I'm currently aware of many bugs and pending design issues some of them are: download physics source Get two games connected on the server, first one connected will have the player on the left, you can drag and throw the ball it will bounce of ships (which spawn randomly) and of the walls. If you get errors just dismiss them. You can only destroy other objects when your ball turns white, that's after a few bounces. |
|