art382 (interactive media)

instructor: ryanSmith
home | syllabus | contact | links | student work

Week 13

** Give Back Grades **

Project C
due this week


ASSIGN FINAL PROJECT

Useful Links:
http://justcreative.com/2010/04/06/branding-identity-logo-design-explained/
http://sixrevisions.com/user-interface/website-wireframing/
http://webdesign.about.com/od/strategy/qt/plan_site_map.htm


Here's some things I definitely want to go over:
-keyboard input
-for loops & arrays

-Fun Website: http://martinanderle.de/#/portfolio

Do you want to have class November 21 (the day before Thanksgiving)?

A simple Flash game (this week)
More HTML & CSS
Talk about javaScript and/or jQuery
Switch gears and look at Processing (last day)


Capture Keyboard Input
function reportKeyDown(event:KeyboardEvent):void{
trace("Key Pressed: " + String.fromCharCode(event.charCode) + " (character code: " + event.charCode + ")");
}
stage.addEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown);


//This code will gotoAndPlay on frame 2 when you hit the enter key: stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
function keyDownHandler(event : KeyboardEvent) : void{
if (event.keyCode == Keyboard.ENTER){
gotoAndPlay(2)
}
}


LOOK AT "build_your_own_brakhage"
look at the code

LOOK AT "SPACESHOOTER"
download CS4 .fla file (no sound)

source: developphp.com

Tim Bubb's "super crazy awesome side-scrolling ninja ball Flash game of legend"


Arrays: (Week 7)
var groceryList:Array;
groceryList=new Array();

groceryList[0]="eggs";
groceryList[1]="bread";
groceryList[2]="milk";
groceryList[3]="cheese";

trace(groceryList);


Fun Website: http://martinanderle.de/#/portfolio

Arrays with for loops:

var a: Array;
a = new Array();

var i : int;
for (i=0; i<100; i=i+1) {
a[i] = new squiggle();
a[i].x= Math.random()*700;
a[i].y= Math.random()*700;
a[i].rotation=Math.random()*180
addChild(a[i]);
}

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

open .fla file


More Fun Stuff:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player


The Code
Open .fla file


Homework:

Get Started on Final Project
Due Monday:
-your sketches (including wire frames, and site structure)
-your resumé (printed)