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/67113188?noj=FRM67113188-22DC" width="1" height="1"></div>

221520_bounce.swf

This is the info page for
Flash #6472

(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

ActionScript [AS1/AS2]

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(); 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++; } _root.hud.removeMovieClip(); gotoAndStop (3); } } };
Instance of Symbol 134 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);
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 58 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop(_root.health / 5); };
Symbol 68 MovieClip Frame 17
_parent.removeMovieClip();
Symbol 76 MovieClip Frame 17
_parent.removeMovieClip();
Symbol 77 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 77 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 77 MovieClip [pickup] Frame 3
onEnterFrame = function () { }; stop();
Symbol 77 MovieClip [pickup] Frame 4
onEnterFrame = function () { }; stop();
Symbol 81 MovieClip [star] Frame 1
if (random(30) == 0) { gotoAndStop (2); } stop();
Symbol 101 MovieClip Frame 20
_parent.removeMovieClip();
Symbol 108 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 109 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 109 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 109 MovieClip [baddy] Frame 3
onEnterFrame = function () { };
Symbol 109 MovieClip [baddy] Frame 4
onEnterFrame = function () { };
Symbol 127 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 127 MovieClip [title] Frame 20
stop();
Symbol 132 MovieClip Frame 1
_root.floor = this._y;
Symbol 134 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 111 117 120 121 122 125
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 136
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:59
Symbol 36 EditableTextUses:34Used by:59
Symbol 37 GraphicUsed by:58
Symbol 38 GraphicUsed by:58
Symbol 39 GraphicUsed by:58
Symbol 40 GraphicUsed by:58
Symbol 41 GraphicUsed by:58
Symbol 42 GraphicUsed by:58
Symbol 43 GraphicUsed by:58
Symbol 44 GraphicUsed by:58
Symbol 45 GraphicUsed by:58
Symbol 46 GraphicUsed by:58
Symbol 47 GraphicUsed by:58
Symbol 48 GraphicUsed by:58
Symbol 49 GraphicUsed by:58
Symbol 50 GraphicUsed by:58
Symbol 51 GraphicUsed by:58
Symbol 52 GraphicUsed by:58
Symbol 53 GraphicUsed by:58
Symbol 54 GraphicUsed by:58
Symbol 55 GraphicUsed by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57Used by:59
Symbol 59 MovieClip [hud]Uses:35 36 58
Symbol 60 GraphicUsed by:77
Symbol 61 GraphicUsed by:77
Symbol 62 GraphicUsed by:68
Symbol 63 GraphicUsed by:68
Symbol 64 GraphicUsed by:68
Symbol 65 GraphicUsed by:68
Symbol 66 GraphicUsed by:68
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:62 63 64 65 66 67Used by:77
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 MovieClip [pickup]Uses:60 61 68 76
Symbol 78 GraphicUsed by:81
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:81
Symbol 81 MovieClip [star]Uses:78 80
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:109
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:87
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:84 85 86Used by:109
Symbol 88 GraphicUsed by:101
Symbol 89 GraphicUsed by:101
Symbol 90 GraphicUsed by:101
Symbol 91 GraphicUsed by:101
Symbol 92 GraphicUsed by:101
Symbol 93 GraphicUsed by:101
Symbol 94 GraphicUsed by:101
Symbol 95 GraphicUsed by:101
Symbol 96 GraphicUsed by:101
Symbol 97 GraphicUsed by:101
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:88 89 90 91 92 93 94 95 96 97 98 99 100Used by:109
Symbol 102 GraphicUsed by:108
Symbol 103 GraphicUsed by:108
Symbol 104 GraphicUsed by:108
Symbol 105 GraphicUsed by:108
Symbol 106 GraphicUsed by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:102 103 104 105 106 107Used by:109
Symbol 109 MovieClip [baddy]Uses:83 87 101 108
Symbol 110 GraphicUsed by:118
Symbol 111 TextUses:20Used by:118
Symbol 112 FontUsed by:114
Symbol 113 FontUsed by:114
Symbol 114 TextUses:112 113Used by:118
Symbol 115 FontUsed by:116
Symbol 116 TextUses:115Used by:118
Symbol 117 TextUses:20Used by:118
Symbol 118 MovieClipUses:110 111 114 116 117Used by:127
Symbol 119 GraphicUsed by:126
Symbol 120 TextUses:20Used by:126
Symbol 121 TextUses:20Used by:126
Symbol 122 TextUses:20Used by:126
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:126
Symbol 125 TextUses:20Used by:126
Symbol 126 MovieClipUses:119 120 121 122 124 125Used by:127
Symbol 127 MovieClip [title]Uses:118 126
Symbol 128 GraphicUsed by:Timeline
Symbol 129 GraphicUsed by:Timeline
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132
Symbol 132 MovieClipUses:131Used by:Timeline
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:Timeline
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135 27Used 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 59 as "hud"
ExportAssets (56)Timeline Frame 1Symbol 77 as "pickup"
ExportAssets (56)Timeline Frame 1Symbol 81 as "star"
ExportAssets (56)Timeline Frame 1Symbol 109 as "baddy"
ExportAssets (56)Timeline Frame 1Symbol 127 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/2/6472/info.shtml
Created: 14/6 -2019 02:08:29 Last modified: 14/6 -2019 02:08:29 Server time: 22/12 -2024 05:43:54