STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #54296 |
mass: |
gravity: |
friction: |
ActionScript [AS1/AS2]
Frame 55stop();Frame 110gotoAndPlay (111);Frame 111ymov = 0; xmov = 0; var gravity = 2; yaccel = 0; xaccel = 0; var mass = 5; var friction = 0.98; xfriction = 0.95; force = 10; _root.onEnterFrame = function () { var _local3 = (gravityslider._x - 438) / 2; var _local2 = (massslider._x - 434) / 2; var _local4 = ((86 - (frictionslider._x - 438)) * 0.0001162) + 0.905; xfriction = _local4 - 0.05; massslider._y = massbar._y; gravityslider._y = gravitybar._y; frictionslider._y = frictionbar._y; if (frictionslider._x > 524) { frictionslider._x = 524; } if (frictionslider._x < 438) { frictionslider._x = 438; } if (gravityslider._x > 524) { gravityslider._x = 524; } if (gravityslider._x < 438) { gravityslider._x = 438; } if (massslider._x > 524) { massslider._x = 524; } if (massslider._x < 438) { massslider._x = 438; } yaccel = _local3 / _local2; ymov = ymov + yaccel; ymov = ymov * _local4; ball._y = ball._y + ymov; if (ball._y > 400) { ball._y = 400; ymov = ymov * -1; } if (Key.isDown(37)) { xaccel = force / _local2; xmov = xmov - xaccel; } if (Key.isDown(39)) { xaccel = force / _local2; xmov = xmov + xaccel; } xmov = xmov * xfriction; ball._x = ball._x + xmov; if (ball._x < 0) { ball._x = 0; xmov = xmov * -1; } if (ball._x < -50) { ball._x = ball._x + 200; xaccel = xaccel - 200000; } if (ball._x > 520) { ball._x = 520; xmov = xmov * -1; } if (ball._x > 600) { ball._x = ball._x - 200; xaccel = xaccel - 200000; } if (_root.ball.hitTest(_root.pad)) { ymov = ymov - 10; yaccel = yaccel + (100 / ((_local3 * _local3) + (_local2 * _local2))); } }; stop();Symbol 16 Buttonon (release) { gotoAndPlay (56); }Symbol 20 Buttonon (release) { gotoAndPlay (1); }Symbol 49 Buttonon (press) { startDrag ("massslider"); } on (release, releaseOutside) { stopDrag(); }Symbol 50 Buttonon (press) { startDrag ("gravityslider"); } on (release, releaseOutside) { stopDrag(); }Symbol 51 Buttonon (press) { startDrag ("frictionslider"); } on (release, releaseOutside) { stopDrag(); }
Library Items
Symbol 1 Graphic | Used by:Timeline | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip | Uses:2 | Used by:Timeline |
Symbol 4 Graphic | Used by:Timeline | |
Symbol 5 Graphic | Used by:6 | |
Symbol 6 MovieClip | Uses:5 | Used by:16 20 Timeline |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:16 20 Timeline |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip | Uses:9 | Used by:16 20 Timeline |
Symbol 11 Graphic | Used by:12 | |
Symbol 12 MovieClip | Uses:11 | Used by:16 20 Timeline |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:16 20 Timeline |
Symbol 15 Graphic | Used by:16 20 | |
Symbol 16 Button | Uses:6 8 10 12 14 15 | Used by:Timeline |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:17 | Used by:Timeline |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Button | Uses:6 8 10 12 14 15 | Used by:Timeline |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:Timeline | |
Symbol 23 ShapeTweening | Used by:Timeline | |
Symbol 24 Graphic | Used by:Timeline | |
Symbol 25 Graphic | Used by:Timeline | |
Symbol 26 Graphic | Used by:27 | |
Symbol 27 MovieClip | Uses:26 | Used by:Timeline |
Symbol 28 ShapeTweening | Used by:36 | |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip | Uses:29 | Used by:36 |
Symbol 31 Graphic | Used by:36 | |
Symbol 32 ShapeTweening | Used by:36 | |
Symbol 33 Graphic | Used by:36 | |
Symbol 34 ShapeTweening | Used by:36 | |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip | Uses:28 30 31 32 33 34 35 | Used by:Timeline |
Symbol 37 Graphic | Used by:Timeline | |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 | Used by:Timeline |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:40 | Used by:42 |
Symbol 42 MovieClip | Uses:41 | Used by:Timeline |
Symbol 43 Font | Used by:44 45 46 | |
Symbol 44 Text | Uses:43 | Used by:Timeline |
Symbol 45 Text | Uses:43 | Used by:Timeline |
Symbol 46 Text | Uses:43 | Used by:Timeline |
Symbol 47 Graphic | Used by:48 49 50 51 | |
Symbol 48 MovieClip | Uses:47 | Used by:49 50 51 |
Symbol 49 Button | Uses:48 47 | Used by:Timeline |
Symbol 50 Button | Uses:48 47 | Used by:Timeline |
Symbol 51 Button | Uses:48 47 | Used by:Timeline |
Instance Names
"floor" | Frame 111 | Symbol 27 MovieClip |
"pad" | Frame 111 | Symbol 36 MovieClip |
"massbar" | Frame 111 | Symbol 39 MovieClip |
"gravitybar" | Frame 111 | Symbol 39 MovieClip |
"frictionbar" | Frame 111 | Symbol 39 MovieClip |
"ball" | Frame 111 | Symbol 42 MovieClip |
"massslider" | Frame 111 | Symbol 49 Button |
"gravityslider" | Frame 111 | Symbol 50 Button |
"frictionslider" | Frame 111 | Symbol 51 Button |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
|