STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/45922085?noj=FRM45922085-16DC" width="1" height="1"></div>

The Friction Game 2.swf

This is the info page for
Flash #54702

(Click the ID number above for more basic data on this flash file.)


Text
Magical

Zorse

Productions

The Friction Game
2

Instructions

Instructions

Play

Play

Credits

Credits

Ok, here's the basics. You move around the circle.
And collect the squares.
The only thing is, the level of friction is rising, which means
you'll get faster by the second. For every square you
collect, your score goes up by 5, and your friction goes
down by 0.5.
But watch out, if your friction level gets too low, you won't
be able to move anymore.

Return to Menu

Return to Menu

Friction at

Health at

Score:

Put your name here:

Send Score?

Play Again?

Well done, you have completed this level

Goto Next level

Goto Next level

Well done, you have completed the game.
I humbly present you with your prize

Now, it's all over

Submit Score?

Programming and art
design by Magical-Zorse
Backgrounds from
various artists and google

Back

Back

ActionScript [AS1/AS2]

Frame 1
function itemHandler1(obj, item) { _root._quality = "high"; } function itemHandler2(obj, item) { _root._quality = "medium"; } function itemHandler3(obj, item) { _root._quality = "low"; } function itemHandler4(obj, item) { stopAllSounds(); _root.music.attachSound("song1"); _root.music.start(0, 10000); } function itemHandler9(obj, item) { stopAllSounds(); } stop(); stop(); var music = new Sound(_root); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); item1 = new ContextMenuItem("High Quality", itemHandler1); myMenu.customItems.push(item1); item2 = new ContextMenuItem("Medium Quality", itemHandler2); myMenu.customItems.push(item2); item3 = new ContextMenuItem("Low Quality", itemHandler3); myMenu.customItems.push(item3); item4 = new ContextMenuItem("F.C.P.R.E.M.I.X.", itemHandler4, true); myMenu.customItems.push(item4); item9 = new ContextMenuItem("No Music", itemHandler9); myMenu.customItems.push(item9); _root.menu = myMenu;
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (load) { _root.stop(); var totalBytes = _root.getBytesTotal(); this._xscale = 0; } onClipEvent (enterFrame) { var loadedBytes = _root.getBytesLoaded(); var percent = ((100 * loadedBytes) / totalBytes); this._xscale = percent; if (percent == 100) { _root.gotoAndStop(2); } }
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
friction = 0.5; life = 100; score = 0; stop();
Instance of Symbol 46 MovieClip "player" in Frame 5
onClipEvent (load) { vx = 5; vy = 5; } onClipEvent (enterFrame) { vx = vx * _root.friction; vy = vy * _root.friction; this._x = this._x + vx; this._y = this._y + vy; if (Key.isDown(38)) { vy = vy - 4; } if (Key.isDown(40)) { vy = vy + 4; } if (Key.isDown(37)) { vx = vx - 4; } if (Key.isDown(39)) { vx = vx + 4; } if (this._y > 400) { _root.life = _root.life - 1; } if (this._y < 0) { _root.life = _root.life - 1; } if (this._x > 550) { _root.life = _root.life - 1; } if (this._x < 0) { _root.life = _root.life - 1; } if (_root.life <= 0) { _root.life = 0; _root.gotoAndStop("frame 4"); } } onClipEvent (enterFrame) { if (_root.friction <= 0) { _root.gotoAndStop(4); } }
Instance of Symbol 49 MovieClip "enemy" in Frame 5
onClipEvent (enterFrame) { if (_root.player.hitTest(_root.enemy)) { _root.friction = _root.friction - 0.05; _root.enemy._x = (Math.random() * 200) + 100; _root.enemy._y = (Math.random() * 300) + 100; _root.score = _root.score + 5; } }
Frame 6
stop();
Instance of Symbol 51 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_root.score <= 50) { _root.gotoAndStop("frame 5"); } if (_root.score > 50) { _root.gotoAndStop("frame 6"); } }
Frame 7
function send_vars(username, score, code, u) { var _local1 = new LoadVars(); var _local2 = new LoadVars(); _local1.username = username; _local1.score = score; _local1.code458 = code; _local1.sendAndLoad(u, _local2, "POST"); } btn_send.onRelease = function () { player_name = playername; player_score = score; send_vars(player_name, player_score, "4sPtwTWaPoXDveVSFvpXwlBX6pkQfUUP", "http://www.pogollama.com/scoreboards/submit_scores.php"); getURL ("http://www.pogollama.com/scoreboards/that_game_youre_playing/view_scores_1.php", _blank); }; stop();
Frame 8
stop();
Frame 9
friction = 0.5; life = 100; stop();
Instance of Symbol 76 MovieClip "player2" in Frame 9
onClipEvent (load) { vx = 5; vy = 5; } onClipEvent (enterFrame) { vx = vx * _root.friction; vy = vy * _root.friction; this._x = this._x + vx; this._y = this._y + vy; if (Key.isDown(38)) { vy = vy - 4; } if (Key.isDown(40)) { vy = vy + 4; } if (Key.isDown(37)) { vx = vx - 4; } if (Key.isDown(39)) { vx = vx + 4; } if (this._y > 400) { _root.life = _root.life - 1; } if (this._y < 0) { _root.life = _root.life - 1; } if (this._x > 550) { _root.life = _root.life - 1; } if (this._x < 0) { _root.life = _root.life - 1; } if (_root.life <= 0) { _root.life = 0; _root.gotoAndStop("frame 8"); } } onClipEvent (enterFrame) { if (_root.friction <= 0) { _root.gotoAndStop(8); } }
Instance of Symbol 82 MovieClip "enemy2" in Frame 9
onClipEvent (enterFrame) { if (_root.player2.hitTest(_root.enemy2)) { _root.friction = _root.friction - 0.05; _root.enemy2._x = (Math.random() * 200) + 100; _root.enemy2._y = (Math.random() * 300) + 100; _root.score = _root.score + 5; } }
Frame 10
stop();
Instance of Symbol 51 MovieClip in Frame 10
onClipEvent (enterFrame) { if (_root.score <= 125) { _root.gotoAndStop("frame 5"); } if (_root.score > 125) { _root.gotoAndStop("frame 9"); } }
Frame 11
stop();
Frame 12
friction = 0.5; life = 100; stop();
Instance of Symbol 96 MovieClip "player3" in Frame 12
onClipEvent (load) { vx = 5; vy = 5; } onClipEvent (enterFrame) { vx = vx * _root.friction; vy = vy * _root.friction; this._x = this._x + vx; this._y = this._y + vy; if (Key.isDown(38)) { vy = vy - 4; } if (Key.isDown(40)) { vy = vy + 4; } if (Key.isDown(37)) { vx = vx - 4; } if (Key.isDown(39)) { vx = vx + 4; } if (this._y > 400) { _root.life = _root.life - 1; } if (this._y < 0) { _root.life = _root.life - 1; } if (this._x > 550) { _root.life = _root.life - 1; } if (this._x < 0) { _root.life = _root.life - 1; } if (_root.life <= 0) { _root.life = 0; _root.gotoAndStop("frame 11"); } } onClipEvent (enterFrame) { if (_root.friction <= 0) { _root.gotoAndStop(11); } }
Instance of Symbol 104 MovieClip "enemy3" in Frame 12
onClipEvent (enterFrame) { if (_root.player3.hitTest(_root.enemy3)) { _root.friction = _root.friction - 0.05; _root.enemy3._x = (Math.random() * 200) + 100; _root.enemy3._y = (Math.random() * 300) + 100; _root.score = _root.score + 5; } }
Frame 13
stop();
Instance of Symbol 51 MovieClip in Frame 13
onClipEvent (enterFrame) { if (_root.score <= 200) { _root.gotoAndStop("frame 5"); } if (_root.score > 50) { _root.gotoAndStop("frame 12"); } }
Frame 14
stop();
Frame 15
friction = 0.5; life = 100; stop(); stop();
Instance of Symbol 124 MovieClip "player4" in Frame 15
onClipEvent (load) { vx = 5; vy = 5; } onClipEvent (enterFrame) { vx = vx * _root.friction; vy = vy * _root.friction; this._x = this._x + vx; this._y = this._y + vy; if (Key.isDown(38)) { vy = vy - 4; } if (Key.isDown(40)) { vy = vy + 4; } if (Key.isDown(37)) { vx = vx - 4; } if (Key.isDown(39)) { vx = vx + 4; } if (this._y > 400) { _root.life = _root.life - 1; } if (this._y < 0) { _root.life = _root.life - 1; } if (this._x > 550) { _root.life = _root.life - 1; } if (this._x < 0) { _root.life = _root.life - 1; } if (_root.life <= 0) { _root.life = 0; _root.nextFrame(); } } onClipEvent (enterFrame) { if (_root.friction <= 0) { _root.nextFrame(); } }
Instance of Symbol 131 MovieClip "enemy4" in Frame 15
onClipEvent (enterFrame) { if (_root.player4.hitTest(_root.enemy4)) { _root.friction = _root.friction - 0.05; _root.enemy4._x = (Math.random() * 200) + 100; _root.enemy4._y = (Math.random() * 300) + 100; _root.score = _root.score + 5; } }
Frame 16
stop();
Instance of Symbol 51 MovieClip in Frame 16
onClipEvent (enterFrame) { if (_root.score <= 250) { _root.gotoAndStop("frame 15"); } if (_root.score > 250) { _root.gotoAndStop("frame 15"); } }
Frame 17
stop();
Frame 18
stop();
Symbol 13 Button
on (release) { gotoAndStop (3); }
Symbol 20 Button
on (release) { nextFrame(); }
Symbol 24 Button
on (release) { gotoAndStop (5); }
Symbol 29 Button
on (release) { gotoAndStop (19); }
Symbol 36 Button
on (release) { prevFrame(); }
Symbol 49 MovieClip Frame 30
_root.friction = _root.friction + 0.05; _root.enemy.gotoAndPlay(1);
Symbol 49 MovieClip Frame 31
stop();
Symbol 62 Button
on (release) { gotoAndStop (3); }
Symbol 71 Button
on (release) { _root.nextFrame(); }
Symbol 82 MovieClip Frame 30
_root.friction = _root.friction + 0.05; _root.enemy2.gotoAndPlay(1);
Symbol 82 MovieClip Frame 31
stop();
Symbol 104 MovieClip Frame 30
_root.friction = _root.friction + 0.05; _root.enemy3.gotoAndPlay(1);
Symbol 107 Button
on (release) { nextFrame(); }
Symbol 131 MovieClip Frame 30
_root.friction = _root.friction + 0.05; _root.enemy4.gotoAndPlay(1);
Symbol 138 Button
on (release) { nextFrame(); }
Symbol 144 Button
on (release) { gotoAndStop (7); }
Symbol 151 Button
on (release) { gotoAndStop (3); }

