Action Script Theme Park

 

Create an ActionScript Themepark

Scene 1

Requirements
 
Have completed CP 11 ActionScript Day 1 Instruction

Notes you must Understand

_root.instance. _x =value
The X axis position (in pixels) of the target clip. value should be a number; no quotes!

_root.instance. _y = value
The Y axis position (in pixels) of the target clip. value should be a number; no quotes!

_root. instance. _width= value
The width (in pixels) of the target clip. value should be a number; no quotes!

_root. instance. _height= value
The height (in pixels) of the target clip. value should be a number; no quotes!

_root. instance. _rotation= value
The rotation angle (in degrees, -360 through 360) of the target clip. value should be a number; no quotes!

_root. instance. _name= value
The instance name of the target clip.

_root. instance. _xscale= value
The X scale proportion relative to the original clip size, (in percent) of the target clip. value should be a number; no quotes!

_root. instance. _yscale= value
The Y scale proportion relative to the original clip size, (in percent) of the target clip. value should be a number; no quotes!

_root. instance. _alpha= value
The alpha fade level (in percent) of the target clip. value should be a number; no quotes!

_root. instance. _visible= value
The visibility status (true (1) or false (0)) of the target clip.

Instructions…..

In Scene 1 we are going to create a Mirror Room….Using at least 4 buttons create 4 effects that happen to the character in the mirror room.  You must also have a 5th reset button that changes the character back to his original form.

Evaluation

/5 marks for character drawing

/5 marks for the 5 functioning buttons

 

Scene 2.
A Ferris Wheel with an ON OFF Button 10 marks

The button will have to control a movie clip.....

on (press) {
_root.instance.gotoAndPlay(2)
}

The ferris wheel should be stopped in frame one

Evaluation

/5 marks for the drawing and sounds

/5 marks for the actionscript coding

 

 

Scene 3 Roller Coaster.
A Roller Coaster that is started by dragging and dropping a person on it.

The person then must look like they are sitting in the roller coaster as it goes around the track

Refer to our Slupee example to make this work.

Remember you must make a movie clip and then put an button in the movie clip. The following actionscript code is then placed within the button in the movie

on (press)
{ startDrag (this, true);
}

on (release)
{ stopDrag ();
if (this._droptarget == "/guy_mc")
{ _root.guy_mc.gotoAndPlay(2);
}
}

 Evaluation

/5 marks for the drawing and sounds

/5 marks for the actionscript coding

Scene 4.  Point and Click

Create a Point and ClickGame(Dunk Hunt) where you have to move the mouse over a randomly moving target and click it to score points.

Evaluation

/2 2 types of moving target with different degrees of difficulty
/2 after the targets are hit they should animate and move in some way
/2 Keep Score and timelimit on game (various targets should be worth different points)
/2 A Theme
/2 Sounds

/5 Visual Appeal and fun factor

use this link to change your cursor to anything you want

 

 

Scene5.
 A shooting gallery. details to follow 10 marks

Evaluation
/5 Funfactor, Visual Appeal (is it like a shooting gallery)
/2 Moving Target
/2 different type of second target
/2 keeps score
/2 gun movement restricted
/2 sounds
/5 sophistication of targets.... you are allowed to have more than 2 types of targets

You will create an object that fires or throws an object. It could be a gun with a bullet, a bow with an arrow, an arm with a tennis ball etc..... you just have to make something move when a key is pressed.

As far as targets go you will create movie symbols that you will move across the screen. Try one first moving left to right. You can then add ones moving from different directions, random speeds or any other creative things you want.

You will need this code for making the gun move……Place it in the actions of the gun movieclip