STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229671 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #51195 |
Camerax: 0 PlayerX: 0 |
ActionScript [AS3]
Section 1//jump_21 (game_fla.jump_21) package game_fla { import flash.display.*; public dynamic class jump_21 extends MovieClip { public function jump_21(){ addFrameScript(27, frame28); } function frame28(){ gotoAndPlay(12); } } }//package game_flaSection 2//jumppower_23 (game_fla.jumppower_23) package game_fla { import flash.display.*; public dynamic class jumppower_23 extends MovieClip { public function jumppower_23(){ addFrameScript(30, frame31); } function frame31(){ gotoAndPlay(16); } } }//package game_flaSection 3//MainTimeline (game_fla.MainTimeline) package game_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.filters.*; public dynamic class MainTimeline extends MovieClip { public var BButton; public var hills2:MovieClip; public var hills3:MovieClip; public var RButton; public var hills1:MovieClip; public var keyIsDown:Array; public var DPadLeft; public var i; public var PlayerMY:int; public var PlayerMX:int; public var PlayerJumpFrames:int; public var LButton; public var DPadUp; public var AButton; public var YButton; public var PlayerFrame:String; public var DPadDown; public var init:int; public var PJumpPower:int; public var RunAccel:int; public var Player1:MovieClip; public var PlayerAirborne:Boolean; public var console:TextField; public var Drag:int; public var PlayerJumpPower:int; public var PlayerX:int; public var PlayerY:int; public var JumpPower:int; public var PJumpDelay:int; public var ground:MovieClip; public var PRunMaxVel:int; public var PRunAccel:int; public var XButton; public var DPadRight; public var CameraMX:int; public var CameraX:int; public var CameraY:int; public var CameraMY:int; public var PlayerDir:int; public var PlayerDrag:int; public var RunMaxVel:int; public var JumpDelay:int; public function MainTimeline(){ addFrameScript(0, frame1); } public function handleKeyUp(_arg1:KeyboardEvent){ keyIsDown[_arg1.keyCode] = false; } public function handleKeyDown(_arg1:KeyboardEvent){ keyIsDown[_arg1.keyCode] = true; } function frame1(){ DPadLeft = 37; DPadRight = 39; DPadUp = 38; DPadDown = 40; AButton = 90; BButton = 58; XButton = 56; YButton = 43; LButton = 15; RButton = 16; RunMaxVel = 12; RunAccel = 4; PRunMaxVel = 63; PRunAccel = 12; JumpPower = 16; JumpDelay = 4; PJumpPower = 34; PJumpDelay = 5; Drag = 5; if (init != 1){ keyIsDown = new Array(0x0100); i = 0; while (i < 0x0100) { keyIsDown[i] = false; i++; }; stage.addEventListener(Event.ENTER_FRAME, gameLoop); stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown); stage.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp); init = 1; CameraX = 0; PlayerJumpFrames = 0; PlayerAirborne = false; PlayerFrame = "standright"; Player1.gotoAndStop("standright"); }; } public function gameLoop(_arg1){ var _local2:BlurFilter; var _local3:Array; i = 0; if (keyIsDown[DPadLeft] == true){ i--; }; if (keyIsDown[DPadRight] == true){ i++; }; if (PlayerDir != (i * 2)){ PlayerDir = (PlayerDir + i); if (PlayerDir == 0){ PlayerDir = (PlayerDir + i); }; }; if ((((PlayerDir < 0)) && ((i == 0)))){ PlayerDir = -1; } else { if ((((PlayerDir > 0)) && ((i == 0)))){ PlayerDir = 1; }; }; if (keyIsDown[AButton] == true){ if (PlayerAirborne == false){ PlayerAirborne = true; if (keyIsDown[RButton] == true){ if (PlayerDir > 0){ if (PlayerFrame != "pjumpright"){ PlayerFrame = "pjumpright"; Player1.gotoAndStop("pjumpright"); }; } else { if (PlayerFrame != "pjumpleft"){ PlayerFrame = "pjumpleft"; Player1.gotoAndStop("pjumpleft"); }; }; PlayerJumpFrames = PJumpDelay; PlayerJumpPower = PJumpPower; } else { if (PlayerDir > 0){ if (PlayerFrame != "jumpright"){ PlayerFrame = "jumpright"; Player1.gotoAndStop("jumpright"); }; } else { if (PlayerFrame != "jumpleft"){ PlayerFrame = "jumpleft"; Player1.gotoAndStop("jumpleft"); }; }; PlayerJumpFrames = JumpDelay; PlayerJumpPower = JumpPower; }; }; }; if (PlayerAirborne == true){ if (PlayerJumpFrames == -1){ if ((((((PlayerY <= 0)) && ((PlayerMY <= 0)))) && ((PlayerAirborne == true)))){ PlayerY = 0; PlayerMY = 0; PlayerAirborne = false; } else { PlayerMY = (PlayerMY - 2); }; } else { if (PlayerJumpFrames > 0){ PlayerJumpFrames--; } else { PlayerJumpFrames--; PlayerMY = (PlayerMY + PlayerJumpPower); }; }; if (PlayerDrag > Drag){ PlayerDrag = 0; PlayerMX = (PlayerMX * 0.95); } else { PlayerDrag++; }; }; if (PlayerAirborne == false){ if ((((PlayerDir > 1)) && ((PlayerMX >= 0)))){ PlayerDrag = 0; if (keyIsDown[RButton] == true){ if (keyIsDown[AButton] == false){ if (PlayerMX < PRunMaxVel){ PlayerMX = (PlayerMX + PRunAccel); } else { PlayerMX = (PlayerMX - ((PlayerMX - PRunMaxVel) / 2)); }; }; if (PlayerFrame != "prunright"){ PlayerFrame = "prunright"; Player1.gotoAndStop("prunright"); }; } else { if (keyIsDown[AButton] == false){ if (PlayerMX < RunMaxVel){ PlayerMX = (PlayerMX + RunAccel); } else { PlayerMX = (PlayerMX - ((PlayerMX - RunMaxVel) / 2)); }; }; if (PlayerFrame != "runright"){ PlayerFrame = "runright"; Player1.gotoAndStop("runright"); }; }; } else { if ((((PlayerDir < -1)) && ((PlayerMX <= 0)))){ if (keyIsDown[RButton] == true){ if (keyIsDown[AButton] == false){ if (PlayerMX > -(PRunMaxVel)){ PlayerMX = (PlayerMX - PRunAccel); } else { PlayerMX = (PlayerMX - ((PlayerMX + PRunMaxVel) / 2)); }; }; if (PlayerFrame != "prunleft"){ PlayerFrame = "prunleft"; Player1.gotoAndStop("prunleft"); }; } else { if (keyIsDown[AButton] == false){ if (PlayerMX > -(RunMaxVel)){ PlayerMX = (PlayerMX - RunAccel); } else { PlayerMX = (PlayerMX - ((PlayerMX + RunMaxVel) / 2)); }; }; if (PlayerFrame != "runleft"){ PlayerFrame = "runleft"; Player1.gotoAndStop("runleft"); }; }; } else { if (PlayerDir > 0){ if (PlayerMX < 0){ PlayerMX = (PlayerMX / 1.75); } else { if (PlayerMX != 0){ PlayerMX = (PlayerMX / 1.33); if (PlayerFrame != "slideright"){ PlayerFrame = "slideright"; Player1.gotoAndStop("slideright"); }; } else { if (PlayerFrame != "standright"){ PlayerFrame = "standright"; Player1.gotoAndStop("standright"); }; }; }; } else { if (PlayerDir < 0){ if (PlayerMX > 0){ PlayerMX = (PlayerMX / 1.75); } else { if (PlayerMX != 0){ PlayerMX = (PlayerMX / 1.33); if (PlayerFrame != "slideleft"){ PlayerFrame = "slideleft"; Player1.gotoAndStop("slideleft"); }; } else { if (PlayerFrame != "standleft"){ PlayerFrame = "standleft"; Player1.gotoAndStop("standleft"); }; }; }; } else { PlayerMX = 0; }; }; }; }; }; PlayerX = (PlayerX + PlayerMX); PlayerY = (PlayerY + PlayerMY); CameraMX = ((PlayerX - CameraX) / 2); CameraX = (CameraX + CameraMX); Player1.x = ((PlayerX - CameraX) + 128); Player1.y = ((-(PlayerY) + CameraY) + 416); if (CameraX < 0){ ground.x = (0 - (CameraX % 0x0100)); hills1.x = (0 - ((CameraX / 48) % 0x0100)); hills2.x = (0 - ((CameraX / 40) % 0x0100)); hills3.x = (0 - ((CameraX / 32) % 0x0100)); } else { ground.x = (0x0100 - (CameraX % 0x0100)); hills1.x = (0x0100 - ((CameraX / 48) % 0x0100)); hills2.x = (0x0100 - ((CameraX / 40) % 0x0100)); hills3.x = (0x0100 - ((CameraX / 32) % 0x0100)); }; _local2 = new BlurFilter(Math.abs((CameraMX / 4)), 0, 3); _local3 = new Array(); _local3.push(_local2); ground.filters = _local3; console.text = ((((((((("Controls: Left, Right, Shift, Z\nPlayerY: " + PlayerY) + "\nCameraY: ") + CameraY) + "\n\nMomentum: ") + PlayerMX) + "\nDirection: ") + PlayerDir) + "\nCamera Motion: ") + CameraMX); } } }//package game_flaSection 4//runpower_13 (game_fla.runpower_13) package game_fla { import flash.display.*; public dynamic class runpower_13 extends MovieClip { public function runpower_13(){ addFrameScript(12, frame13); } function frame13(){ gotoAndPlay(5); } } }//package game_flaSection 5//slide_12 (game_fla.slide_12) package game_fla { import flash.display.*; public dynamic class slide_12 extends MovieClip { public function slide_12(){ addFrameScript(9, frame10); } function frame10(){ gotoAndPlay(6); } } }//package game_fla
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip | Uses:1 | Used by:3 |
Symbol 3 MovieClip | Uses:2 | Used by:Timeline |
Symbol 4 Bitmap | Used by:5 | |
Symbol 5 Graphic | Uses:4 | Used by:6 |
Symbol 6 MovieClip | Uses:5 | Used by:Timeline |
Symbol 7 Bitmap | Used by:8 | |
Symbol 8 Graphic | Uses:7 | Used by:9 |
Symbol 9 MovieClip | Uses:8 | Used by:Timeline |
Symbol 10 Bitmap | Used by:11 | |
Symbol 11 Graphic | Uses:10 | Used by:12 |
Symbol 12 MovieClip | Uses:11 | Used by:Timeline |
Symbol 13 Font | Used by:14 | |
Symbol 14 EditableText | Uses:13 | Used by:Timeline |
Symbol 15 Bitmap | Used by:16 | |
Symbol 16 Graphic | Uses:15 | Used by:17 |
Symbol 17 MovieClip | Uses:16 | Used by:20 |
Symbol 18 Bitmap | Used by:19 | |
Symbol 19 Graphic | Uses:18 | Used by:20 |
Symbol 20 MovieClip | Uses:17 19 | Used by:21 |
Symbol 21 MovieClip | Uses:20 | Used by:Timeline |
Symbol 22 Bitmap | Used by:23 | |
Symbol 23 Graphic | Uses:22 | Used by:36 37 38 39 55 57 |
Symbol 24 Bitmap | Used by:25 | |
Symbol 25 Graphic | Uses:24 | Used by:36 37 38 40 55 57 |
Symbol 26 Bitmap | Used by:27 | |
Symbol 27 Graphic | Uses:26 | Used by:36 37 38 41 55 57 |
Symbol 28 Bitmap | Used by:29 | |
Symbol 29 Graphic | Uses:28 | Used by:36 37 38 42 55 57 |
Symbol 30 Bitmap | Used by:31 | |
Symbol 31 Graphic | Uses:30 | Used by:36 37 38 55 56 57 |
Symbol 32 Bitmap | Used by:33 | |
Symbol 33 Graphic | Uses:32 | Used by:36 38 |
Symbol 34 Bitmap | Used by:35 | |
Symbol 35 Graphic | Uses:34 | Used by:36 37 38 46 55 57 |
Symbol 36 MovieClip | Uses:23 25 27 29 31 33 35 | Used by:58 |
Symbol 37 MovieClip | Uses:23 25 27 29 31 35 | Used by:58 |
Symbol 38 MovieClip {game_fla.slide_12} | Uses:23 25 27 29 31 33 35 | Used by:58 |
Symbol 39 MovieClip | Uses:23 | Used by:49 57 |
Symbol 40 MovieClip | Uses:25 | Used by:49 57 |
Symbol 41 MovieClip | Uses:27 | Used by:49 57 |
Symbol 42 MovieClip | Uses:29 | Used by:49 57 |
Symbol 43 Bitmap | Used by:44 | |
Symbol 44 Graphic | Uses:43 | Used by:45 |
Symbol 45 MovieClip | Uses:44 | Used by:49 |
Symbol 46 MovieClip | Uses:35 | Used by:49 57 |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 MovieClip | Uses:47 | Used by:49 |
Symbol 49 MovieClip {game_fla.runpower_13} | Uses:39 40 41 42 45 46 48 | Used by:58 |
Symbol 50 Bitmap | Used by:51 | |
Symbol 51 Graphic | Uses:50 | Used by:54 |
Symbol 52 Bitmap | Used by:53 | |
Symbol 53 Graphic | Uses:52 | Used by:54 |
Symbol 54 MovieClip | Uses:51 53 | Used by:55 |
Symbol 55 MovieClip {game_fla.jump_21} | Uses:23 25 27 29 31 35 54 | Used by:58 |
Symbol 56 MovieClip | Uses:31 | Used by:57 |
Symbol 57 MovieClip {game_fla.jumppower_23} | Uses:39 40 41 42 56 46 23 25 27 29 31 35 | Used by:58 |
Symbol 58 MovieClip | Uses:36 37 38 49 55 57 | Used by:Timeline |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 MovieClip | Uses:59 | Used by:Timeline |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip | Uses:61 | Used by:Timeline |
Instance Names
"hills1" | Frame 1 | Symbol 6 MovieClip |
"hills2" | Frame 1 | Symbol 9 MovieClip |
"hills3" | Frame 1 | Symbol 12 MovieClip |
"console" | Frame 1 | Symbol 14 EditableText |
"ground" | Frame 1 | Symbol 21 MovieClip |
"Player1" | Frame 1 | Symbol 58 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"grass" | Symbol 21 MovieClip Frame 1 |
"standleft" | Symbol 58 MovieClip Frame 1 |
"standright" | Symbol 58 MovieClip Frame 9 |
"runleft" | Symbol 58 MovieClip Frame 18 |
"runright" | Symbol 58 MovieClip Frame 25 |
"slideleft" | Symbol 58 MovieClip Frame 33 |
"slideright" | Symbol 58 MovieClip Frame 40 |
"prunleft" | Symbol 58 MovieClip Frame 48 |
"prunright" | Symbol 58 MovieClip Frame 55 |
"jumpleft" | Symbol 58 MovieClip Frame 63 |
"jumpright" | Symbol 58 MovieClip Frame 70 |
"pjumpleft" | Symbol 58 MovieClip Frame 78 |
"pjumpright" | Symbol 58 MovieClip Frame 86 |
|