O_O
Wat da Phuck. :| It was...fun?
O_O
Wat da Phuck. :| It was...fun?
Fun for Me
It was ok but it should be longer. Then it would have more lasting apeal.
Phew
wow thats hard for me, cuz its all messed up
Cool
I'm just a beginner Flash. We practise this at school. But what kind of code do you need to make such a thing?
There are 3 main elements to this code.
1. Getting the Web Cam footage on screen
2. Motion Detection
3. Collision Detection
Getting the web cam footage is easy, just search for "web cam in flash" in google and you can find it.
The motion detection is done by running a function ten times a second which takes a screenshot of the web cam footage and compares it to the previous image using the inbuilt bitmap tools (difference).
Then, this difference is converted into a new drawing shape (bitmap class again) and this is how it detects motion, by simply drawing a shape where movement is found.
Then a relatively simple function was created to be able to detect when the created bitmap collides with the movieclip objects (bubble and spike) and this would call a function that adds or deletes a score accordingly.
This game was made using an extremely small amount of code. Without the music or graphics the code is only around 20kb
Great!
i don't really see why people say 'its a copy of eye toy' this is a great and simple game, it does get a little boring after a little while but i have played eye toy and it does have similarities but who cares? for those who gave a score of 0 i think thats wrong