STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #24787 |
loading |
instructions |
play the game |
Lasagnas, and other tasty goodies, are falling from the sky. Help Garfield gobble as much of it as he can. But watch out for: |
Use your mouse to move Garfield left and right. Have fun! |
SCORE |
000 |
0 |
LEVEL |
Play again? |
GAME OVER |
ActionScript [AS1/AS2]
Frame 1loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); percentloaded = Math.floor((loadedbytes / totalbytes) * 100); loadbar.loadbarwiper._xscale = 100 - percentloaded; if (loadedbytes >= totalbytes) { gotoAndPlay (4); }Frame 2gotoAndPlay (1);Frame 79stop();Frame 95stop();Frame 96var score = 0; var lives = 9; var level = 1; var count = 12; var levelCount = count; var foodLeftMax = 40; var foodRightMax = 360; var foodX; var foodRnd; var foodRndTmp = foodRnd; var foodIncr = 6; var foodStep = ((foodRightMax - foodLeftMax) / (foodIncr - 1)); var foodTopMax = -25; var foodBotMax = 325; var foodFall = 18; var foodDispMax = 5; var foodNum = 20; var foodDispRnd; lives_mc.gotoAndPlay(1);Instance of Symbol 64 MovieClip "garfield_mc" in Frame 96onClipEvent (load) { this._x = 200; this._y = _parent.garfY; this.gotoAndStop("start"); }Frame 97var garfY = 315; var garfX = garfield_mc._x; var garfXOld = garfX; var garfLeftMax = 20; var garfRightMax = 335;Frame 98gotoAndPlay (115);Frame 101if (lives == 0) { gotoAndPlay (165); } if (levelCount == 0) { level++; foodDispMax = foodDispMax + 5; if (foodDispMax > foodNum) { foodDispMax = foodNum; } foodFall = foodFall + 5; gotoAndPlay (115); } food_mc._y = foodTopMax; while (foodRnd == foodRndTmp) { foodRnd = Math.floor(Math.random() * foodIncr); } foodX = foodLeftMax + (foodRnd * foodStep); food_mc._x = foodX; foodDispRnd = Math.floor(Math.random() * foodDispMax) + 1; food_mc.gotoAndStop(foodDispRnd); foodRndTmp = foodRnd; Mouse.hide(); garfield_mc.startDrag(true, garfLeftMax, garfY, garfRightMax, garfY);Frame 107garfX = garfield_mc._x; if (garfX > garfXOld) { garfield_mc.gotoAndStop("right"); } else if (garfX < garfXOld) { garfield_mc.gotoAndStop("left"); } food_mc._y = food_mc._y + foodFall; if (food_mc.hitTest("_parent.garfield_mc.garfTarget") && (foodDispRnd <= 10)) { score = score + 4; levelCount--; if (garfX < garfXOld) { garfield_mc.gotoAndPlay("gulpleft"); } else { garfield_mc.gotoAndPlay("gulpright"); } gotoAndPlay (101); } if (food_mc.hitTest("_parent.garfield_mc.garfTarget") && (foodDispRnd > 10)) { gotoAndPlay (148); } if (food_mc._y > foodBotMax) { score = score - 2; gotoAndPlay (101); } garfXOld = garfX;Frame 108gotoAndPlay (107);Frame 115levelCount = count; count = count + 5; stopDrag(); Mouse.show(); if (level > 1) { garfield_mc.gotoAndPlay("burp"); }Frame 147gotoAndPlay (101);Frame 148stopDrag(); garfield_mc.gotoAndPlay("odiehit"); lives = lives - 1; lives_mc.gotoAndStop(lives + 1);Frame 164gotoAndPlay (101);Frame 165Mouse.show(); stopDrag();Frame 170stop();Symbol 19 Buttonon (release) { gotoAndPlay (96); }Symbol 20 Buttonon (release) { gotoAndPlay (80); }Symbol 33 MovieClip Frame 18stop();Symbol 35 MovieClip Frame 1garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 2garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 3garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 4garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 5garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 6garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 7garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 8garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 9garfhead.gotoAndPlay(1);Symbol 35 MovieClip Frame 10stop();Symbol 41 MovieClip Frame 1stop();Symbol 59 MovieClip Frame 10stop();Symbol 63 MovieClip Frame 30stop();Symbol 64 MovieClip Frame 3stop();Instance of Symbol 49 MovieClip "garfTarget" in Symbol 64 MovieClip Frame 4onClipEvent (load) { this._alpha = 0; }Symbol 64 MovieClip Frame 6stop();Symbol 64 MovieClip Frame 9stop();Symbol 64 MovieClip Frame 14if (_parent.garfX > _parent.garfXOld) { gotoAndStop (7); } else { gotoAndStop (4); }Symbol 64 MovieClip Frame 19if (_parent.garfX > _parent.garfXOld) { gotoAndStop (7); } else { gotoAndStop (4); }Symbol 64 MovieClip Frame 24stop();Symbol 64 MovieClip Frame 30stop();Symbol 70 Buttonon (release) { gotoAndPlay (96); }
Library Items
Symbol 1 Font | Used by:2 15 18 21 26 27 67 69 71 | |
Symbol 2 Text | Uses:1 | Used by:Timeline |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip | Uses:3 | Used by:6 |
Symbol 5 Graphic | Used by:6 | |
Symbol 6 MovieClip | Uses:4 5 | Used by:Timeline |
Symbol 7 Graphic | Used by:Timeline | |
Symbol 8 Graphic | Used by:Timeline | |
Symbol 9 Graphic | Used by:Timeline | |
Symbol 10 Sound | Used by:Timeline | |
Symbol 11 Graphic | Used by:41 Timeline | |
Symbol 12 Graphic | Used by:Timeline | |
Symbol 13 Graphic | Used by:33 Timeline | |
Symbol 14 Sound | Used by:Timeline | |
Symbol 15 Text | Uses:1 | Used by:17 20 |
Symbol 16 Graphic | Used by:17 19 20 49 70 | |
Symbol 17 Button | Uses:15 16 | Used by:Timeline |
Symbol 18 Text | Uses:1 | Used by:19 |
Symbol 19 Button | Uses:18 16 | Used by:Timeline |
Symbol 20 Button | Uses:15 16 | Used by:Timeline |
Symbol 21 Text | Uses:1 | Used by:Timeline |
Symbol 22 Graphic | Used by:41 Timeline | |
Symbol 23 Graphic | Used by:41 Timeline | |
Symbol 24 Graphic | Used by:41 Timeline | |
Symbol 25 Graphic | Used by:41 Timeline | |
Symbol 26 Text | Uses:1 | Used by:Timeline |
Symbol 27 Text | Uses:1 | Used by:31 |
Symbol 28 Font | Used by:29 66 | |
Symbol 29 EditableText | Uses:28 | Used by:31 |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip | Uses:27 29 30 | Used by:Timeline |
Symbol 32 Graphic | Used by:33 35 | |
Symbol 33 MovieClip | Uses:32 13 | Used by:35 |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:33 34 32 | Used by:Timeline |
Symbol 36 Graphic | Used by:41 | |
Symbol 37 Graphic | Used by:41 | |
Symbol 38 Graphic | Used by:41 | |
Symbol 39 Graphic | Used by:41 | |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:11 36 37 38 39 40 23 25 24 22 | Used by:Timeline |
Symbol 42 Graphic | Used by:46 48 51 63 | |
Symbol 43 Graphic | Used by:46 | |
Symbol 44 Graphic | Used by:46 48 51 59 63 | |
Symbol 45 Graphic | Used by:46 48 51 63 | |
Symbol 46 MovieClip | Uses:42 43 44 45 | Used by:64 |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 MovieClip | Uses:42 47 44 45 | Used by:64 |
Symbol 49 MovieClip | Uses:16 | Used by:64 |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 MovieClip | Uses:42 50 44 45 | Used by:64 |
Symbol 52 Sound | Used by:64 | |
Symbol 53 Graphic | Used by:59 | |
Symbol 54 Graphic | Used by:59 | |
Symbol 55 Graphic | Used by:59 | |
Symbol 56 Graphic | Used by:59 | |
Symbol 57 Graphic | Used by:59 | |
Symbol 58 Sound | Used by:59 | |
Symbol 59 MovieClip | Uses:53 54 55 56 57 44 58 | Used by:64 |
Symbol 60 Graphic | Used by:63 | |
Symbol 61 Graphic | Used by:63 | |
Symbol 62 Sound | Used by:63 | |
Symbol 63 MovieClip | Uses:42 60 61 44 45 62 | Used by:64 |
Symbol 64 MovieClip | Uses:46 48 49 51 52 59 63 | Used by:Timeline |
Symbol 65 Graphic | Used by:Timeline | |
Symbol 66 EditableText | Uses:28 | Used by:68 |
Symbol 67 Text | Uses:1 | Used by:68 |
Symbol 68 MovieClip | Uses:66 67 | Used by:Timeline |
Symbol 69 Text | Uses:1 | Used by:70 |
Symbol 70 Button | Uses:69 16 | Used by:Timeline |
Symbol 71 Text | Uses:1 | Used by:Timeline |
Instance Names
"loadbar" | Frame 1 | Symbol 6 MovieClip |
"scoremc" | Frame 96 | Symbol 31 MovieClip |
"lives_mc" | Frame 96 | Symbol 35 MovieClip |
"food_mc" | Frame 96 | Symbol 41 MovieClip |
"garfield_mc" | Frame 96 | Symbol 64 MovieClip |
"loadbarwiper" | Symbol 6 MovieClip Frame 1 | Symbol 4 MovieClip |
"garfhead" | Symbol 35 MovieClip Frame 1 | Symbol 33 MovieClip |
"garfTarget" | Symbol 64 MovieClip Frame 4 | Symbol 49 MovieClip |
Special Tags
Protect (24) | Timeline Frame 1 | 0 bytes "" |
Labels
"preloop" | Frame 1 |
"begin" | Frame 4 |
"instruct" | Frame 80 |
"startgame" | Frame 96 |
"setup" | Frame 101 |
"floop" | Frame 107 |
"setlevel" | Frame 115 |
"loselife" | Frame 148 |
"endgame" | Frame 165 |
"start" | Symbol 64 MovieClip Frame 1 |
"left" | Symbol 64 MovieClip Frame 4 |
"right" | Symbol 64 MovieClip Frame 7 |
"gulpleft" | Symbol 64 MovieClip Frame 10 |
"gulpright" | Symbol 64 MovieClip Frame 15 |
"odiehit" | Symbol 64 MovieClip Frame 20 |
"burp" | Symbol 64 MovieClip Frame 25 |
Dynamic Text Variables
_parent.score | Symbol 29 EditableText | "000" |
_parent.level | Symbol 66 EditableText | "0" |
|