STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229494 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2575 · P5149 |
This is the info page for Flash #40530 |
Loading |
This tutorial covers the process of making an RPG map. The codes are slightly different than most of the other RPG-tutorials out there, you might find this easier to expand. Check it out :) |
Topics: 1. Movement 2. Scrolling 3. Cosmetics 4. Objects *. Sample map |
In this tutorial we will cover the coding of a basic RPG map. What we're talking about here is: - a large, 2D environment with obstacles - a screen that scrolls around the map while the protagonist traverses in the environment Looks neat, doesn't it? This tutorial will teach the standard scrolling of your map and its objects, as well as decorating the atmosphere of the game. |
Basically, we're trying to create something like this: |
Click here to try the finished product |
Table of Contents |
1. Set your protagonist (movement) 2. Create your map (obstacle) 3. Scrolling the map 4. Creating Objects/Interactives 5. Cosmetics |
First of all, let's create an object that represents the main character. A simple circle movie clip will do. |
1. Draw a perfect circle (hold down shift) 2. right click the circle, click "Convert to Symbols" 3. choose "Movie Clip" 4. name it "hero", press OK 5. double click the movie clip, and make sure the object is aligned to the center of the screen. |
Chapter 1: Setting your protagonist |
Now that we have the symbol, let's code it so that it can move around. |
1. Right click the hero clip, choose "actions. 2. inside the action tab, implement the following code: (next page) |
this here is your "hero" clip, it will move across the map. |
<p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">onClipEvent(enterframe){</font></p><p align="left"></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.DOWN)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.UP)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.LEFT)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.RIGHT)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p> |
*you may copy and paste the code at the right* |
For this example, we will just stick with 4. But if you are an experienced coder, you can set a movespeed variable at frame 1 |
If you are doing this right, you should end up with this: |
voila, a circle that moves with arrow keys |
(Use arrow keys to move) |
How does the code work? (feel free to skip this part) |
OnClipEvent(enterFrame){ if(Key.isDown(Key.DOWN)) this._x += 4 this._x -= 4; this._y += 4; this._y -= 4; |
when you enter the frame with the movie clip in it, execute the following actions: |
if a key is pressed (in this case, the down arrow key) |
adds 4 to the x-coordinate of the object subtracts 4 |
similar reasoning NOTE: y coordinate is inversed in flash |
The animation of the character will be covered in Chapter 5. All we're doing right now is adding a simple code to your hero clip. What's next? We need a map, a terrain for the hero to traverse around. Let's move on to Chapter 2 - Create your map |
We need to draw a simple terrain for our hero to tread on. Don't spend too much time decorating it, just use the paint brush tool and brush out a maze, like this one: |
Chapter 2: Create your map |
this is what we are aiming at: Don't worry, we will go in detail soon |
use arrow keys to move! |
we can create this versatile environment with a few alteration of the movement code: But first things first, let's convert our background into a Movie Clip. |
right click our doodle and convert to symbol. Name it anything you want, I'd use "background" |
with the background symbol on the stage, select it. Under the properties tab, name it "BG" note that this is not the movie clip name, but the name of the symbol that is currently on the stage. |
now go back to the hero symbol, and paste the following code in our red circle: |
<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent(enterFrame){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.DOWN)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x, _y + 5, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.UP)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x, _y - 5, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.LEFT)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x - 5, _y, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.RIGHT)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x + 5, _y, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p> |
What did we do? |
The code changed from: |
if(Key.isDown(Key.DOWN)){ if(_root.BG.hitTest(_x, _y + 5, true)){ this._y += 4; } else ; } |
if(Key.isDown(Key.DOWN)){ this._y += 4; } |
To |
hitTest detects if any part of the two movie clips are overlapping each other. If they are, it returns true. so: if(_root.BG.hitTest(_x, _y, true)){ this._y += 4; } means that: if clip BG(our background) touches the x co-ordinates and y co- ordinates of our clip, we move as usual taking advantage of this... |
if(Key.isDown(Key.DOWN)){ if(_root.BG.hitTest(_x, _y + 5, true)){ this._y += 4; } else ; } |
When the DOWN key is pressed: if BG still touches 5 units below the y co-ordinates of hero clip. we move the hero else, if it BG doesn't exist 5 units below _y of hero, the hero does not move. in other words, if there aren't any more terrain from the direction that we are going, we stop. this is a simple code that omits the use of walls. |
_y |
_y + 5 |
how good can an RPG be if the whole map is already on the screen? A great deal about RPG maps is the unknown factor of the map and how the player can explore it. This is why we need scrolling - so only one part of the map will be visible to us at a time. |
Chapter 3: Scrolling the map |
use arrow keys to move |
a maze! |
how did we do this? Let's talk about the concept of this first. |
We created four "grids" on the stage, when our hero hittests the "grid", the map moves instead of the hero. So in a way, we are traversing the map. This adds an element of interaction to the RPG, as well as being downright awesome. |
Let's create the grids: |
use the rectangle tool and draw a rectangle it doesn't need to be as stylish as mine, just a regular rectangle will do. |
also make sure its dimensions are clean. A good dimension is 100 x 10. |
convert it to a symbol call it "grid" |
hero |
gridUP |
Align four grids centering the hero clip. Looking somewhat like this. |
gridDOWN |
gridLEFT |
gridRIGHT |
name these objects according to what I've listed. |
The grid itself doesn't need any code, but we are going to alter the hero clip's code once again. This is its new code: |
<p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y+5, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y-5, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x-5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x+5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridUP.hitTest(_x, _y-20, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridDOWN.hitTest(_x, _y+20, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridRIGHT.hitTest(_x+20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridLEFT.hitTest(_x-20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p> |
you will probably need ctrl+a and ctrl+c to copy this |
as you can see, we added four more statements to the bottom. |
if (_root.gridUP.hitTest(_x, _y-20, true)) { this._y += 4; _root.BG._y += 4; } means that: if hero is 20 units distance away from UP grid, the hero moves downward at the speed of 4, while the background moves downward at the speed of 4. So coupled with the earlier Key.isDown statement, the hero doesn't move, and the background is scrolled. |
change the alpha values of the grid to 0%, so we won't see them on the screen. |
The problem: we want to place an object in the map, we need to scroll it when the map is scrolling. This could be a door, a chest, a monster, an exit point, or a spot that triggers an event. The Approach: whenever the map the scrolling, we set a variable to true. When that variable is true, the item moves as well. |
Chapter 4: Creating Objects |
notice how the blue halo moves with the map |
We need a global variable, something that all the symbols on the stage can refer to. We can create this global variable on our frame: Right click your frame and select "actions" |
paste this line of code in the on the frame's action script: |
<p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveRight = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveLeft = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveUp = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveDown = false;</font></p> |
This is our new code in the hero clip: again, use ctrl+a and ctrl+c to copy it. |
<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y+5, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y-5, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x-5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x+5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridUP.hitTest(_x, _y-20, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveUp = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveUp = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridDOWN.hitTest(_x, _y+20, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveDown = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveDown = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridRIGHT.hitTest(_x+20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveRight = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveRight = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridLEFT.hitTest(_x-20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveLeft = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveLeft = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p> |
We're not done yet, let's draw an object: |
In this example I will use this chest. Convert your object to a symbol, name it anything you want. |
now insert the following code into your Object |
<p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent(enterFrame){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveLeft == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveUp == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveDown == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveRight == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p> |
When moveLeft is true: this object moves right. Meaning that it will scroll along with the map. The greatest thing about this style is that you can have as many objects as you want on the stage, with the same code. |
how many chests can you find? |
If your map isn't working, make sure that: - you set the global variables in the same frame with the map - you pasted the code for the hero and the item - you converted the item to a symbol - you copied all the code (the code for the hero clip is so long that it reaches below this screen. |
In this section we will cover the use of real sprites/drawings for your hero. Because a giant red ball is ugly as hell. |
Also, using the same mechanics, we'll be drawing a real map. |
Chapter 5: Cosmetics |
We're still going to keep the red ball clip, because it is a representative of what is really happening. The cosmetics are just movie clips following the main red ball clip: |
Use arrow keys to move around, and you will see what I'm talking about. |
Our hero sprite has two characteristics: |
- it follows the hero clip - animation changes according to what keys are pressed |
In detail: |
"walk up" animation when UP is pressed "walk down" animation when DOWN is pressed "walk left" animation when LEFT is pressed "walk right" animation when RIGHT is pressed "standing" animation when nothing is pressed |
Try it! |
I've overcomplicated a few things on the real sprite, including diagonal movement and facing directions. But let's keep it simple for now. |
1. Name your main red ball on stage "hero" so you can refer to it when coding your sprite. 2. Create three(or four) movie clips, indicating movement in verical and horizontal directions. |
East |
North |
West |
South |
12345678 |
Create a movie clip called ROOT. This movie clip will contain all four walking directions of your hero, and all four facing directions of your hero when standing still. |
Mouse over these frames to see |
On the root object, paste the following code: |
<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (load) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 1;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x = _root.hero._x;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y = _root.hero._y-30;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 2;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 1;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 3;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(6);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(8);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else { //if no buttons are pressed, he stands still</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(facing == 1)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 2)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 3)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(5);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 4)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(7);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p> |
Code explanations: |
onClipEvent (load) { facing = 1; } |
When the clip is loaded: we set a local variable named facing. The facing number determines which direction the character is facing. 1 UP 2 DOWN 3 LEFT 4 RIGHT The x co-ordinates and y co- ordinates will be the same as the hero's co-ordinates. (with a slight alteration on the y-axis) |
this._x = _root.hero._x; this._y = _root.hero._y-30; |
if (Key.isDown(Key.DOWN)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(Key.UP)) { facing = 1; this.gotoAndStop(2); ... etc |
If the DOWN key is pressed set facing number to 2 (left) this clip goes to frame 4. else, if DOWN key isn't pressed set facing number to 1 (up) this clip goes to frame 2. ... etc |
} else { if(facing == 1) this.gotoAndStop(1); else if(facing == 2) this.gotoAndStop(3); else if(facing == 3) this.gotoAndStop(5); else if(facing == 4) this.gotoAndStop(7); } |
else if none of the above situations are happening (no buttons are being pressed) we decide which frame to stop depending on the facing variable |
If your code isn't working, check: 1. did you name the red ball symbol on stage "hero"? 2. does your root sprite has all 8 frames corresponding to several pages back? 3. did you place the red ball symbol on the stage? |
If done right, we can relate the hero sprite to this: |
Set their alpha to 0% |
Our background needs some work as well At the moment it's rather ugly: Like I said before, our current background are just terrains to step on. We can attatch a real background to our current one. |
what we have: |
what we see: |
So draw a real map, a cityscape, a maze, a desert, a forest... Anything. |
Convert it to a symbol, then use a paint brush tool to brush the area that is accessible in your map |
Your map |
what you brush |
Convert your background and brushed area to separate symbols. The brushed area is still our BG and it follows what we previously had. Our real cosmetic background will be embedded with these code: |
<p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>onClipEvent(enterFrame){</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>this._x = _root.BG._x;</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>this._y = _root.BG._y;</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>}</b></font></p> |
This just tells the cosmetic background to follow the real background. |
Final thoughts: Your background may not be perfectly aligned, you'll have to adjust these in the movie clip or code. You should have a global movespeed variable instead of the 4's that I have there. The mouse interaction, object interaction, music, battles, etc, will be covered in other tutorials. This is just to offer a method to create an easy-to-edit interface. Thanks for reading! 棺木叔叔 |
Back to Menu |
Movements: |
Arrow keys to move Mouse to interact |
Click to terminate dialogue |
I'll need to get closer |
NPC 1: Test test, this is a test, this test if I'm speaking properly. If you can see this, I'm probably fine. |
NPC2: If you've talked to both the red guy and the blue guy, a new NPC will reveal itself at the last corner. |
This portal doesn't seem to be functioning |
NPC3: If you found all 3 clones of yourself, you can somehow unlock the red portal. |
THIS IS THE RED WORLD YOU WILL FIND NOTHING HERE LEAVE |
Hurrah, a map that rips off rockman.exe |
ActionScript [AS1/AS2]
Frame 3stop();Instance of Symbol 41 MovieClip in Frame 3on (release) { if (_currentframe == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } }Instance of Symbol 69 MovieClip in Frame 8onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }Instance of Symbol 69 MovieClip "hero" in Frame 12onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } }Instance of Symbol 69 MovieClip "hero" in Frame 20onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; } }Instance of Symbol 69 MovieClip "hero" in Frame 26onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; } }Frame 28moveRight = false; moveLeft = false; moveUp = false; moveDown = false;Instance of Symbol 69 MovieClip "hero" in Frame 28onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }Instance of Symbol 149 MovieClip in Frame 28onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Frame 33moveRight = false; moveLeft = false; moveUp = false; moveDown = false;Instance of Symbol 69 MovieClip "hero" in Frame 33onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 33onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 69 MovieClip "hero" in Frame 37onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }Instance of Symbol 225 MovieClip in Frame 37onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }Instance of Symbol 225 MovieClip in Frame 39onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }Instance of Symbol 69 MovieClip "hero" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }Instance of Symbol 225 MovieClip in Frame 46onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }Frame 47moveRight = false; moveLeft = false; moveUp = false; moveDown = false;Instance of Symbol 69 MovieClip "hero" in Frame 47onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 161 MovieClip in Frame 47onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }Instance of Symbol 225 MovieClip in Frame 47onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } }Instance of Symbol 279 MovieClip in Frame 52onClipEvent (enterFrame) { this._x = _root.BG._x; this._y = _root.BG._y; }Instance of Symbol 69 MovieClip "hero" in Frame 52onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }Instance of Symbol 225 MovieClip in Frame 52onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } }Frame 54function updateCursor() { _root.cursor._x = _xmouse; _root.cursor._y = _ymouse; updateAfterEvent(); } stop(); _root.cursor.gotoAndStop(1); _root.stereo.gotoAndStop(1); movespeed_v = 3; movespeed = 4; count = 0; moveRight = false; moveLeft = false; moveUp = false; moveDown = false; talk1 = false; talk2 = false; talk3 = false;Instance of Symbol 294 MovieClip "BG2" in Frame 54onClipEvent (enterFrame) { this._x = _root.BG._x; this._y = _root.BG._y; }Instance of Symbol 69 MovieClip "hero" in Frame 54onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + _root.movespeed_v; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - _root.movespeed_v; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - _root.movespeed; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + _root.movespeed; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + _root.movespeed_v; _root.BG._y = _root.BG._y + _root.movespeed_v; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - _root.movespeed_v; _root.BG._y = _root.BG._y - _root.movespeed_v; _root.item._y = _root.item._y - _root.movespeed; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - _root.movespeed; _root.BG._x = _root.BG._x - _root.movespeed; _root.item._x = _root.item._x - _root.movespeed; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + _root.movespeed; _root.BG._x = _root.BG._x + _root.movespeed; _root.item._x = _root.item._x + _root.movespeed; _root.moveLeft = true; } else { _root.moveLeft = false; } if (_root.BG.hitTest(_x, _y, true)) { _root.touch2.gotoAndStop(2); } else { _root.touch2.gotoAndStop(1); } }Instance of Symbol 299 MovieClip "item1" in Frame 54onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } if (_currentframe >= 11) { this._x = this._x + 320; this._y = this._y - 200; _root.BG._x = _root.BG._x + 320; _root.BG._y = _root.BG._y - 200; _root.portal._x = _root.portal._x - -320; _root.portal._y = _root.portal._y + -200; _root.hero._x = 260; _root.hero._y = 185; _root.man1._x = _root.man1._x + 320; _root.man2._x = _root.man2._x + 320; _root.man1._y = _root.man1._y - 200; _root.man2._y = _root.man2._y - 200; _root.man3._x = _root.man3._x + 320; _root.man3._y = _root.man3._y - 200; } if (_currentframe >= 7) { _root.fade.gotoAndPlay(2); } } on (release) { if (_root.hero.hitTest(this)) { this.gotoAndPlay(2); } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }Instance of Symbol 299 MovieClip "portal" in Frame 54onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(this)) { this.gotoAndPlay(2); _root.count++; _root.talkbox._visible = true; _root.talkbox.gotoAndStop(5); if ((((_root.talk1 && (_root.talk2)) && (_root.talk3)) && (_root.count >= 10)) && (!_root.zero._visible)) { _root.BG.gotoAndStop(2); _root.BG2.gotoAndStop(2); _root.fade.gotoAndPlay(2); _root.music.gotoAndStop(2); _root.movespeed = 2; _root.movespeed_v = 1.5; _root.zero._visible = true; _root.talkbox.gotoAndStop(7); } else if (_root.zero._visible) { _root.BG.gotoAndStop(1); _root.BG2.gotoAndStop(1); _root.fade.gotoAndPlay(2); _root.music.gotoAndStop(1); _root.movespeed = 4; _root.movespeed_v = 3; _root.zero._visible = false; _root.talkbox.gotoAndStop(8); } } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }Instance of Symbol 300 MovieClip "man2" in Frame 54onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(_root.hitArea1)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(3); _root.talk2 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }Instance of Symbol 3 MovieClip "hitArea1" in Frame 54onClipEvent (enterFrame) { this._x = _root.man2._x - 40; this._y = _root.man2._y; }Instance of Symbol 3 MovieClip "hitArea2" in Frame 54onClipEvent (enterFrame) { this._x = _root.man1._x; this._y = _root.man1._y; }Instance of Symbol 301 MovieClip "man3" in Frame 54onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } if ((!_root.talk1) || (!_root.talk2)) { this._visible = false; } else { this._visible = true; } } on (release) { if (_root.hero.hitTest(this)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(6); _root.talk3 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }Instance of Symbol 225 MovieClip in Frame 54onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }Instance of Symbol 300 MovieClip "man1" in Frame 54onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(_root.hitArea2)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(4); _root.talk1 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }Instance of Symbol 322 MovieClip "cursor" in Frame 54onClipEvent (load) { Mouse.hide(); this.swapDepths(100); } onClipEvent (mouseMove) { _root.updateCursor(); if (_root.portal.hitTest(_x, _y, true)) { this.gotoAndStop(2); } else if (_root.item1.hitTest(_x, _y, true)) { this.gotoAndStop(2); } else if (_root.man1.hitTest(_x, _y, true)) { this.gotoAndStop(3); } else if (_root.man2.hitTest(_x, _y, true)) { this.gotoAndStop(3); } else if (_root.man3.hitTest(_x, _y, true)) { if (_root.man3._visible == false) { } else { this.gotoAndStop(3); } } else { this.gotoAndStop(1); } }Instance of Symbol 341 MovieClip "talkbox" in Frame 54onClipEvent (load) { this._visible = false; } on (release) { this._visible = false; }Instance of Symbol 346 MovieClip "zero" in Frame 54onClipEvent (load) { this._visible = false; }Symbol 17 Buttonon (release) { _root.play(); }Symbol 18 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }Symbol 18 MovieClip Frame 2gotoAndPlay (1);Symbol 30 Buttonon (release) { gotoAndStop (54); }Symbol 36 Buttonon (release) { nextFrame(); }Symbol 41 MovieClip Frame 1stop();Symbol 46 Buttonon (release) { prevFrame(); }Symbol 51 Buttonon (release) { gotoAndStop ("two"); }Symbol 52 Buttonon (release) { gotoAndStop ("three"); }Symbol 53 Buttonon (release) { gotoAndStop ("four"); }Symbol 54 Buttonon (release) { gotoAndStop ("five"); }Symbol 62 Buttonon (release) { gotoAndStop (4); }Symbol 69 MovieClip Frame 1stop();Symbol 225 MovieClip Frame 1stop();Symbol 244 Buttonon (rollOver) { _root.kenshu.gotoAndStop(1); }Symbol 245 Buttonon (rollOver) { _root.kenshu.gotoAndStop(2); }Symbol 246 Buttonon (rollOver) { _root.kenshu.gotoAndStop(3); }Symbol 247 Buttonon (rollOver) { _root.kenshu.gotoAndStop(4); }Symbol 248 Buttonon (rollOver) { _root.kenshu.gotoAndStop(5); }Symbol 249 Buttonon (rollOver) { _root.kenshu.gotoAndStop(6); }Symbol 250 Buttonon (rollOver) { _root.kenshu.gotoAndStop(7); }Symbol 251 Buttonon (rollOver) { _root.kenshu.gotoAndStop(8); }Symbol 292 MovieClip Frame 1stop();Symbol 294 MovieClip Frame 1stop();Symbol 299 MovieClip Frame 1stop();Symbol 306 MovieClip Frame 1stop();Symbol 322 MovieClip Frame 1stop();Symbol 323 Buttonon (release) { gotoAndStop (3); }Symbol 330 MovieClip Frame 1stop();Symbol 341 MovieClip Frame 1stop();
Library Items
Symbol 1 Graphic | Used by:5 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:4 330 Timeline |
Symbol 4 MovieClip | Uses:3 | Used by:5 |
Symbol 5 MovieClip | Uses:1 4 | Used by:330 Timeline |
Symbol 6 Graphic | Used by:7 Timeline | |
Symbol 7 MovieClip | Uses:6 | Used by:18 |
Symbol 8 Graphic | Used by:18 | |
Symbol 9 Font | Used by:10 19 20 | |
Symbol 10 Text | Uses:9 | Used by:18 |
Symbol 11 Bitmap | Used by:12 | |
Symbol 12 Graphic | Uses:11 | Used by:18 |
Symbol 13 Graphic | Used by:17 | |
Symbol 14 Graphic | Used by:17 | |
Symbol 15 Graphic | Used by:17 | |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 Button | Uses:13 14 15 16 | Used by:18 |
Symbol 18 MovieClip | Uses:7 8 10 12 17 | Used by:Timeline |
Symbol 19 Text | Uses:9 | Used by:Timeline |
Symbol 20 Text | Uses:9 | Used by:Timeline |
Symbol 21 Font | Used by:23 | |
Symbol 22 Font | Used by:23 | |
Symbol 23 Text | Uses:21 22 | Used by:Timeline |
Symbol 24 Font | Used by:25 | |
Symbol 25 Text | Uses:24 | Used by:Timeline |
Symbol 26 Graphic | Used by:30 323 | |
Symbol 27 Graphic | Used by:30 323 | |
Symbol 28 Graphic | Used by:30 323 | |
Symbol 29 Graphic | Used by:30 323 | |
Symbol 30 Button | Uses:26 27 28 29 | Used by:Timeline |
Symbol 31 Font | Used by:32 | |
Symbol 32 Text | Uses:31 | Used by:Timeline |
Symbol 33 Graphic | Used by:36 46 51 52 53 54 | |
Symbol 34 Graphic | Used by:36 46 51 52 53 54 | |
Symbol 35 Graphic | Used by:36 46 51 52 53 54 | |
Symbol 36 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 37 Graphic | Used by:41 | |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 SS1 | Used by:41 306 |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:37 39 40 | Used by:Timeline |
Symbol 42 Font | Used by:43 44 | |
Symbol 43 Text | Uses:42 | Used by:Timeline |
Symbol 44 Text | Uses:42 | Used by:Timeline |
Symbol 45 Graphic | Used by:Timeline | |
Symbol 46 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 47 Graphic | Used by:50 62 | |
Symbol 48 Graphic | Used by:50 62 | |
Symbol 49 Graphic | Used by:50 62 | |
Symbol 50 Button | Uses:47 48 49 | Used by:Timeline |
Symbol 51 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 52 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 53 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 54 Button | Uses:33 34 35 | Used by:Timeline |
Symbol 55 Font | Used by:56 57 60 63 64 70 75 76 78 79 90 91 92 94 95 98 99 102 104 105 115 116 117 118 121 122 124 125 128 129 131 132 133 134 137 139 141 142 143 144 145 146 147 151 152 157 159 162 164 166 167 168 169 170 215 216 226 227 228 229 230 231 232 233 234 235 236 237 239 240 241 253 255 256 257 258 259 260 261 262 263 264 266 270 271 273 274 276 277 281 284 288 339 | |
Symbol 56 Text | Uses:55 | Used by:Timeline |
Symbol 57 Text | Uses:55 | Used by:Timeline |
Symbol 58 Bitmap | Used by:59 | |
Symbol 59 Graphic | Uses:58 | Used by:Timeline |
Symbol 60 Text | Uses:55 | Used by:Timeline |
Symbol 61 Graphic | Used by:Timeline | |
Symbol 62 Button | Uses:47 48 49 | Used by:Timeline |
Symbol 63 Text | Uses:55 | Used by:Timeline |
Symbol 64 Text | Uses:55 | Used by:Timeline |
Symbol 65 Graphic | Used by:69 | |
Symbol 66 Graphic | Used by:69 | |
Symbol 67 Graphic | Used by:69 | |
Symbol 68 Graphic | Used by:69 | |
Symbol 69 MovieClip | Uses:65 66 67 68 | Used by:Timeline |
Symbol 70 Text | Uses:55 | Used by:Timeline |
Symbol 71 Bitmap | Used by:72 77 | |
Symbol 72 Graphic | Uses:71 | Used by:Timeline |
Symbol 73 Font | Used by:74 80 103 106 107 109 110 140 153 158 165 254 | |
Symbol 74 EditableText | Uses:73 | Used by:Timeline |
Symbol 75 Text | Uses:55 | Used by:Timeline |
Symbol 76 Text | Uses:55 | Used by:Timeline |
Symbol 77 Graphic | Uses:71 | Used by:Timeline |
Symbol 78 Text | Uses:55 | Used by:Timeline |
Symbol 79 Text | Uses:55 | Used by:Timeline |
Symbol 80 Text | Uses:73 | Used by:Timeline |
Symbol 81 Font | Used by:82 83 84 85 86 87 88 108 109 111 113 114 135 136 265 | |
Symbol 82 Text | Uses:81 | Used by:Timeline |
Symbol 83 Text | Uses:81 | Used by:Timeline |
Symbol 84 Text | Uses:81 | Used by:Timeline |
Symbol 85 Text | Uses:81 | Used by:Timeline |
Symbol 86 Text | Uses:81 | Used by:Timeline |
Symbol 87 Text | Uses:81 | Used by:Timeline |
Symbol 88 Text | Uses:81 | Used by:Timeline |
Symbol 89 Graphic | Used by:93 Timeline | |
Symbol 90 Text | Uses:55 | Used by:Timeline |
Symbol 91 Text | Uses:55 | Used by:Timeline |
Symbol 92 Text | Uses:55 | Used by:Timeline |
Symbol 93 MovieClip | Uses:89 | Used by:Timeline |
Symbol 94 Text | Uses:55 | Used by:Timeline |
Symbol 95 Text | Uses:55 | Used by:Timeline |
Symbol 96 Bitmap | Used by:97 | |
Symbol 97 Graphic | Uses:96 | Used by:Timeline |
Symbol 98 Text | Uses:55 | Used by:Timeline |
Symbol 99 Text | Uses:55 | Used by:Timeline |
Symbol 100 Bitmap | Used by:101 | |
Symbol 101 Graphic | Uses:100 | Used by:Timeline |
Symbol 102 Text | Uses:55 | Used by:Timeline |
Symbol 103 EditableText | Uses:73 | Used by:Timeline |
Symbol 104 Text | Uses:55 | Used by:Timeline |
Symbol 105 Text | Uses:55 | Used by:Timeline |
Symbol 106 Text | Uses:73 | Used by:Timeline |
Symbol 107 Text | Uses:73 | Used by:Timeline |
Symbol 108 Text | Uses:81 | Used by:Timeline |
Symbol 109 Text | Uses:81 73 | Used by:Timeline |
Symbol 110 Text | Uses:73 | Used by:Timeline |
Symbol 111 Text | Uses:81 | Used by:Timeline |
Symbol 112 Graphic | Used by:Timeline | |
Symbol 113 Text | Uses:81 | Used by:Timeline |
Symbol 114 Text | Uses:81 | Used by:Timeline |
Symbol 115 Text | Uses:55 | Used by:Timeline |
Symbol 116 Text | Uses:55 | Used by:Timeline |
Symbol 117 Text | Uses:55 | Used by:Timeline |
Symbol 118 Text | Uses:55 | Used by:Timeline |
Symbol 119 Graphic | Used by:120 | |
Symbol 120 MovieClip | Uses:119 | Used by:Timeline |
Symbol 121 Text | Uses:55 | Used by:Timeline |
Symbol 122 Text | Uses:55 | Used by:Timeline |
Symbol 123 Graphic | Used by:Timeline | |
Symbol 124 Text | Uses:55 | Used by:Timeline |
Symbol 125 Text | Uses:55 | Used by:Timeline |
Symbol 126 Bitmap | Used by:127 | |
Symbol 127 Graphic | Uses:126 | Used by:Timeline |
Symbol 128 Text | Uses:55 | Used by:Timeline |
Symbol 129 Text | Uses:55 | Used by:Timeline |
Symbol 130 Graphic | Used by:Timeline | |
Symbol 131 Text | Uses:55 | Used by:Timeline |
Symbol 132 Text | Uses:55 | Used by:Timeline |
Symbol 133 Text | Uses:55 | Used by:Timeline |
Symbol 134 Text | Uses:55 | Used by:Timeline |
Symbol 135 Text | Uses:81 | Used by:Timeline |
Symbol 136 Text | Uses:81 | Used by:Timeline |
Symbol 137 Text | Uses:55 | Used by:Timeline |
Symbol 138 Graphic | Used by:Timeline | |
Symbol 139 Text | Uses:55 | Used by:Timeline |
Symbol 140 EditableText | Uses:73 | Used by:Timeline |
Symbol 141 Text | Uses:55 | Used by:Timeline |
Symbol 142 Text | Uses:55 | Used by:Timeline |
Symbol 143 Text | Uses:55 | Used by:Timeline |
Symbol 144 Text | Uses:55 | Used by:Timeline |
Symbol 145 Text | Uses:55 | Used by:Timeline |
Symbol 146 Text | Uses:55 | Used by:Timeline |
Symbol 147 Text | Uses:55 | Used by:Timeline |
Symbol 148 Graphic | Used by:149 | |
Symbol 149 MovieClip | Uses:148 | Used by:Timeline |
Symbol 150 Graphic | Used by:Timeline | |
Symbol 151 Text | Uses:55 | Used by:Timeline |
Symbol 152 Text | Uses:55 | Used by:Timeline |
Symbol 153 EditableText | Uses:73 | Used by:Timeline |
Symbol 154 Bitmap | Used by:155 | |
Symbol 155 Graphic | Uses:154 | Used by:Timeline |
Symbol 156 Graphic | Used by:Timeline | |
Symbol 157 Text | Uses:55 | Used by:Timeline |
Symbol 158 EditableText | Uses:73 | Used by:Timeline |
Symbol 159 Text | Uses:55 | Used by:Timeline |
Symbol 160 Graphic | Used by:161 | |
Symbol 161 MovieClip | Uses:160 | Used by:Timeline |
Symbol 162 Text | Uses:55 | Used by:Timeline |
Symbol 163 Graphic | Used by:Timeline | |
Symbol 164 Text | Uses:55 | Used by:Timeline |
Symbol 165 EditableText | Uses:73 | Used by:Timeline |
Symbol 166 Text | Uses:55 | Used by:Timeline |
Symbol 167 Text | Uses:55 | Used by:Timeline |
Symbol 168 Text | Uses:55 | Used by:Timeline |
Symbol 169 Text | Uses:55 | Used by:Timeline |
Symbol 170 Text | Uses:55 | Used by:Timeline |
Symbol 171 Graphic | Used by:179 | |
Symbol 172 Graphic | Used by:179 | |
Symbol 173 Graphic | Used by:179 | |
Symbol 174 Graphic | Used by:179 | |
Symbol 175 Graphic | Used by:179 | |
Symbol 176 Graphic | Used by:179 | |
Symbol 177 Graphic | Used by:179 | |
Symbol 178 Graphic | Used by:179 | |
Symbol 179 MovieClip | Uses:171 172 173 174 175 176 177 178 | Used by:225 Timeline |
Symbol 180 Graphic | Used by:188 | |
Symbol 181 Graphic | Used by:188 | |
Symbol 182 Graphic | Used by:188 | |
Symbol 183 Graphic | Used by:188 | |
Symbol 184 Graphic | Used by:188 | |
Symbol 185 Graphic | Used by:188 | |
Symbol 186 Graphic | Used by:188 | |
Symbol 187 Graphic | Used by:188 | |
Symbol 188 MovieClip | Uses:180 181 182 183 184 185 186 187 | Used by:225 Timeline |
Symbol 189 Graphic | Used by:196 | |
Symbol 190 Graphic | Used by:196 | |
Symbol 191 Graphic | Used by:196 | |
Symbol 192 Graphic | Used by:196 | |
Symbol 193 Graphic | Used by:196 | |
Symbol 194 Graphic | Used by:196 | |
Symbol 195 Graphic | Used by:196 | |
Symbol 196 MovieClip | Uses:189 190 191 192 193 194 195 | Used by:225 Timeline |
Symbol 197 Graphic | Used by:205 | |
Symbol 198 Graphic | Used by:205 | |
Symbol 199 Graphic | Used by:205 | |
Symbol 200 Graphic | Used by:205 | |
Symbol 201 Graphic | Used by:205 | |
Symbol 202 Graphic | Used by:205 | |
Symbol 203 Graphic | Used by:205 | |
Symbol 204 Graphic | Used by:205 | |
Symbol 205 MovieClip | Uses:197 198 199 200 201 202 203 204 | Used by:225 Timeline |
Symbol 206 Graphic | Used by:214 | |
Symbol 207 Graphic | Used by:214 | |
Symbol 208 Graphic | Used by:214 | |
Symbol 209 Graphic | Used by:214 | |
Symbol 210 Graphic | Used by:214 | |
Symbol 211 Graphic | Used by:214 | |
Symbol 212 Graphic | Used by:214 | |
Symbol 213 Graphic | Used by:214 | |
Symbol 214 MovieClip | Uses:206 207 208 209 210 211 212 213 | Used by:225 Timeline |
Symbol 215 Text | Uses:55 | Used by:Timeline |
Symbol 216 Text | Uses:55 | Used by:Timeline |
Symbol 217 Graphic | Used by:225 | |
Symbol 218 Graphic | Used by:225 | |
Symbol 219 Graphic | Used by:225 | |
Symbol 220 Graphic | Used by:225 | |
Symbol 221 Graphic | Used by:225 300 | |
Symbol 222 Graphic | Used by:225 301 | |
Symbol 223 Graphic | Used by:225 Timeline | |
Symbol 224 Graphic | Used by:225 | |
Symbol 225 MovieClip | Uses:217 214 218 196 219 205 220 221 179 222 188 223 224 | Used by:Timeline |
Symbol 226 Text | Uses:55 | Used by:Timeline |
Symbol 227 Text | Uses:55 | Used by:Timeline |
Symbol 228 Text | Uses:55 | Used by:Timeline |
Symbol 229 Text | Uses:55 | Used by:Timeline |
Symbol 230 Text | Uses:55 | Used by:Timeline |
Symbol 231 Text | Uses:55 | Used by:Timeline |
Symbol 232 Text | Uses:55 | Used by:Timeline |
Symbol 233 Text | Uses:55 | Used by:Timeline |
Symbol 234 Text | Uses:55 | Used by:Timeline |
Symbol 235 Text | Uses:55 | Used by:Timeline |
Symbol 236 Text | Uses:55 | Used by:Timeline |
Symbol 237 Text | Uses:55 | Used by:Timeline |
Symbol 238 Graphic | Used by:Timeline | |
Symbol 239 Text | Uses:55 | Used by:Timeline |
Symbol 240 Text | Uses:55 | Used by:Timeline |
Symbol 241 Text | Uses:55 | Used by:Timeline |
Symbol 242 Graphic | Used by:244 245 246 247 248 249 250 251 | |
Symbol 243 Graphic | Used by:244 245 246 247 248 249 250 251 | |
Symbol 244 Button | Uses:242 243 | Used by:Timeline |
Symbol 245 Button | Uses:242 243 | Used by:Timeline |
Symbol 246 Button | Uses:242 243 | Used by:Timeline |
Symbol 247 Button | Uses:242 243 | Used by:Timeline |
Symbol 248 Button | Uses:242 243 | Used by:Timeline |
Symbol 249 Button | Uses:242 243 | Used by:Timeline |
Symbol 250 Button | Uses:242 243 | Used by:Timeline |
Symbol 251 Button | Uses:242 243 | Used by:Timeline |
Symbol 252 Graphic | Used by:Timeline | |
Symbol 253 Text | Uses:55 | Used by:Timeline |
Symbol 254 EditableText | Uses:73 | Used by:Timeline |
Symbol 255 Text | Uses:55 | Used by:Timeline |
Symbol 256 Text | Uses:55 | Used by:Timeline |
Symbol 257 Text | Uses:55 | Used by:Timeline |
Symbol 258 Text | Uses:55 | Used by:Timeline |
Symbol 259 Text | Uses:55 | Used by:Timeline |
Symbol 260 Text | Uses:55 | Used by:Timeline |
Symbol 261 Text | Uses:55 | Used by:Timeline |
Symbol 262 Text | Uses:55 | Used by:Timeline |
Symbol 263 Text | Uses:55 | Used by:Timeline |
Symbol 264 Text | Uses:55 | Used by:Timeline |
Symbol 265 Text | Uses:81 | Used by:Timeline |
Symbol 266 Text | Uses:55 | Used by:Timeline |
Symbol 267 Graphic | Used by:268 | |
Symbol 268 MovieClip | Uses:267 | Used by:279 294 Timeline |
Symbol 269 Graphic | Used by:Timeline | |
Symbol 270 Text | Uses:55 | Used by:Timeline |
Symbol 271 Text | Uses:55 | Used by:Timeline |
Symbol 272 Graphic | Used by:Timeline | |
Symbol 273 Text | Uses:55 | Used by:Timeline |
Symbol 274 Text | Uses:55 | Used by:Timeline |
Symbol 275 Graphic | Used by:Timeline | |
Symbol 276 Text | Uses:55 | Used by:Timeline |
Symbol 277 Text | Uses:55 | Used by:Timeline |
Symbol 278 Graphic | Used by:279 | |
Symbol 279 MovieClip | Uses:268 278 | Used by:Timeline |
Symbol 280 Graphic | Used by:Timeline | |
Symbol 281 Text | Uses:55 | Used by:Timeline |
Symbol 282 Font | Used by:283 | |
Symbol 283 EditableText | Uses:282 | Used by:Timeline |
Symbol 284 Text | Uses:55 | Used by:Timeline |
Symbol 285 Graphic | Used by:286 | |
Symbol 286 MovieClip | Uses:285 | Used by:Timeline |
Symbol 287 Font | Used by:288 | |
Symbol 288 Text | Uses:55 287 | Used by:Timeline |
Symbol 289 Graphic | Used by:Timeline | |
Symbol 290 Graphic | Used by:292 | |
Symbol 291 Graphic | Used by:292 | |
Symbol 292 MovieClip | Uses:290 291 | Used by:Timeline |
Symbol 293 Graphic | Used by:294 | |
Symbol 294 MovieClip | Uses:268 293 | Used by:Timeline |
Symbol 295 Graphic | Used by:299 | |
Symbol 296 Graphic | Used by:299 | |
Symbol 297 ShapeTweening | Used by:299 | |
Symbol 298 ShapeTweening | Used by:299 | |
Symbol 299 MovieClip | Uses:295 296 297 298 | Used by:Timeline |
Symbol 300 MovieClip | Uses:221 | Used by:Timeline |
Symbol 301 MovieClip | Uses:222 | Used by:Timeline |
Symbol 302 Graphic | Used by:Timeline | |
Symbol 303 Graphic | Used by:306 | |
Symbol 304 Graphic | Used by:305 | |
Symbol 305 MovieClip | Uses:304 SS2 | Used by:306 |
Symbol 306 MovieClip | Uses:303 305 39 | Used by:Timeline |
Symbol 307 Graphic | Used by:313 | |
Symbol 308 Graphic | Used by:313 | |
Symbol 309 Graphic | Used by:313 | |
Symbol 310 Graphic | Used by:313 | |
Symbol 311 Graphic | Used by:313 | |
Symbol 312 Graphic | Used by:313 | |
Symbol 313 MovieClip | Uses:307 308 309 310 311 312 | Used by:322 |
Symbol 314 Graphic | Used by:316 | |
Symbol 315 Graphic | Used by:316 | |
Symbol 316 MovieClip | Uses:314 315 | Used by:322 |
Symbol 317 Graphic | Used by:321 | |
Symbol 318 Graphic | Used by:321 | |
Symbol 319 Graphic | Used by:321 | |
Symbol 320 Graphic | Used by:321 | |
Symbol 321 MovieClip | Uses:317 318 319 320 | Used by:322 |
Symbol 322 MovieClip | Uses:313 316 321 | Used by:Timeline |
Symbol 323 Button | Uses:26 27 28 29 | Used by:Timeline |
Symbol 324 Font | Used by:325 | |
Symbol 325 Text | Uses:324 | Used by:Timeline |
Symbol 326 Font | Used by:327 | |
Symbol 327 Text | Uses:326 | Used by:Timeline |
Symbol 328 Font | Used by:329 | |
Symbol 329 Text | Uses:328 | Used by:Timeline |
Symbol 330 MovieClip | Uses:5 3 | Used by:Timeline |
Symbol 331 Graphic | Used by:341 | |
Symbol 332 Font | Used by:333 334 335 336 337 338 340 | |
Symbol 333 Text | Uses:332 | Used by:341 |
Symbol 334 Text | Uses:332 | Used by:341 |
Symbol 335 Text | Uses:332 | Used by:341 |
Symbol 336 Text | Uses:332 | Used by:341 |
Symbol 337 Text | Uses:332 | Used by:341 |
Symbol 338 Text | Uses:332 | Used by:341 |
Symbol 339 EditableText | Uses:55 | Used by:341 |
Symbol 340 Text | Uses:332 | Used by:341 |
Symbol 341 MovieClip | Uses:331 333 334 335 336 337 338 339 340 | Used by:Timeline |
Symbol 342 Graphic | Used by:346 | |
Symbol 343 ShapeTweening | Used by:346 | |
Symbol 344 ShapeTweening | Used by:346 | |
Symbol 345 Graphic | Used by:346 | |
Symbol 346 MovieClip | Uses:342 343 344 345 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 39 MovieClip | |
Streaming Sound 2 | Used by:Symbol 305 MovieClip |
Instance Names
"BG" | Frame 12 | Symbol 93 MovieClip |
"hero" | Frame 12 | Symbol 69 MovieClip |
"BG" | Frame 20 | Symbol 93 MovieClip |
"hero" | Frame 20 | Symbol 69 MovieClip |
"gridUP" | Frame 20 | Symbol 120 MovieClip |
"gridDOWN" | Frame 20 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 20 | Symbol 120 MovieClip |
"gridLEFT" | Frame 20 | Symbol 120 MovieClip |
"BG" | Frame 26 | Symbol 93 MovieClip |
"hero" | Frame 26 | Symbol 69 MovieClip |
"gridUP" | Frame 26 | Symbol 120 MovieClip |
"gridDOWN" | Frame 26 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 26 | Symbol 120 MovieClip |
"gridLEFT" | Frame 26 | Symbol 120 MovieClip |
"BG" | Frame 28 | Symbol 93 MovieClip |
"hero" | Frame 28 | Symbol 69 MovieClip |
"gridUP" | Frame 28 | Symbol 120 MovieClip |
"gridDOWN" | Frame 28 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 28 | Symbol 120 MovieClip |
"gridLEFT" | Frame 28 | Symbol 120 MovieClip |
"BG" | Frame 33 | Symbol 93 MovieClip |
"hero" | Frame 33 | Symbol 69 MovieClip |
"gridUP" | Frame 33 | Symbol 120 MovieClip |
"gridDOWN" | Frame 33 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 33 | Symbol 120 MovieClip |
"gridLEFT" | Frame 33 | Symbol 120 MovieClip |
"hero" | Frame 37 | Symbol 69 MovieClip |
"kenshu" | Frame 41 | Symbol 225 MovieClip |
"hero" | Frame 46 | Symbol 69 MovieClip |
"BG" | Frame 47 | Symbol 93 MovieClip |
"hero" | Frame 47 | Symbol 69 MovieClip |
"gridUP" | Frame 47 | Symbol 120 MovieClip |
"gridDOWN" | Frame 47 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 47 | Symbol 120 MovieClip |
"gridLEFT" | Frame 47 | Symbol 120 MovieClip |
"BG" | Frame 52 | Symbol 286 MovieClip |
"hero" | Frame 52 | Symbol 69 MovieClip |
"gridUP" | Frame 52 | Symbol 120 MovieClip |
"gridDOWN" | Frame 52 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 52 | Symbol 120 MovieClip |
"gridLEFT" | Frame 52 | Symbol 120 MovieClip |
"transition" | Frame 54 | Symbol 5 MovieClip |
"BG" | Frame 54 | Symbol 292 MovieClip |
"BG2" | Frame 54 | Symbol 294 MovieClip |
"hero" | Frame 54 | Symbol 69 MovieClip |
"item1" | Frame 54 | Symbol 299 MovieClip |
"portal" | Frame 54 | Symbol 299 MovieClip |
"man2" | Frame 54 | Symbol 300 MovieClip |
"hitArea1" | Frame 54 | Symbol 3 MovieClip |
"hitArea2" | Frame 54 | Symbol 3 MovieClip |
"man3" | Frame 54 | Symbol 301 MovieClip |
"man1" | Frame 54 | Symbol 300 MovieClip |
"gridUP" | Frame 54 | Symbol 120 MovieClip |
"gridDOWN" | Frame 54 | Symbol 120 MovieClip |
"gridRIGHT" | Frame 54 | Symbol 120 MovieClip |
"gridLEFT" | Frame 54 | Symbol 120 MovieClip |
"music" | Frame 54 | Symbol 306 MovieClip |
"cursor" | Frame 54 | Symbol 322 MovieClip |
"fade" | Frame 54 | Symbol 330 MovieClip |
"talkbox" | Frame 54 | Symbol 341 MovieClip |
"zero" | Frame 54 | Symbol 346 MovieClip |
"bar" | Symbol 18 MovieClip Frame 1 | Symbol 7 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Labels
"one" | Frame 5 |
"two" | Frame 11 |
"three" | Frame 19 |
"four" | Frame 27 |
"five" | Frame 35 |
"loaded" | Symbol 18 MovieClip Frame 3 |
|