Library Items

Symbol 1 Sound [song1]
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:Timeline
Symbol 6 FontUsed by:7 8 9 16 17 18 21 22 56 57 60 61 67 69
Symbol 7 TextUses:6Used by:Timeline
Symbol 8 TextUses:6Used by:Timeline
Symbol 9 TextUses:6Used by:Timeline
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 ButtonUses:10 11 12Used by:Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:Timeline
Symbol 16 TextUses:6Used by:Timeline
Symbol 17 TextUses:6Used by:20
Symbol 18 TextUses:6Used by:20
Symbol 19 GraphicUsed by:20
Symbol 20 ButtonUses:17 18 19Used by:Timeline
Symbol 21 TextUses:6Used by:24
Symbol 22 TextUses:6Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 ButtonUses:21 22 23Used by:Timeline
Symbol 25 FontUsed by:26 27 32 33 34 39 40 41 42 43 44 65 77 78 79 87 88 89 110 111 112 134 141 142 147 148 149
Symbol 26 TextUses:25Used by:29
Symbol 27 TextUses:25Used by:29
Symbol 28 GraphicUsed by:29
Symbol 29 ButtonUses:26 27 28Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:Timeline
Symbol 32 TextUses:25Used by:Timeline
Symbol 33 TextUses:25Used by:36
Symbol 34 TextUses:25Used by:36
Symbol 35 GraphicUsed by:36
Symbol 36 ButtonUses:33 34 35Used by:Timeline
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:Timeline
Symbol 39 TextUses:25Used by:Timeline
Symbol 40 EditableTextUses:25Used by:Timeline
Symbol 41 EditableTextUses:25Used by:Timeline
Symbol 42 TextUses:25Used by:Timeline
Symbol 43 TextUses:25Used by:Timeline
Symbol 44 EditableTextUses:25Used by:Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:Timeline
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:47 48Used by:Timeline
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 FontUsed by:55
Symbol 55 EditableTextUses:54Used by:Timeline
Symbol 56 TextUses:6Used by:Timeline
Symbol 57 EditableTextUses:6Used by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 ButtonUses:58Used by:Timeline
Symbol 60 TextUses:6Used by:Timeline
Symbol 61 TextUses:6Used by:62
Symbol 62 ButtonUses:61Used by:Timeline
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:Timeline
Symbol 65 TextUses:25Used by:Timeline
Symbol 66 GraphicUsed by:71 107
Symbol 67 TextUses:6Used by:71 107
Symbol 68 GraphicUsed by:71 107
Symbol 69 TextUses:6Used by:71 107
Symbol 70 GraphicUsed by:71 107
Symbol 71 ButtonUses:66 67 68 69 70Used by:Timeline
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:Timeline
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:74 75Used by:Timeline
Symbol 77 EditableTextUses:25Used by:Timeline
Symbol 78 EditableTextUses:25Used by:Timeline
Symbol 79 EditableTextUses:25Used by:Timeline
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:80 81Used by:Timeline
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:Timeline
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:Timeline
Symbol 87 EditableTextUses:25Used by:Timeline
Symbol 88 EditableTextUses:25Used by:Timeline
Symbol 89 EditableTextUses:25Used by:Timeline
Symbol 90 ShapeTweeningUsed by:96
Symbol 91 ShapeTweeningUsed by:96
Symbol 92 ShapeTweeningUsed by:96
Symbol 93 ShapeTweeningUsed by:96
Symbol 94 ShapeTweeningUsed by:96
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:90 91 92 93 94 95Used by:Timeline
Symbol 97 ShapeTweeningUsed by:104
Symbol 98 ShapeTweeningUsed by:104
Symbol 99 ShapeTweeningUsed by:104
Symbol 100 ShapeTweeningUsed by:104
Symbol 101 ShapeTweeningUsed by:104
Symbol 102 ShapeTweeningUsed by:104
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:97 98 99 100 101 102 103Used by:Timeline
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:Timeline
Symbol 107 ButtonUses:66 67 68 69 70Used by:Timeline
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:Timeline
Symbol 110 EditableTextUses:25Used by:Timeline
Symbol 111 EditableTextUses:25Used by:Timeline
Symbol 112 EditableTextUses:25Used by:Timeline
Symbol 113 GraphicUsed by:124
Symbol 114 GraphicUsed by:124
Symbol 115 GraphicUsed by:124
Symbol 116 GraphicUsed by:124
Symbol 117 GraphicUsed by:124
Symbol 118 GraphicUsed by:124
Symbol 119 GraphicUsed by:124
Symbol 120 GraphicUsed by:124
Symbol 121 GraphicUsed by:124
Symbol 122 GraphicUsed by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:113 114 115 116 117 118 119 120 121 122 123Used by:Timeline
Symbol 125 GraphicUsed by:131
Symbol 126 GraphicUsed by:131
Symbol 127 GraphicUsed by:131
Symbol 128 GraphicUsed by:131
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:125 126 127 128 129 130Used by:Timeline
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:Timeline
Symbol 134 TextUses:25Used by:Timeline
Symbol 135 GraphicUsed by:138
Symbol 136 GraphicUsed by:138
Symbol 137 GraphicUsed by:138
Symbol 138 ButtonUses:135 136 137Used by:Timeline
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:Timeline
Symbol 141 TextUses:25Used by:144
Symbol 142 TextUses:25Used by:144
Symbol 143 GraphicUsed by:144
Symbol 144 ButtonUses:141 142 143Used by:Timeline
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:Timeline
Symbol 147 TextUses:25Used by:Timeline
Symbol 148 TextUses:25Used by:151
Symbol 149 TextUses:25Used by:151
Symbol 150 GraphicUsed by:151
Symbol 151 ButtonUses:148 149 150Used by:Timeline

