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

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

bounce.swf

This is the info page for
Flash #4840

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


Text
1000

End

SCORE

00

The
BOUNCE

created by
Brandon 'BBQ' Muncy
&
Bryan 'Monkokio' Singh

Only for Newgrounds.com

The
BOUNCE

Move

Score

Health

BAD

play

play

play

-wieners and milk-

ActionScript [AS1/AS2]

Frame 1
score = 0; health = 100; dead = false; globalsound.getVolume(100); _root.player.removeMovieClip(); _root.hud.removeMovieClip(); i = 100; while (i <= 499) { _root["pickup" + i].removeMovieClip(); i++; } i = 0; while (i <= 100) { _root["star" + i].removeMovieClip(); i++; } i = 500; while (i <= 1000) { _root["baddy" + i].removeMovieClip(); i++; } onEnterFrame = function () { }; stop();
Frame 2
function generatePickups(n, height) { i = 100; while (i <= 499) { _root["pickup" + i].removeMovieClip(); i++; } i = 100; while (i <= (100 + n)) { _root.attachMovie("pickup", "pickup" + i, i); _root["pickup" + i]._x = random(300); _root["pickup" + i]._y = (_root.floor - height) + random(height - 650); i++; } _root.attachMovie("pickup", "pickup" + i, i); _root["pickup" + i]._x = random(300); _root["pickup" + i]._y = (_root.floor - height) - 91; _root["pickup" + i].health = true; } function generateBaddies(n, height) { i = 500; while (i <= (500 + n)) { _root.attachMovie("baddy", "baddy" + i, i); _root["baddy" + i]._y = (_root.floor - height) + random(height - 650); i++; } } function generateStars(n, height) { i = 0; while (i <= 100) { _root.attachMovie("star", "star" + i, i); _root["star" + i]._x = random(300); _root["star" + i]._y = 400 - random(height - 200); i++; } } _quality = "Medium"; time = 2800; stop(); globalsound = new Sound(); Stage.showMenu = false; _root.attachMovie("player", "player", 1000); _root.player._y = 837.3; _root.player._x = 150; _root.attachMovie("title", "title", 2000); _root.attachMovie("hud", "hud", 1999); score = 0; health = 100; dead = false; onEnterFrame = function () { time--; timeShow = int(time * 0.1); if (health <= 0) { dead = true; } if (dead) { player.hurt = true; health = 0; globalsound.setVolume(globalsound.getVolume() - 1); if (globalsound.getVolume() <= 0) { globalsound.getVolume(100); _root.player.removeMovieClip(); _root.hud.removeMovieClip(); i = 100; while (i <= 499) { _root["pickup" + i].removeMovieClip(); i++; } i = 0; while (i <= 100) { _root["star" + i].removeMovieClip(); i++; } i = 500; while (i <= 1000) { _root["baddy" + i].removeMovieClip(); i++; } gotoAndStop (3); } } };
Instance of Symbol 141 MovieClip in Frame 2
onClipEvent (load) { _y = _root.player._y; } onClipEvent (enterFrame) { this._y = (_root.player._y + (_root.player.vSpeed * 8)) - 50; if (_y > (_root.floor - 275)) { _y = (_root.floor - 275); } }
Frame 3
globalsound.setVolume(100); onEnterFrame = function () { globalsound.setVolume(100); };
Symbol 9 MovieClip Frame 12
gotoAndPlay (6);
Symbol 16 MovieClip Frame 7
if (!_root.dead) { _parent._parent.hurt = false; } else { stop(); }
Symbol 27 Button
on (release) { _root.gotoAndStop(1); }
Symbol 28 MovieClip Frame 100
stop();
Symbol 29 MovieClip Frame 107
stop();
Symbol 33 MovieClip [Player] Frame 1
vSpeed = 0; action = "down"; lastTimer = 1; lastVspeed = 0; hurt = false; smileTimer = 0; onEnterFrame = function () { if (action == "down") { vSpeed = vSpeed + 0.5; if (vSpeed > 20) { vSpeed = 20; } if (((_y + vSpeed) > _root.floor) && (vSpeed > 0)) { vSpeed = -vSpeed; action = "up"; upTimer = lastTimer; if (_root.time < 0) { upTimer = upTimer * 1.5; vSpeed = vSpeed * 1.5; } lastTimer = lastTimer + 5; if (lastTimer == 21) { bounceCount = 1; } if (bounceCount >= 1) { _root.generatePickups(bounceCount, (bounceCount * 100) + 665.5); _root.generateBaddies(random(bounceCount) * 0.5, (bounceCount * 100) + 665.5); _root.generateStars(random(bounceCount), (bounceCount * 100) + 665.5); bounceCount++; } } } else if (action == "up") { if (upTimer <= 0) { if (_root.time > 0) { action = "down"; } else { action = "moon"; } } else { upTimer--; } } if (((action != "moon") && (Key.isDown(37))) && ((hSpeed - 1.5) > -10)) { hSpeed = hSpeed - 1.5; } else if (hSpeed < 0) { hSpeed = hSpeed + 1.5; } if (((action != "moon") && (Key.isDown(39))) && ((hSpeed + 1.5) < 10)) { hSpeed = hSpeed + 1.5; } else if (hSpeed > 0) { hSpeed = hSpeed - 1.5; } _x = (_x + hSpeed); _y = (_y + vSpeed); if (_x < 0) { _x = 0; if (hSpeed < 0) { hSpeed = 0; } } if (action == "moon") { _xscale = 100; vSpeed = vSpeed * 0.99; if (_x < 140) { _x = (_x + 0.5); } if (_x > 160) { _x = (_x - 0.5); } } if (_x > 300) { _x = 300; if (hSpeed > 0) { hSpeed = 0; } } if (hSpeed < 0) { _xscale = -100; } else if (hSpeed > 0) { _xscale = 100; } if (action == "moon") { this.sprite.gotoAndStop("moon"); } else if (hurt) { this.sprite.gotoAndStop("hurt"); } else if (smileTimer > 0) { this.sprite.gotoAndStop("smile"); smileTimer--; } else if (vSpeed < 0) { this.sprite.gotoAndStop("up"); } else if (action == "down") { this.sprite.gotoAndStop("down"); } if ((lastVSpeed <= 0) && (vSpeed > 0)) { lastVSpeed = vSpeed; } _root.height = int(_floor - _y); };
Instance of Symbol 32 MovieClip "sprite" in Symbol 33 MovieClip [Player] Frame 1
onClipEvent (enterFrame) { if (_parent.action != "moon") { _parent._rotation = _parent.hSpeed * 3; if (_parent._rotation == 27) { _parent._rotation = 22.5; } else if (_parent._rotation == -27) { _parent._rotation = -22.5; } } }
Symbol 57 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop(_root.health / 5); };
Symbol 67 MovieClip Frame 17
_parent._parent.removeMovieClip();
Symbol 76 MovieClip Frame 17
_parent._parent.removeMovieClip();
Symbol 78 MovieClip [pickup] Frame 1
if (health) { gotoAndStop (2); } stop(); onEnterFrame = function () { if (_root.player.hitTest(this._x, this._y, false)) { _root.score++; _root.player.smileTimer = 20; gotoAndStop (4); } };
Symbol 78 MovieClip [pickup] Frame 2
direction = "left"; onEnterFrame = function () { if (direction == "left") { _x = (_x - 2); if (_x < 10) { direction = "right"; } } else { _x = (_x + 2); if (_x > 290) { direction = "left"; } } if (_root.player.hitTest(this)) { _root.health = _root.health + 5; if (_root.health > 100) { _root.health = 100; } _root.player.smileTimer = 20; gotoAndStop (3); } };
Symbol 78 MovieClip [pickup] Frame 3
onEnterFrame = function () { }; stop();
Instance of Symbol 68 MovieClip in Symbol 78 MovieClip [pickup] Frame 3
onClipEvent (load) { _rotation = random(360); }
Symbol 78 MovieClip [pickup] Frame 4
onEnterFrame = function () { }; stop();
Instance of Symbol 77 MovieClip in Symbol 78 MovieClip [pickup] Frame 4
onClipEvent (load) { _rotation = random(360); }
Symbol 82 MovieClip [star] Frame 1
if (random(30) == 0) { gotoAndStop (2); } stop();
Symbol 102 MovieClip Frame 20
_parent.removeMovieClip();
Symbol 109 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 110 MovieClip [baddy] Frame 1
stop(); direction = random(2); move = false; if (direction == 0) { _x = 0; } else { _x = 300; } onEnterFrame = function () { if (move) { if (direction == 0) { _x = (_x + 3); } else { _x = (_x - 3); } } else if ((_root.player._y - _y) < 500) { move = true; } if (_root.player.hitTest(this._x, this._y, false)) { _root.health = _root.health - 10; _root.player.hurt = true; gotoAndStop (3); } }; if (random(2) == 0) { this.gotoAndStop(2); }
Symbol 110 MovieClip [baddy] Frame 2
onEnterFrame = function () { if (move) { if (direction == 0) { _x = (_x + 3); } else { _x = (_x - 3); } } else if ((_root.player._y - _y) < 500) { move = true; } if (_root.player.hitTest(this._x, this._y, false)) { _root.health = _root.health - 10; _root.player.hurt = true; gotoAndStop (4); } };
Symbol 110 MovieClip [baddy] Frame 3
onEnterFrame = function () { };
Symbol 110 MovieClip [baddy] Frame 4
onEnterFrame = function () { };
Symbol 128 MovieClip [title] Frame 1
timer = 200; stop(); onEnterFrame = function () { if (timer <= 0) { _alpha = (_alpha * 0.95); if (_alpha <= 0) { this.removeMovieClip(); } } else if (timer == 100) { play(); timer--; } else { timer--; } };
Symbol 128 MovieClip [title] Frame 20
stop();
Symbol 134 Button
on (release) { _root.gotoAndStop(2); }
Symbol 139 MovieClip Frame 1
_root.floor = this._y;
Symbol 141 MovieClip Frame 1
_visible = false; Mcamera = new Color(this); parent = new Color(_parent); parent.setTransform(Mcamera.getTransform()); _parent._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width; _parent._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height; _parent._xscale = (Stage.width / this._width) * 100; _parent._yscale = (Stage.height / this._height) * 100; onEnterFrame = function () { parent.setTransform(Mcamera.getTransform()); _parent._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width; _parent._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height; _parent._xscale = (Stage.width / this._width) * 100; _parent._yscale = (Stage.height / this._height) * 100; _root.hud._x = _x - 150; _root.hud._y = _y - 275; _root.title._x = _x - 150; _root.title._y = _y - 275; }; onUnload = function () { myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"}; parent.setTransform(myColorTransform); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; };

Library Items

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

Instance Names

"sprite"Symbol 33 MovieClip [Player] Frame 1Symbol 32 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "13 - Waltz (waltz in blue)"
ExportAssets (56)Timeline Frame 1Symbol 33 as "Player"
ExportAssets (56)Timeline Frame 1Symbol 58 as "hud"
ExportAssets (56)Timeline Frame 1Symbol 78 as "pickup"
ExportAssets (56)Timeline Frame 1Symbol 82 as "star"
ExportAssets (56)Timeline Frame 1Symbol 110 as "baddy"
ExportAssets (56)Timeline Frame 1Symbol 128 as "title"
ExportAssets (56)Timeline Frame 1Symbol 1 as "13 - Waltz (waltz in blue)"
ExportAssets (56)Timeline Frame 2Symbol 1 as "13 - Waltz (waltz in blue)"
ExportAssets (56)Timeline Frame 3Symbol 1 as "13 - Waltz (waltz in blue)"

Labels

"up"Symbol 32 MovieClip Frame 1
"down"Symbol 32 MovieClip Frame 2
"hurt"Symbol 32 MovieClip Frame 3
"moon"Symbol 32 MovieClip Frame 4
"smile"Symbol 32 MovieClip Frame 5

Dynamic Text Variables

_root.scoreSymbol 21 EditableText"1000"
_root.scoreSymbol 36 EditableText"00"




http://swfchan.com/1/4840/info.shtml
Created: 16/6 -2019 11:46:32 Last modified: 16/6 -2019 11:46:32 Server time: 22/12 -2024 22:04:21