STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229456 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2574 · P5148 |
This is the info page for Flash #16253 |
e |
g |
a |
S |
V TEC |
ActionScript [AS1/AS2]
Frame 1function jumpFunc(input) { if (Key.isDown(37)) { input._xscale = -100; _root.stance = -1; _root.ground._x = _root.ground._x + speed; } else if (Key.isDown(39)) { input._xscale = 100; _root.stance = 1; _root.ground._x = _root.ground._x - speed; } else if (!Key.isDown()) { input.gotoAndStop("jump"); _root.crouch = false; } input._y = input._y - _root.uvel; _root.uvel = _root.uvel - _root.gravity; if (input.hitTest(_root.ground)) { input._y = (_root.ground._y - (_root.ground._height / 2)) - (input._height / 2); _root.uvel = 40; _root.jump = false; } } var stance = 1; var speed = 10; var attack = false; var crouch = false; var jump = false; var uvel = 40; var fallvel = 0; var gravity = 6; _root.sageman.onEnterFrame = function () { if ((!_root.jump) and (!_root.ground.hitTest(this._x, (this._y + (this._height / 2)) + 5, true))) { _root.fallvel = _root.fallvel + _root.gravity; this._y = this._y + _root.fallvel; if (_root.ground.hitTest(this._x, (this._y + (this._height / 2)) + 5, true)) { _root.falling = false; this._y = (_root.ground._y - (_root.ground._height / 2)) - (this._height / 2); } } if (_root.jump) { jumpFunc(this); } else { if (Key.isDown(37)) { this._xscale = -100; _root.stance = -1; this.gotoAndStop("run"); _root.ground._x = _root.ground._x + speed; } else if (Key.isDown(39)) { this._xscale = 100; _root.stance = 1; this.gotoAndStop("run"); _root.ground._x = _root.ground._x - speed; } else if (!Key.isDown()) { this.gotoAndStop("idle"); _root.crouch = false; } if (Key.isDown(17)) { _root.ground._x = _root.ground._x - ((speed * 2) * stance); if (stance == 1) { this.gotoAndStop("slide"); } else { this.gotoAndStop("slideleft"); } } if (Key.isDown(18)) { _root.attack = true; } if (Key.isDown(16)) { _root.jump = true; this.gotoAndStop("jump"); } } };Symbol 6 MovieClip [bullet] Frame 12stop();Symbol 33 MovieClip Frame 8stop();Symbol 36 MovieClip Frame 8stop();Symbol 38 MovieClip Frame 1stop();
Library Items
Symbol 1 Font | Used by:2 3 4 5 31 | |
Symbol 2 Text | Uses:1 | Used by:6 |
Symbol 3 Text | Uses:1 | Used by:6 |
Symbol 4 Text | Uses:1 | Used by:6 |
Symbol 5 Text | Uses:1 | Used by:6 |
Symbol 6 MovieClip [bullet] | Uses:2 3 4 5 | |
Symbol 7 Graphic | Used by:Timeline | |
Symbol 8 Bitmap | Used by:9 | |
Symbol 9 Graphic | Uses:8 | Used by:10 |
Symbol 10 MovieClip | Uses:9 | Used by:11 |
Symbol 11 MovieClip | Uses:10 | Used by:Timeline |
Symbol 12 Bitmap | Used by:13 | |
Symbol 13 Graphic | Uses:12 | Used by:14 |
Symbol 14 MovieClip | Uses:13 | Used by:Timeline |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip | Uses:15 | Used by:27 28 29 34 37 |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:27 28 29 34 37 |
Symbol 19 Graphic | Used by:20 | |
Symbol 20 MovieClip | Uses:19 | Used by:27 28 29 34 37 |
Symbol 21 Graphic | Used by:22 | |
Symbol 22 MovieClip | Uses:21 | Used by:27 28 29 34 37 |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 MovieClip | Uses:23 | Used by:27 28 29 34 37 |
Symbol 25 Graphic | Used by:26 | |
Symbol 26 MovieClip | Uses:25 | Used by:27 28 29 34 37 |
Symbol 27 MovieClip | Uses:16 18 20 22 24 26 | Used by:38 |
Symbol 28 MovieClip | Uses:24 26 16 18 20 22 | Used by:38 |
Symbol 29 MovieClip | Uses:16 18 20 22 24 26 | Used by:38 |
Symbol 30 Graphic | Used by:32 35 | |
Symbol 31 Text | Uses:1 | Used by:32 35 |
Symbol 32 MovieClip | Uses:30 31 | Used by:33 36 |
Symbol 33 MovieClip | Uses:32 | Used by:34 |
Symbol 34 MovieClip | Uses:16 18 20 33 22 24 26 | Used by:38 |
Symbol 35 MovieClip | Uses:30 31 | Used by:36 |
Symbol 36 MovieClip | Uses:35 32 | Used by:37 |
Symbol 37 MovieClip | Uses:16 18 20 36 22 24 26 | Used by:38 |
Symbol 38 MovieClip | Uses:27 28 29 34 37 | Used by:Timeline |
Instance Names
"ground" | Frame 1 | Symbol 14 MovieClip |
"sageman" | Frame 1 | Symbol 38 MovieClip |
"idle" | Symbol 38 MovieClip Frame 1 | Symbol 27 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "bullet" |
Labels
"sageman" | Frame 1 |
"idle" | Symbol 38 MovieClip Frame 1 |
"run" | Symbol 38 MovieClip Frame 2 |
"jump" | Symbol 38 MovieClip Frame 3 |
"slide" | Symbol 38 MovieClip Frame 4 |
"slideleft" | Symbol 38 MovieClip Frame 5 |
|