Flash Motion Tracking kids Game

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,222
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 27, 2008

So this weekend I decided to make something somewhat useful with my AS3 motion tracking. A kids game. I have two little boys. It's simple but they had a blast. First off I used a projector to put it up on the wall so the kids could interact with their full bodies. It's 3D twister. I will get some video of that soon. For now here is a basic video.

The object is to touch the letter given on the big red ball without touching other balls which results in loosing a point. Perfect score is 10. None of us achieved this but we did get a decent yoga style workout.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (metanurbTube)

  • Hi! I´m trying to work with ostrich lib, but I cant get it to goatonplay (etc)

    That´s because I don´t know as3... could you explain me how to translate a gotoandplay to as3 pls? Itd be really appreciated

  • @JpDejean gotoAndPlay needs no translation in AS3.0. It's still valid. Your problem must be somewhere else in your code. Make sure you don't have a Stop action on the timeline target frame of the MC you are trying to target. I have no idea what ostrich lib is btw. I pretty much moved over to Objective-c these days and have not done any Flash in almost a year, lol.

  • @JpDejean P.S. In AS3.0 you attach event listeners to buttons etc.

    e.g.

    btn1.addEventListener (MouseEvent.CLICK, myFunction, false, 0, true);

    function myFunction(event:MouseEvent):v­oid

    { my_mc.gotoAndPlay("5")

    }

  • Most motion-traking works by accepting anything that moves as an object.

    A simple way around this, is to ask the player to first take a snapshot of their background, without them in it.

    This way, it'll track where they are regardless of it their still or not.

    Just a pointer for you :)

    Nice work btw.

  • I like that. Thanx. I will try it.

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • Your video is popular on Phnom Penh

  • This video went viral on Ireland

  • @metanurbTube Thanks so much for your help! I´ll give it a try, my boss whants to make a presentation of a flash devided into scenes using this method... and guess how he´s driving me lol

    Thanks so much again, best regards from Argentina

  • Hi, Im working on a college project where im using motion tracking in flash as3. I was getting the centre point of objects / width / height. Im now looking at Frame difference. With this video did you compare each pixel in a for structure? Did ya use collision detection?

    Cool video,

    Thanks

  • can you post a download link it looks fun lol

  • simple and looks very fun

  • Have you worked with AS 2.0's to make something like this? I've had some interesting results with it, and I'm wondering how much better AS 3.0 is. Obviously the computing power is probably what's faster...

    oh and to rybo5000's point, by using his method you can also change the backgrounds of the person's by way of converting the change in pixels part to a movie clip and caching it by way of cacheAsBitmap, then use that as a mask on your video MC, with a static background image behind it :d.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more