Very Impressive!
I've been trying to get flash to detect movement like that for ages!
How on earth did you do it, is there a tutorial or totally self-designed A.S.?
0 reviews are hidden due to your filters.
Very Impressive!
I've been trying to get flash to detect movement like that for ages!
How on earth did you do it, is there a tutorial or totally self-designed A.S.?
ist's self designed, but it aint that hard.And since your not the first one who asked, Here a short example showing the basics:
my english in't that good ,so excuse me :)
just copy-paste it in your as editor(comments inside, and you need flash 8)and folow the instructions
have fun :-)
//first put a video object on your stage(for this example make it h:120x, w:160px,x: 0,y:0) and give it the instance name "my_video_object"
//
//in the first frame
import flash.display.BitmapData;//this is just a class that comes with flash 8
my_video_object.attachVideo(Camera.get());
//attache the webcame to your video_object
video = new BitmapData(output_vid._width, output_vid._height);//make a new bitmapdata object
var pos_old:Number;
var pos:Number;
this.onEnterFrame = function() {
video.draw(my_video_object);//makes the screenshot
pos = (video.getPixel(80, 60) >> 16 & 0xFF);//gets the red value of the pixel in coordinates 80,60()in this case the center of the video object
if (pos>pos_old+30 || pos<pos_old-30) {//checks the difference of the old value with the new value, the +-30 is a sensitivety level
trace ("hit")
}
pos_old = pos;
}
Good but its too like the megadrive version of MK
The interactivity is nicely done, although the special moves are pretty hard to do, Graphics i'm gonna have to say ok, but it resembles the sega mega drive version of Mortal Kombat far too much to be original, but still is a cracking good play!
Wow i looked that up! How weird! Is it out on an emulator? I saw a screenshot it looks weird...Anyhow I never played it- or saw it before - so how could I copy it or be unoriginal? Huh? Huh? What makes this game so much like Sub Zero 5 I belive it is right??? I don't get it man! Lemme know!
Age 37, Male
Student
EE3
Belgium
Joined on 1/12/02