ryanSmithART.com

ryansmithart.com/courses/2013/363

Week #12


Project C due: Today
- Please upload your project to the WWW.
- Add a link to your class webpage
- Give me the .html, .swf, and .fla files used to make your project



Capturing keyboard input

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


stop(); //on frame #1

//This code will gotoAndStop 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){
gotoAndStop(2)
}
}


Ryan's " Build Your Own Brakhage "

Check out: QWERTY.fla

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

"Fun Game"
- Example #1
- Example #2
- Example #3

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

Get Adobe Flash player



Play with sound on



DOWNLOAD: "space_game.zip" (1.1 MB)


Homework:

DOWNLOAD: "space_game.zip"


1) Come up with a new idea
2) Change the overall design (the background & all the Movie Clip symbols)
3) Change the sound effects
4) Upload it to a server (w/ the new .mp3 files)
5) Add a link to your 382, class webpage

Finished game due: Next class: Friday, Nov. 22

Next Week ( #13 )
Nov. 22
"Fun Game" Project Due
Have an Idea of what you want to do your final project on

( Thanksgiving : Thr. Nov. 28 )
Friday, Nov. 29: NO CLASS

There's 168 hours in 1 week:
Spend 1 of those hours outside.
Turn off the computer and the TV. Don't touch your phone.
And, see if you can spend 1 continuous hour without an electronic device.
The fresh air, and lack of electronics, will recharge YOUR batteries,
and leave you feeling refreshed.
It doesn't matter if you sit, walk, stare at the trees, or just close your eyes…
Take some time for yourself this week.