PDA

View Full Version : Webcam pingpong



danielsvane
June 23rd, 2010, 08:08 PM
Hey people

I've been playing around with some bitmap stuff, and ended up making a simple pingpong game, where you can control the players with an object on the webcam.

Click on the player to select a color it should follow. When you're done with selecting player colors, click the black ball in the center to start playing.

It's more fun playing two, and might make you feel a bit silly.

Game:
http://danielsvane.dk/flash/pingpong.swf

Source:
http://danielsvane.dk/flash/pingpong_source.zip

hoolagon
November 23rd, 2010, 04:19 AM
Hey people
Game:
http://danielsvane.dk/flash/pingpong.swf


It throws this error and freezes on a blank screen:



TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PingPong/setup()
at PingPong()
at pingpong_fla::MainTimeline/frame1()

Eduard
November 26th, 2010, 07:00 AM
Well, it works for me... and it's actually pretty cool, haha...:D

A little buggy, but it works.