Shop Mobile More Submit  Join Login
*Update 04/19/2008*
I am making the source file for this available. It seems people are as intrigued by this little tech demo as I am. Unfortunately, I feel that it needs vast improvement in the fun department. So if any of you know actionscript and want to make improvements to this, you are most welcome to and will get credit. Some improvements that I personally would like to implement when I get a little time to do so are

- First and foremost, I HATE how the ball and the paddle interact. I want to have the ball bounce more naturally off of the paddle. Like the farther towards the outside of the paddle it hits, the more horizontal its trajectory. And if the ball hit the center of the paddle it would be more vertical in flight.

- More levels. Seriously, rectangles get old.

- More precise motion and color recognition. I mean, it works, but its not perfect. If there are any pros out there who think they can update my algorithms for this, I will happily make the changes.

- Anything else that would be fun.

I apologize for the crude manner of distribution but the .fla can be found here [link]

And Here are the 2 pages of code that I have for this so far.
Title Layer/Frame Code: [link]
Game Layer/Frame Code:
[link]

The formatting of the above Code pages is NOT pretty, and it may be more readable just downloading the .fla if you are interested.

So if anyone wishes to update my code or .fla file let me know, or just update it and send it to me and I will post the update here with full credit given to the changes.

I was learning actionscript as I wrote this, so I do apologize for the sloppy code habits.

Peace
*/end update*

03/23/08
A Project I did in the guise of Pong, or Arkanoid, which ever you prefer. A webcam is necessary to play.

The Basic idea is that movement in the webcam guides the pong paddle around the screen. Whatever color the player is holding as they move the paddle around will affect the game differently. Red, Green, and Blue colors are detected whenever the ball hits the paddle and will power up the player's paddle in different ways.

I find that the game works perfectly with overhead ambient lighting.

I use Lego bricks to play it as they are very colorful and fun in and of themselves.

Give it a try, tell me what you think.

Also I would like to add that this is really just a demo of my attempt at this sort of camera and color recognition using actionscript. I would like to touch up a few things as well as add more levels when I get the chance.
Add a Comment:
 
:iconstickmasterdraw:
StickMasterDraw Featured By Owner Mar 28, 2012  Hobbyist Traditional Artist
Awsome!!!
Reply
:icongurt-b-froe:
Gurt-B-Froe Featured By Owner Dec 22, 2011  Hobbyist Artist
I like the little up and down the wall quirk in this game. ^^

The game itself is "Break Out" like in nature.
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Dec 26, 2011
Yea it was really just to see if I could do it ha :) Thanks for checking it out :)
Reply
:icongurt-b-froe:
Gurt-B-Froe Featured By Owner Dec 26, 2011  Hobbyist Artist
You're welcome!! ^^

You did well.
Reply
:iconsonicfanatic32:
Sonicfanatic32 Featured By Owner Dec 28, 2010  Student Digital Artist
what a brilliant way to bore myself to death...
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Dec 29, 2010
..Thank you??
Reply
:iconsonicfanatic32:
Sonicfanatic32 Featured By Owner Jan 3, 2011  Student Digital Artist
lol you're welcome
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 24, 2010
All it does is control the game. Nothing is saved. If you are really that concerned you I have posted all of the code involved in this game if you want to read through it. There is nothing in there saving images anywhere.
Reply
:iconwarriorskitty:
Warriorskitty Featured By Owner Apr 23, 2010
Excuse me, I came here, and I accidentally clicked accept. Could you delete the video that got taken?
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 23, 2010
I assure you no videos are taken, its only play back.
Reply
:iconwarriorskitty:
Warriorskitty Featured By Owner Apr 23, 2010
Okay thank you, I'm sorry I didn't play, and I apologize for scaring myself silly.
Reply
:icontompokenutter:
tompokenutter Featured By Owner Apr 23, 2010  Hobbyist Writer
What does playback do here? I'm her brother, and I'm just as concerned as she is.
Reply
:iconerythele:
erythele Featured By Owner Aug 3, 2009  Hobbyist General Artist
...but this isn't Pong. :( It's Breakout...
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Aug 4, 2009
There is two player mode :)
Reply
:iconthesense:
thesense Featured By Owner Jul 3, 2009
great! :) does that work with flash 8? if so - is there a source available for it?
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Jul 3, 2009
It was written in actionscript3 So I am unsure whether or not it will work with flash 8, I am unfamiliar with the versions and what they support sorry heh.

The source codes are here...
[link]
and
[link]
Reply
:iconoddbydefault:
oddbydefault Featured By Owner Jun 11, 2008
pure GENIOUS.

