STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229494 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2575 · P5149 |
This is the info page for Flash #11836 |
Congratulations next level hit space |
Double Maze by LightForce |
ActionScript [AS1/AS2]
Frame 1stop(); level = 1; playing = 0; walk = new Sound(_root.mySound); walk.attachSound("walk"); exit = new Sound(_root.mySound); exit.attachSound("exit"); loop = new Sound(_root.mySound); loop.attachSound("loop");Instance of Symbol 24 MovieClip in Frame 1onClipEvent (enterFrame) { text = ((int(_parent.getBytesLoaded() / 1000) add " OF ") add int(_parent.getBytesTotal() / 1000)) add " LOADED ..."; if (_parent.getBytesTotal() == _parent.getBytesLoaded()) { _parent.gotoAndStop(2); } }Frame 2function buildMap(map) { var _local3 = this; mapWidth = map[0].length; mapHeight = map.length; var _local2 = 0; while (_local2 < mapHeight) { var _local1 = 0; while (_local1 < mapWidth) { _local3.attachMovie("tile", (("t_" + _local2) + "_") + _local1, ++d); t = _local3[(("t_" + _local2) + "_") + _local1]; t._x = _local1 * tileW; t._y = _local2 * tileH; t.gotoAndStop(map[_local2][_local1]); t.u._alpha = 0; t.d._alpha = 0; t.l._alpha = 0; t.r._alpha = 0; _local1++; } _local2++; } } function buildShapes(shp) { var _local3 = _root; shpWidth = shp[0].length; shpHeight = shp.length; var _local2 = 0; while (_local2 < shpHeight) { var _local1 = 0; while (_local1 < shpWidth) { var shape = shp[_local2][_local1]; switch (shape) { case 1 : _local3[(("t_" + _local2) + "_") + _local1].u._alpha = 100; _local3[(("t_" + _local2) + "_") + _local1].door = 1; break; case 2 : _local3[(("t_" + _local2) + "_") + _local1].d._alpha = 100; _local3[(("t_" + _local2) + "_") + _local1].door = 2; break; case 3 : _local3[(("t_" + _local2) + "_") + _local1].l._alpha = 100; _local3[(("t_" + _local2) + "_") + _local1].door = 3; break; case 4 : _local3[(("t_" + _local2) + "_") + _local1].r._alpha = 100; _local3[(("t_" + _local2) + "_") + _local1].door = 4; } _local1++; } _local2++; } } function CreateBall(x, y) { var _local1 = this; var _local2 = _root; w++; _local1.attachMovie("ball", "ball" + w, w); var bounds = _local1["b" + w].getBounds(_local1); var tilex = ((30 * x) + bounds.xMax); var tiley = ((30 * y) + bounds.yMax); b = _local1["ball" + w]; b._x = int(tilex); b._y = int(tiley); b.direction = null; b.klik = true; b.onEnterFrame = function () { var _local1 = this; var _local2 = _root; var dy = Math.floor((_local1._y + 30) / tileH); var uy = Math.floor((_local1._y - 30) / tileH); var lx = Math.floor((_local1._x - 30) / tileW); var rx = Math.floor((_local1._x + 30) / tileW); var cx = Math.floor(_local1._x / tileW); var _local3 = Math.floor(_local1._y / tileH); if (_local2.playGame) { if (_local2.myMap[_local3][cx] == 3) { _local1.exit = true; _local1.gotoAndStop(2); } else { _local1.exit = false; _local1.gotoAndStop(1); } if (Key.isDown(38) and _local1.klik) { _local1.direction = "up"; _local1.klik = false; } if (Key.isDown(40) and _local1.klik) { _local1.direction = "down"; _local1.klik = false; } if (Key.isDown(37) and _local1.klik) { _local1.direction = "left"; _local1.klik = false; } if (Key.isDown(39) and _local1.klik) { _local1.direction = "right"; _local1.klik = false; } if (_local1.direction == "up") { if ((_local2[(("t_" + uy) + "_") + cx].door != 2) and (_local2[(("t_" + _local3) + "_") + cx].door != 1)) { _local1._y = _local1._y - 30; _local1.direction = null; walk.start(0, 1); if (_local2.myMap[uy][cx] == 1) { _local1.gotoAndPlay(3); } } } if (_local1.direction == "down") { if ((_local2[(("t_" + dy) + "_") + cx].door != 1) and (_local2[(("t_" + _local3) + "_") + cx].door != 2)) { _local1._y = _local1._y + 30; _local1.direction = null; walk.start(0, 1); if (_local2.myMap[dy][cx] == 1) { _local1.gotoAndPlay(3); } } } if (_local1.direction == "left") { if ((_local2[(("t_" + _local3) + "_") + lx].door != 4) and (_local2[(("t_" + _local3) + "_") + cx].door != 3)) { _local1._x = _local1._x - 30; _local1.direction = null; walk.start(0, 1); if (_local2.myMap[_local3][lx] == 1) { _local1.gotoAndPlay(3); } } } if (_local1.direction == "right") { if ((_local2[(("t_" + _local3) + "_") + rx].door != 3) and (_local2[(("t_" + _local3) + "_") + cx].door != 4)) { _local1._x = _local1._x + 30; _local1.direction = null; walk.start(0, 1); if (_local2.myMap[_local3][rx] == 1) { _local1.gotoAndPlay(3); } } } if (Key.isDown(17)) { playGame = false; nextFrame(); } if (Key.isDown(9)) { playGame = false; level++; nextFrame(); } } }; } function createLabel() { this.attachMovie("labelClip", "labelClip", ++w); labelClip._x = 220; labelClip._y = 120; } function setLevel(lv) { switch (lv) { case 1 : createBall(3, 5); createBall(10, 5); myText = "Level 1 'Starry Night"; return; case 2 : createBall(1, 6); createBall(13, 6); myText = "Level 2 'Eternity"; return; case 3 : createBall(1, 2); createBall(9, 2); myText = "Level 3 'Rat Race'"; return; case 4 : createBall(8, 1); createBall(6, 6); myText = "Level 4 'Desert'"; return; case 5 : createBall(3, 4); createBall(11, 4); myText = "Level 5 'Walk on fire'"; return; case 6 : createBall(1, 2); createBall(10, 5); myText = "Level 6 'Close to you'"; return; case 7 : createBall(1, 1); createBall(13, 6); myText = "Level 7 'Step into forever'"; return; case 8 : createBall(2, 2); createBall(10, 4); myText = " Level 8 'Houses of the holey'"; return; case 9 : createBall(2, 2); createBall(10, 5); myText = "Level 9 'Redux Reaction'"; return; case 10 : createBall(1, 1); createBall(13, 6); myText = "Level 10 'Gateway"; return; case 11 : createBall(1, 3); createBall(10, 4); myText = "Level 11 'Dark Destiny'"; return; case 12 : createBall(8, 1); createBall(6, 6); myText = "Final Level 'Stereo Vision'"; } } myMap1 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 2, 1, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1], [1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1], [1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1], [1, 2, 2, 2, 2, 3, 2, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0]]; tileW = 30; tileH = 30; w = 2000; d = 0; playGame = true; myMap = _root["myMap" + level]; myShp = _root["myShp" + level]; buildMap(myMap); buildShapes(myShp); setlevel(level); stop();Instance of Symbol 25 MovieClip "mySound" in Frame 2onClipEvent (keyUp) { if (_root.playGame) { _root.ball2001.klik = true; _root.ball2002.klik = true; } } onClipEvent (enterFrame) { if (((_root.ball2001.exit == true) and (_root.ball2002.exit == true)) and _root.playGame) { _root.playGame = false; _root.createLabel(); } }Frame 3var i = 0; while (i < mapHeight) { var j = 0; while (j < mapWidth) { removeMovieClip(_root[(("t_" + i) + "_") + j]); j++; } i++; } removeMovieClip(ball2001); removeMovieClip(ball2002); removeMovieClip(labelClip); if (level == 13) { level = 1; congrats = "Congratulations, you completed game !"; } else { congrats = ""; } prevFrame();Symbol 6 Buttonon (keyPress "<Space>") { _root.level++; _root.nextFrame(); }Symbol 10 MovieClip [labelClip] Frame 10stop();Symbol 20 MovieClip [ball] Frame 1stop();Symbol 20 MovieClip [ball] Frame 3_root.playGame = false;Symbol 20 MovieClip [ball] Frame 19stop(); _root.nextFrame();Symbol 30 Buttonon (press) { getURL ("http://www.freestuff.gr/lightforce", "_blank"); }Symbol 34 Buttonon (release) { if (_root.playing == 1) { stopAllSounds(); playing = 0; } else { loop.start(0, 999); playing = 1; } }
Library Items
Symbol 1 Sound [walk] | ||
Symbol 2 Sound [loop] | ||
Symbol 3 Sound [exit] | Used by:10 | |
Symbol 4 Sound [wipe] | Used by:20 | |
Symbol 5 Graphic | Used by:6 | |
Symbol 6 Button | Uses:5 | Used by:9 |
Symbol 7 Font | Used by:8 28 35 | |
Symbol 8 Text | Uses:7 | Used by:9 |
Symbol 9 MovieClip | Uses:6 8 | Used by:10 |
Symbol 10 MovieClip [labelClip] | Uses:9 3 | |
Symbol 11 Graphic | Used by:16 | |
Symbol 12 Graphic | Used by:13 | |
Symbol 13 MovieClip | Uses:12 | Used by:16 |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip | Uses:14 | Used by:16 |
Symbol 16 MovieClip [tile] | Uses:11 13 15 | |
Symbol 17 Graphic | Used by:19 20 | |
Symbol 18 Graphic | Used by:19 20 | |
Symbol 19 MovieClip | Uses:17 18 | Used by:20 |
Symbol 20 MovieClip [ball] | Uses:17 18 19 4 | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Font | Used by:23 | |
Symbol 23 EditableText | Uses:22 | Used by:24 |
Symbol 24 MovieClip | Uses:23 | Used by:Timeline |
Symbol 25 MovieClip | Used by:Timeline | |
Symbol 26 Font | Used by:27 | |
Symbol 27 Text | Uses:26 | Used by:Timeline |
Symbol 28 EditableText | Uses:7 | Used by:Timeline |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 Button | Uses:29 | Used by:Timeline |
Symbol 31 Graphic | Used by:34 | |
Symbol 32 Graphic | Used by:34 | |
Symbol 33 Graphic | Used by:34 | |
Symbol 34 Button | Uses:31 32 33 | Used by:Timeline |
Symbol 35 EditableText | Uses:7 | Used by:Timeline |
Instance Names
"mySound" | Frame 2 | Symbol 25 MovieClip |
"u" | Symbol 16 MovieClip [tile] Frame 1 | Symbol 13 MovieClip |
"d" | Symbol 16 MovieClip [tile] Frame 1 | Symbol 13 MovieClip |
"l" | Symbol 16 MovieClip [tile] Frame 1 | Symbol 13 MovieClip |
"r" | Symbol 16 MovieClip [tile] Frame 1 | Symbol 13 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "walk" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "loop" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "exit" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "wipe" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "exit" |
ExportAssets (56) | Timeline Frame 1 | Symbol 10 as "labelClip" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "tile" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "wipe" |
ExportAssets (56) | Timeline Frame 1 | Symbol 20 as "ball" |
Dynamic Text Variables
text | Symbol 23 EditableText | "" |
myText | Symbol 28 EditableText | "" |
congrats | Symbol 35 EditableText | "" |
|