Home > Actionscript 3 > Multiplayer Pong

Multiplayer Pong

In the subject interface cultures Dominik Goltermann, Matthias Frick, Daniela Dobler and I developed a multiplayer pong game with color tracking. The client was implemented in Actionscript 3 by using the Webcam Colortracking Class from Jop Wielens. The flash application establishes a connection with a ruby server. The player start the application and choose the color to track with the mouse. It is advantageous to take a item with a lurid color. After that the program waits for the opponent. A soon as the second player has joined, the game starts. The user can control his bar with the tracked object.

We tracked a green pen.

We tracked a green pen.

The data exchange runs via a ruby server. Ruby managed the direction changing of the ball, scores and the position of the bars. We programmed an separate server, because in flash it is not able to connect two flashapplications together.

Multiplayer Pong

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter
  1. Bisher keine Kommentare
  1. Bisher keine Trackbacks