Instance Names

"player"Frame 5Symbol 46 MovieClip
"enemy"Frame 5Symbol 49 MovieClip
"btn_send"Frame 7Symbol 59 Button
"player2"Frame 9Symbol 76 MovieClip
"enemy2"Frame 9Symbol 82 MovieClip
"player3"Frame 12Symbol 96 MovieClip
"enemy3"Frame 12Symbol 104 MovieClip
"player4"Frame 15Symbol 124 MovieClip
"enemy4"Frame 15Symbol 131 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "song1"

Labels

"frame 4"Frame 6
"frame 5"Frame 7
"frame 6"Frame 8
"frame 8"Frame 10
"frame 9"Frame 11
"frame 11"Frame 13
"frame 12"Frame 14
"frame 13"Frame 15
"dude"Frame 15
"frame 15"Frame 17

Dynamic Text Variables

frictionSymbol 40 EditableText""
lifeSymbol 41 EditableText""
scoreSymbol 44 EditableText""
scoreSymbol 55 EditableText""
playernameSymbol 57 EditableText""
frictionSymbol 77 EditableText""
lifeSymbol 78 EditableText""
scoreSymbol 79 EditableText""
frictionSymbol 87 EditableText""
lifeSymbol 88 EditableText""
scoreSymbol 89 EditableText""
frictionSymbol 110 EditableText""
lifeSymbol 111 EditableText""
scoreSymbol 112 EditableText""




http://swfchan.com/11/54702/info.shtml
Created: 21/4 -2019 10:57:39 Last modified: 21/4 -2019 10:57:39 Server time: 16/05 -2024 19:52:40