honestly. i didnt even know it could be done....
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Jun 11, 2008
Thanks, I'm hoping to get back to work on this thing in the next week or so. I want to add more single player levels and add something to the multiplayer
Reply
:iconsmashiiman:
SmashiiMan Featured By Owner Jun 6, 2008
lol i made the ball excape the box lol. sry i glitched. anyways. this is AMAZAING
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Jun 7, 2008
Thanks, I might actually have some time to work on this thing soon heh.
Reply
:iconsamy992:
samy992 Featured By Owner May 28, 2008
that is so cool!
Reply
:icontrip-dot:
Trip-Dot Featured By Owner May 28, 2008
Thanks, I appreciate it.
Reply
:iconsamy992:
samy992 Featured By Owner Jul 14, 2008
you are so welcome!
don't worrie about it!
:)
Reply
:iconaidanthebananaman:
aidanthebananaman Featured By Owner May 11, 2008   Filmographer
that's amazing!! I love this x3
Reply
:icontrip-dot:
Trip-Dot Featured By Owner May 11, 2008
Thanks, I appreciate it.
Reply
:iconmumbomagic:
MumboMagic Featured By Owner May 1, 2008
loveeee it =]
Reply
:icontrip-dot:
Trip-Dot Featured By Owner May 1, 2008
Ha thanks.
Reply
:iconblaydrix:
Blaydrix Featured By Owner Apr 22, 2008  Hobbyist Writer
My ball just disappeared.
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 22, 2008
In which way heh. When I get around to it I will fix the errors that you guys are reporting. I appreciate them.
Reply
:iconblaydrix:
Blaydrix Featured By Owner Apr 22, 2008  Hobbyist Writer
I was playing the one player one, and it went off the side of the screen. I didn't lose a life or anything, the game just resumed as normally, just ball-less.
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 22, 2008
Cool thanks for the info.
Reply
:iconwraii:
wraii Featured By Owner Apr 20, 2008
Umm great game to start with
but at one stage i had my paddel right as far to the left as possible
and the ball hit it and flew off the left side of the screen. just something you might want to look at
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 20, 2008
Thanks, ill check it out next time I'm working on it.
Reply
:iconfemale-inuyasha:
Female-InuYasha Featured By Owner Apr 20, 2008  Hobbyist Traditional Artist
yeah, and it can also get stuck bouncing on one side :D
Otherwise, IT'S AWESOME!
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 20, 2008
Yea I need to redo the way the ball is constrained within the game area heh.
Reply
:iconfemale-inuyasha:
Female-InuYasha Featured By Owner Apr 27, 2008  Hobbyist Traditional Artist
Still, it's awesome!
Reply
:iconkestinu:
kestinu Featured By Owner Apr 20, 2008
Addicting but needs a pause button:D
Reply
:iconlakoneko:
lakoneko Featured By Owner Apr 19, 2008  Hobbyist General Artist
Cute game but I lost the ball on 01 (went off the side of the screen without returning). How do you get it back?
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 19, 2008
Heh restart the program, sorry, still really buggy.
Reply
:iconlakoneko:
lakoneko Featured By Owner Apr 19, 2008  Hobbyist General Artist
okay! Thanks!
Reply
:iconsnyped:
snyped Featured By Owner Apr 19, 2008
I click 'Accept' when it asks.. but it always stays on the numbers screen. Any ideas?
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 19, 2008
clicking the green 01 takes you to the single player demo, the green 02 takes you to the multiplayer demo.
Reply
:iconsnyped:
snyped Featured By Owner Apr 20, 2008
yeah.. I figured that out just now, so now I feel kinda silly ^_^;;
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 20, 2008
Np, you aren't the first one heh.
Reply
:iconcrabmuffin:
crabmuffin Featured By Owner Apr 19, 2008
XD My mom and I have been playing with this on her computer for nearly an hour. We're entertained easily, but you're still a genius.
Reply
:iconmello-the-girl:
mello-the-girl Featured By Owner Apr 19, 2008
this is awesome!
Reply
:iconemmasea:
emmasea Featured By Owner Apr 19, 2008  Hobbyist Photographer
i don't think my computer is supposed to restart every time i hit the 'Accept' button
Reply
:icontrip-dot:
Trip-Dot Featured By Owner Apr 19, 2008
Sounds like a serious hardware issue. That sucks.
Reply
:iconkarlibell22:
Karlibell22 Featured By Owner Apr 19, 2008
Omg that's so neat x3 The way I had my lighting is cool 'cuz it changes my colors..
Reply
:iconchangeling007:
Changeling007 Featured By Owner Apr 19, 2008  Student Traditional Artist
that was fun... until the ball clung to the right side of the screen and flew off into those other 2 boxes... .________.
Reply
Add a Comment:
 
×
Download SWF download, 12.1 KB

:icontrip-dot: More from Trip-Dot





Details

Submitted on
March 23, 2008
Image Size
12.1 KB
Resolution
1000×500
Link
Thumb
Embed

Stats

Views
9,621 (1 today)
Favourites
126 (who?)
Comments
85
Downloads
421

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×