Creation of an educational game with Box2D

Since I have a daughter, I love educational games. My daughter learned to count up to 100 and now is learning english thanks to her iPad and a ton of apps I installed.

So, imagine what happened when I saw this video:

I had to do something similar with Box2D.

And here is a brief prototype, still uncommented because it’s rather unfinished, but at least you can pick up boxes with the mouse and put them in their place.

And here is the result:

Pick boxes with the mouse and place them in their places.

More to come during next days, can’t way to make something similar for my daughter.

Download the source code.

  • Hi Emanuele.
    Cool to see my video featured here :) thanks!

    Its really quite simple to setup this kind of physical scene. But that also what is cool I think, make something simple and then see your kid using it for learning new things.

    Great example you did using Box2D. Im a Nape guy myself :)

    I got some other videos showcasing the project on my vimeo page.
    http://www.vimeo.com/bjeld

    Best regards
    Martin

  • fjckls

    Nice, have to make one for my kid too :). Btw when is your box2d book coming out?

  • Good script! It’s incredible how useful can new techonoligies be for education. There’s a typo in your last sentence: …next days, can’t way to make some… *wait
    :)

  • a pretty interesting idea.
    tanks :-)

  • Emre

    Please make the stencyl version, I really need it.

  • I’ve done something similar but it was a puzzle with about 9 pieces. Works great on desktop, and terribly slow on an iPad3. Isn’t it better to use Starling to achieve this? Martin, how did you do it?

  • Hi Santiago.

    I used Combination of Starling and nape. I only use the Starling “Display List”

  • Thanks Martin!

  • Hi, how are you?
    How do I run a flash application on iOS (iPad, IPHONE)
    as in this example from the video, I made a sample. how to setup html to run flash on iOS?

  • Todd

    Nice share! Thanks!

  • George

    Oh hey Emanuele, that’s nice! My company was working on some educational games also ^^…

  • I’m new to programming. Am I correct is saying that you built this program in flash using Box 2d as a framework then compiled the program into an SWC file and ran the Swf part of that file in the code for this webpage in order to create that interactive portion.

    Also, It’s my understanding that Box 2d is free, compliers are free, yet flash is not free but seems to be an essential tool for the creation of any animation or game. I have xcode and eclipse, but it’s my understanding that these are not the same as flash.

    I AM CONFUSED is really what I’m trying to say.

  • I’m new to programming. Am I correct is saying that you built this program in flash using Box 2d as a framework then compiled the program into an SWC file and ran the Swf part of that file in the code for this webpage in order to create that interactive portion.

    Also, It’s my understanding that Box 2d is free, compliers are free, yet flash is not free but seems to be an essential tool for the creation of any animation or game. I have xcode and eclipse, but it’s my understanding that these are not the same as flash.

    I AM CONFUSED is really what I’m trying to say.

  • gus

    hello there

    is there any project like the one viewd on the video ?

    it seem nice but this is not complete
    any download files or etc for a complete files please :) ?