Saturday 10 September 2011

Week 9 - Pitch, Drawing & Interactivity

Monday - Assessment Due: Pitch your Storyboard to the class

  • Remember to practice your pitch, prepare your presentation aids and read the Assessment Event carefully to see how you are being assessed.

Tuesday - Illustrator Drawing Practice (Using the Pen Tool & Editing Paths)

Wednesday Night - Interactivity (Controlling the Timeline Revision & Importing Movie Clips)



AS2 Revision
Animate an object in the center of the stage going up, down, left, and right using buttons.  The object must return to the center of the stage at the end of each move.

Use AS2 to control the movement of the object using the direction keys, by placing the following code on your hero object.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
onClipEvent (enterFrame) {
	if (Key.isDown(Key.LEFT)) {
		_x--;
	}
	if (Key.isDown(Key.RIGHT)) {
		_x++;
	}
	if (Key.isDown(Key.UP)) {
		_y--;
	}
	if (Key.isDown(Key.DOWN)) {
		_y++;
	}
}

Complete Part 1 of the following tutorial - http://www.emanueleferonato.com/2006/10/29/flash-game-creation-tutorial-part-1/

No comments:

Post a Comment