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 #28315 |
Déterminez l'angle et la vitesse en utilisant les flèches et utilisez la barre "Espace" pour lancer. |
Directeur Artistique Jef Graphistes Arnaud Max Développeurs Guillaume Antoine |
Réalisation Toon 8 |
Score : 0 / 0 |
ActionScript [AS1/AS2]
Frame 1stop();Frame 9_root.Boule._visible = 0;Frame 10function DegreeToRadian(VarAngle) { return((VarAngle * Math.PI) / 180); } function FireHitsFloor(FireMovieClip, FloorMovieClip) { return(FloorMovieClip.hitTest(FireMovieClip._x, FireMovieClip._y, true)); } function FireHitsPanel(FireMovieClip, PanelMovieClip) { return(FireMovieClip.hitTest(PanelMovieClip)); } function FireHitsRing(FireMovieClip, RingMovieClip) { return(FireMovieClip.hitTest(RingMovieClip)); } G_SCREEN_WIDTH = 550; G_SCREEN_HEIGHT = 300; ScoreTotal = 0; TotalPanier = 0; PanierTmp = 0; ValPosPersoX = 0; TimeOut = 0; TimeToPlay = 90; Gravity = 9.8; BaseXStart = _root.Boule._x - Perso._x; BaseYStart = G_SCREEN_HEIGHT - _root.Boule._y; MasseShoot = 3; FactorPanel = 0.4; FactorRing = 1; Angle = 0; AngleInc = 1; AngleMax = 90; Power = 0; PowerInc = 1; PowerMax = 50; PowerScale = 5; StartTime = 0; TimeScale = 3; XVector = 0; YVector = 0; WindFactor = 1; AngleWind = 0; PowerWind = 0; PowerWindInc = 1; PowerWindMax = 25; XWindVector = 0; YWindVector = 0; Cpt = 0;Frame 11TextScore = "Score : 0 / 0";Frame 12ClipTime.play();Frame 13Perso._x = Math.floor(Math.random() * 250) + 50; _root.Boule._x = BaseXStart + Perso._x; _root.Boule._y = G_SCREEN_HEIGHT - BaseYStart; _root.Boule._visible = 0; _root.ClipPower._x = _root.Boule._x + 10; _root.ClipPower._y = _root.Boule._y - 10; _root.ClipPower._rotation = -Angle; XVectorObstacle = 0; Angle = 0; Power = 0; PanierTmp = 0; Perso.gotoAndStop(1);Frame 14if (Key.isDown(Key.UP)) { if (Angle != AngleMax) { Angle = Angle + AngleInc; if (AngleMax < Angle) { Angle = AngleMax; } } } if (Key.isDown(Key.DOWN)) { if (Angle != 0) { Angle = Angle - AngleInc; if (Angle < 0) { Angle = 0; } } } if (Key.isDown(Key.LEFT)) { if (Power != 0) { Power = Power - PowerInc; if (Power < 0) { Power = 0; } } } if (Key.isDown(Key.RIGHT)) { if (Power != PowerMax) { Power = Power + PowerInc; if (PowerMax < Power) { Power = PowerMax; } } } if (Key.isDown(Key.SPACE)) { gotoAndPlay (17); } if (Power) { ClipPower.gotoAndStop((Power * ClipPower._totalFrames) / PowerMax); } else { ClipPower.gotoAndStop(1); } ClipPower._rotation = -Angle; if (PowerWind) { ClipWind.gotoAndStop((PowerWind * ClipWind._totalFrames) / PowerWindMax); } else { ClipWind.gotoAndStop(1); } ClipWind._rotation = -AngleWind; if (TimeOut) { gotoAndPlay (27); } play();Frame 15prevFrame();Frame 17Perso.play();Frame 18if (Perso._currentFrame >= 4) { _root.Boule._visible = 1; gotoAndPlay (22); } play();Frame 19prevFrame();Frame 22StartTime = getTimer(); XVector = (Power * PowerScale) * Math.cos(DegreeToRadian(Angle)); YVector = (Power * PowerScale) * Math.sin(DegreeToRadian(Angle)); XWindVector = (PowerWind * WindFactor) * Math.cos(DegreeToRadian(AngleWind)); YWindVector = (PowerWind * WindFactor) * Math.sin(DegreeToRadian(AngleWind)); XStart = BaseXStart + Perso._x; YStart = BaseYStart; TotalPanier++;Frame 23TimeElapsed = ((getTimer() - StartTime) / 1000) * TimeScale; XTmp = (XVector * TimeElapsed) + XStart; YTmp = ((((((-1 * Gravity) * MasseShoot) * TimeElapsed) * TimeElapsed) / 2) + (YVector * TimeElapsed)) + YStart; _root.Boule._x = XTmp; _root.Boule._y = G_SCREEN_HEIGHT - YTmp; TextX = XTmp; TextY = YTmp; if (FireHitsPanel(Boule, ClipPanneau) || (FireHitsRing(Boule, ClipTestAnneau))) { var BBoule; var BHit; var XTmp2; var YTmp2; var ObjTmp; var Factor; TimeElapsed = TimeElapsed + 1; XTmp2 = (XVector * TimeElapsed) + XStart; YTmp2 = ((((((-1 * Gravity) * MasseShoot) * TimeElapsed) * TimeElapsed) / 2) + (YVector * TimeElapsed)) + YStart; BBoule = Boule.getBounds(_root); if (ClipPanneau.hitTest(Boule.Right) || (ClipTestAnneau.hitTest(Boule.Right))) { if (ClipTestAnneau.hitTest(Boule.Right)) { Factor = FactorRing; ObjTmp = ClipTestAnneau; } else { Factor = FactorPanel; ObjTmp = ClipPanneau; } BHit = ObjTmp.getBounds(_root); XVector = (-1 * Factor) * Math.abs(XTmp2 - XTmp); YVector = YTmp2 - YTmp; XStart = (ObjTmp._x - (ObjTmp._x - BHit.xMin)) - (Boule._x - BBoule.xMin); Boule._x = XStart; YStart = G_SCREEN_HEIGHT - Boule._y; StartTime = getTimer(); } else if (ClipTestAnneau.hitTest(Boule.Left)) { Factor = FactorRing; ObjTmp = ClipTestAnneau; BHit = ObjTmp.getBounds(_root); XVector = (-1 * Factor) * Math.abs(XTmp2 - XTmp); YVector = YTmp2 - YTmp; XStart = (ObjTmp._x + (ObjTmp._x - BHit.xMin)) + (Boule._x - BBoule.xMin); Boule._x = XStart; YStart = G_SCREEN_HEIGHT - Boule._y; StartTime = getTimer(); } else if (ClipPanneau.hitTest(Boule.Up) || (ClipTestAnneau.hitTest(Boule.Up))) { if (ClipTestAnneau.hitTest(Boule.Up)) { Factor = FactorRing; ObjTmp = ClipTestAnneau; } else { Factor = FactorPanel; ObjTmp = ClipPanneau; } BHit = ObjTmp.getBounds(_root); YVector = (-1 * Factor) * Math.abs(YTmp2 - YTmp); XVector = XTmp2 - XTmp; YStart = G_SCREEN_HEIGHT - ((ObjTmp._y + (ObjTmp._y - BHit.yMin)) + (Boule._y - BBoule.yMin)); Boule._y = G_SCREEN_HEIGHT - YStart; XStart = Boule._x; StartTime = getTimer(); } else if (ClipPanneau.hitTest(Boule.Down) || (ClipTestAnneau.hitTest(Boule.Down))) { if (ClipTestAnneau.hitTest(Boule.Down)) { Factor = FactorRing; ObjTmp = ClipTestAnneau; } else { Factor = FactorPanel; ObjTmp = ClipPanneau; } BHit = ObjTmp.getBounds(_root); YVector = ((-1 * Factor) * 2) * Math.abs(YTmp2 - YTmp); XVector = XTmp2 - XTmp; YStart = G_SCREEN_HEIGHT - ((ObjTmp._y - (ObjTmp._y - BHit.yMin)) - (Boule._y - BBoule.yMin)); Boule._y = G_SCREEN_HEIGHT - YStart; XStart = Boule._x; StartTime = getTimer(); } } else { if (((_root.Boule._x >= G_SCREEN_WIDTH) || (_root.Boule._y >= G_SCREEN_HEIGHT)) || (_root.Boule._x < 0)) { gotoAndPlay (13); } if (FireHitsFloor(Boule, Floor)) { gotoAndPlay (13); } } if (Boule.Down.hitTest(TestPanier)) { PanierTmp = 1; } if (Boule.Up.hitTest(TestPanier) && (PanierTmp)) { PanierTmp = 0; ScoreTotal++; } TextScore = (("Score : " + ScoreTotal) + " / ") + TotalPanier; play();Frame 24prevFrame();Frame 27stop();Symbol 7 Buttonon (release) { gotoAndPlay (9); }Symbol 52 MovieClip Frame 1stop();Symbol 52 MovieClip Frame 10stop();Symbol 56 MovieClip Frame 1stop();Symbol 60 MovieClip Frame 1stop();Symbol 64 MovieClip Frame 1TimerStartTime = 0; CurrentTime = 0; TotalTime = _root.TimeToPlay; CountTime = 0; stop();Symbol 64 MovieClip Frame 2TimerStartTime = Math.floor(getTimer() / 1000);Symbol 64 MovieClip Frame 3CurrentTime = Math.floor(getTimer() / 1000); CountTime = (TotalTime - CurrentTime) + TimerStartTime; if (CountTime >= 0) { TextTime = ("Time : " + CountTime) + " s"; } else { _root.TimeOut = 1; } play();Symbol 64 MovieClip Frame 4prevFrame();Symbol 66 Buttonon (release) { TextScore = "Score : 0 / 0"; ScoreTotal = 0; TotalPanier = 0; TimeOut = 0; ClipTime.gotoAndPlay(2); gotoAndPlay (12); }
Library Items
Symbol 1 Graphic | Used by:Timeline | |
Symbol 2 Bitmap | Used by:3 47 | |
Symbol 3 Graphic | Uses:2 | Used by:32 52 Timeline |
Symbol 4 Graphic | Used by:7 | |
Symbol 5 Graphic | Used by:7 | |
Symbol 6 Graphic | Used by:7 12 18 66 | |
Symbol 7 Button | Uses:4 5 6 | Used by:Timeline |
Symbol 8 Graphic | Used by:12 | |
Symbol 9 Graphic | Used by:12 | |
Symbol 10 Font | Used by:11 17 | |
Symbol 11 Text | Uses:10 | Used by:12 |
Symbol 12 Button | Uses:8 9 11 6 | Used by:Timeline |
Symbol 13 Graphic | Used by:18 | |
Symbol 14 Graphic | Used by:18 | |
Symbol 15 Graphic | Used by:18 | |
Symbol 16 Font | Used by:17 | |
Symbol 17 Text | Uses:16 10 | Used by:18 |
Symbol 18 Button | Uses:13 14 15 17 6 | Used by:Timeline |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Font | Used by:21 | |
Symbol 21 Text | Uses:20 | Used by:Timeline |
Symbol 22 Graphic | Used by:32 52 | |
Symbol 23 Graphic | Used by:32 52 | |
Symbol 24 Graphic | Used by:32 52 | |
Symbol 25 Graphic | Used by:32 52 | |
Symbol 26 Graphic | Used by:32 52 | |
Symbol 27 Graphic | Used by:32 52 | |
Symbol 28 Graphic | Used by:32 52 | |
Symbol 29 Graphic | Used by:32 52 | |
Symbol 30 Graphic | Used by:32 52 | |
Symbol 31 Sound | Used by:32 | |
Symbol 32 MovieClip | Uses:22 23 24 25 26 27 28 29 3 30 31 | Used by:Timeline |
Symbol 33 Graphic | Used by:Timeline | |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:34 | Used by:Timeline |
Symbol 36 Graphic | Used by:37 | |
Symbol 37 MovieClip | Uses:36 | Used by:Timeline |
Symbol 38 Bitmap | Used by:39 | |
Symbol 39 Graphic | Uses:38 | Used by:Timeline |
Symbol 40 Graphic | Used by:Timeline | |
Symbol 41 Graphic | Used by:Timeline | |
Symbol 42 Graphic | Used by:Timeline | |
Symbol 43 Graphic | Used by:Timeline | |
Symbol 44 Graphic | Used by:Timeline | |
Symbol 45 Graphic | Used by:46 50 56 | |
Symbol 46 MovieClip | Uses:45 | Used by:48 |
Symbol 47 Graphic | Uses:2 | Used by:48 |
Symbol 48 MovieClip | Uses:46 47 | Used by:Timeline |
Symbol 49 Graphic | Used by:Timeline | |
Symbol 50 MovieClip | Uses:45 | Used by:Timeline |
Symbol 51 Graphic | Used by:Timeline | |
Symbol 52 MovieClip | Uses:22 23 24 25 26 27 28 29 3 30 | Used by:Timeline |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:56 | |
Symbol 55 Graphic | Used by:56 | |
Symbol 56 MovieClip | Uses:54 45 55 | Used by:Timeline |
Symbol 57 Graphic | Used by:60 | |
Symbol 58 Graphic | Used by:60 | |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 MovieClip | Uses:57 58 59 | Used by:Timeline |
Symbol 61 Font | Used by:62 63 | |
Symbol 62 EditableText | Uses:61 | Used by:Timeline |
Symbol 63 EditableText | Uses:61 | Used by:64 |
Symbol 64 MovieClip | Uses:63 | Used by:Timeline |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 Button | Uses:65 6 | Used by:Timeline |
Instance Names
"TestPanier" | Frame 9 | Symbol 35 MovieClip |
"ClipPanneau" | Frame 9 | Symbol 37 MovieClip |
"Boule" | Frame 9 | Symbol 48 MovieClip |
"ClipTestAnneau" | Frame 9 | Symbol 50 MovieClip |
"Perso" | Frame 9 | Symbol 52 MovieClip |
"ClipPower" | Frame 9 | Symbol 56 MovieClip |
"ClipWind" | Frame 9 | Symbol 60 MovieClip |
"ClipTime" | Frame 11 | Symbol 64 MovieClip |
"Right" | Symbol 48 MovieClip Frame 1 | Symbol 46 MovieClip |
"Down" | Symbol 48 MovieClip Frame 1 | Symbol 46 MovieClip |
"Up" | Symbol 48 MovieClip Frame 1 | Symbol 46 MovieClip |
"Left" | Symbol 48 MovieClip Frame 1 | Symbol 46 MovieClip |
Special Tags
Protect (24) | Timeline Frame 1 | 0 bytes "" |
Labels
"Play" | Frame 13 |
"PersoTir" | Frame 17 |
"Fire" | Frame 22 |
"Fin" | Frame 27 |
Dynamic Text Variables
TextScore | Symbol 62 EditableText | "Score : 0 / 0" |
TextTime | Symbol 63 EditableText | "" |
|