As the character tries to get to the subway, he must choose directions. He holds up a brightly colored ball in each hand, each representing one of the choices. The user then holds a ball up to the video camera to designate which way the character should go.

Storytelling: Help Me Get to the Subway

Help Me Get To the Subway

Name

Help Me Get to the Subway

Summary

As the character in the video tries to get to the subway, he reaches three places where he can choose between going left or right. He holds up a brightly colored ball in each hand, each representing one of the choices. The user then holds a ball up to the video camera to designate which way the character should go. The camera reads the color of the ball and the story continues accordingly.

If the user chooses the wrong direction, the character gets beaten up and the game restarts.

Program

The story was created using Processing and video.

Overview

I started by filming all the video. I had the actor walk to the subway and when he got to three separate points, he held up the two balls. Then we had to film him going the right way and going the wrong way. When he went the wrong way, I had two actors beat him up. It took about an hour to film.

CM Capture 2.jpgOnce I had the video, there were two different pieces of code that I needed. The first was to jump between video segments. After reviewing the available code online, there were two choices. I could either have different videos start and stop or I could make one long video with all of the choices and program Processing to jump to different points. The latter seemed to make more sense.

The next piece of code I needed was for the video camera on my computer (or an external video camera) to register the different color balls and jump to the different parts of the video based on it. This was the most frustrating and most difficult to figure out, but Shawn was a huge help during his office hours.

Once I had the code, I had to test it. Obviously the hardest part was the different lighting conditions, which affected how bright the pixels were on the screen.

I expanded on this idea in my final project for the semester, “Project Run Away.”

ICM: Week 1 Assignments

Wow, this was a lot tougher than I thought, particularly because I wasn’t able to find the solutions to the exercises yet on Dan Schiffman’s site.

The part that gave me the most trouble (and which I still don’t really understand) is the third chapter on mouse interaction.

Anyway, here’s what I did. I took my original drawing from class:
bsjl1gorueycz7qwbnz3.jpg

and recreated it in Processing.

Then, just for fun, I played around and created this.

It ain’t beautiful, but it’s a start!