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

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

ratboygenius_the_game.swf

This is the info page for
Flash #106929

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


Text
ratboijeanyusgame

arrow keeys to move
control to attack
spacebar to shoot gun

DEAD

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop(); score.text = 0; health.text = 100;
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { if (_root.health.text <= 0) { _root.dead = true; } if (!_root.dead) { _root._x = 0; _root.health.text = _root.health.text - 5; _root.char._x = _root.char.startX; _root.char._y = _root.char.startY + (Stage.height / 2); _root.char.speed = 0; } } }
Instance of Symbol 54 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotgun = true; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 57 MovieClip in Frame 2
onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.score.text++; unloadMovie (this); } }
Instance of Symbol 64 MovieClip in Frame 2
onClipEvent (load) { enemyspeed = 2; enemystepsright = 0; enemystepsleft = 0; enemydir = "left"; } onClipEvent (enterFrame) { if (this.hitTest(_root.char.attackpoint)) { enemyspeed = 0; enemystepsright = 0; enemystepsleft = 0; dead = true; this.gotoAndStop("dead"); } if (this.hitTest(_root.bulleter)) { enemyspeed = 0; enemystepsright = 0; enemystepsleft = 0; dead = true; this.gotoAndStop("dead"); } if (this.hitTest(_root.char) && (!dead)) { _root.char.jumping = false; _root.dead = true; } if (!dead) { if (enemydir == "right") { enemystepsright = enemystepsright + 1; this._xscale = -100; this._x = this._x + enemyspeed; } else if (enemydir == "left") { enemystepsleft = enemystepsleft + 1; this._xscale = 100; this._x = this._x - enemyspeed; } if (enemystepsright == 100) { enemystepsright = 0; enemydir = "left"; } else if (enemystepsleft == 100) { enemystepsleft = 0; enemydir = "right"; } } }
Instance of Symbol 74 MovieClip "char" in Frame 2
onClipEvent (load) { jumping = false; speed = 0; healthX = _root.health._x; scoreX = _root.score._x; Xpos = this._x; Ypos = this._y; maxmove = 15; _root.maxshoottime = 100; } onClipEvent (enterFrame) { _x = (Xpos - _root._x); _root.score._x = scoreX - _root._x; _root.health._x = healthX - _root._x; if ((!_root.ground.hitTest(this._x, this._y, true)) && (!jumping)) { this._y = this._y + 6; } if (!_root.shooting) { _root.timer = 0; _root.mvsp = _xscale / 20; } if (_root.dead) { this.gotoAndStop("dead"); } else { speed = speed * 0.85; if ((dir == "right") && (!_root.leftblock.hitTest(this._x + 20, this._y, true))) { _root.health._x = _root.health._x + speed; _root.score._x = _root.score._x + speed; this._x = this._x + speed; _root._x = _root._x - speed; } if (speed > 0) { dir = "right"; } else if (speed < 0) { dir = "left"; } if ((dir == "left") && (!_root.rightblock.hitTest(this._x - 20, this._y, true))) { _root.health._x = _root.health._x + speed; _root.score._x = _root.score._x + speed; this._x = this._x + speed; _root._x = _root._x - speed; } if (Key.isDown(37)) { if (speed > (-maxmove)) { speed--; } this.gotoAndStop("run"); this._xscale = -100; } else if (Key.isDown(39)) { if (speed < maxmove) { speed++; } this._xscale = 100; this.gotoAndStop("run"); } else if (Key.isDown(17)) { this.gotoAndStop("attack"); attacking = true; speed = 0; } else if (Key.isDown(32)) { if ((_root.gotgun == true) && (!_root.shooting)) { _root.attachMovie("bullet", "bulleter", 1, {_x:_root.char._x, _y:_root.char._y - 25}); _root.shooting = true; with (_root.bulleter) { onEnterFrame = function () { if (_root.timer > _root.maxshoottime) { _root.shooting = false; unloadMovie(this); } _root.timer++; _x = _x + _root.mvsp; }; } attacking = true; speed = 0; this.gotoAndStop("shoot"); } } else if (((speed < 1) && (speed > -1)) && (!attacking)) { speed = 0; this.gotoAndStop("idle"); } if (Key.isDown(38) && (!jumping)) { jumping = true; } if (jumping) { this.gotoAndStop("jump"); this._y = this._y - jump; jump = jump - 0.5; if (jump < 0) { falling = true; } if (jump < -15) { jump = -15; } } if (_root.ground.hitTest(this._x, this._y, true) && (falling)) { jump = 12; jumping = false; falling = false; } } } onClipEvent (keyUp) { if (Key.getCode() == 17) { attacking = false; } }
Symbol 20 MovieClip Frame 40
stop();
Symbol 34 Button
on (press) { tellTarget (_root) { nextFrame(); }; }
Symbol 35 Button
on (press) { gotoAndStop ("end"); _root.play(); }
Instance of Symbol 10 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) { _root.stop(); PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop("lastframe"); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay("loaded"); } }
Symbol 36 MovieClip Frame 101
play();
Symbol 36 MovieClip Frame 165
stop();
Symbol 37 MovieClip Frame 1
function startAd(ngad_url) { trace("opening " + ngad_url); System.security.allowDomain("70.87.128.99"); System.security.allowInsecureDomain("70.87.128.99"); System.security.allowDomain("ads.shizmoo.com"); System.security.allowInsecureDomain("ads.shizmoo.com"); System.security.allowDomain("www.cpmstar.com"); System.security.allowInsecureDomain("www.cpmstar.com"); System.security.allowDomain("server.cpmstar.com"); System.security.allowInsecureDomain("server.cpmstar.com"); var _local1 = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!"); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), "GET"); } }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 4
stop();
Symbol 74 MovieClip Frame 5
stop();
Symbol 74 MovieClip Frame 6
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [bullet]Uses:1
Symbol 3 GraphicUsed by:Timeline
Symbol 4 GraphicUsed by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:4 5Used by:36
Symbol 7 GraphicUsed by:36
Symbol 8 GraphicUsed by:36
Symbol 9 GraphicUsed by:36
Symbol 10 MovieClipUsed by:36
Symbol 11 GraphicUsed by:36
Symbol 12 GraphicUsed by:20
Symbol 13 GraphicUsed by:20
Symbol 14 GraphicUsed by:20
Symbol 15 GraphicUsed by:20
Symbol 16 GraphicUsed by:20
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:12 13 14 15 16 17 18 19Used by:36
Symbol 21 ShapeTweeningUsed by:36
Symbol 22 ShapeTweeningUsed by:36
Symbol 23 GraphicUsed by:36
Symbol 24 GraphicUsed by:36
Symbol 25 GraphicUsed by:36
Symbol 26 GraphicUsed by:34 35
Symbol 27 GraphicUsed by:34 35 36
Symbol 28 GraphicUsed by:34 35
Symbol 29 GraphicUsed by:34 35 36
Symbol 30 GraphicUsed by:34 35 36
Symbol 31 GraphicUsed by:33 34 35
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:31 32Used by:34 35 36
Symbol 34 ButtonUses:26 27 28 29 30 33 31Used by:36
Symbol 35 ButtonUses:26 27 28 29 30 33 31Used by:36
Symbol 36 MovieClipUses:6 7 8 9 10 11 20 21 22 23 24 25 34 35 30 27 33 29Used by:37
Symbol 37 MovieClipUses:36Used by:Timeline
Symbol 38 FontUsed by:39 63
Symbol 39 TextUses:38Used by:Timeline
Symbol 40 FontUsed by:41
Symbol 41 TextUses:40Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:Timeline
Symbol 44 BitmapUsed by:45 47 58
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClipUses:45Used by:Timeline
Symbol 47 GraphicUses:44Used by:48
Symbol 48 MovieClipUses:47Used by:Timeline
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClipUses:50Used by:Timeline
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClipUses:53Used by:74  Timeline
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:Timeline
Symbol 58 GraphicUses:44Used by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 BitmapUsed by:61 62
Symbol 61 GraphicUses:60Used by:64
Symbol 62 GraphicUses:60Used by:64
Symbol 63 TextUses:38Used by:64
Symbol 64 MovieClipUses:61 62 63Used by:Timeline
Symbol 65 FontUsed by:66 75
Symbol 66 EditableTextUses:65Used by:Timeline
Symbol 67 BitmapUsed by:68 69 70 72 73
Symbol 68 GraphicUses:67Used by:74
Symbol 69 GraphicUses:67Used by:74
Symbol 70 GraphicUses:67Used by:74
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71 67Used by:74
Symbol 73 GraphicUses:67Used by:74
Symbol 74 MovieClipUses:68 69 70 72 73 54Used by:Timeline
Symbol 75 EditableTextUses:65Used by:Timeline
Symbol 76 SoundUsed by:Timeline

Instance Names

"leftblock"Frame 2Symbol 46 MovieClip
"rightblock"Frame 2Symbol 48 MovieClip
"ground"Frame 2Symbol 59 MovieClip
"health"Frame 2Symbol 66 EditableText
"char"Frame 2Symbol 74 MovieClip
"score"Frame 2Symbol 75 EditableText

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "bullet"

Labels

"loading"Symbol 36 MovieClip Frame 1
"loaded"Symbol 36 MovieClip Frame 101
"lastframe"Symbol 36 MovieClip Frame 165
"end"Symbol 36 MovieClip Frame 166
"walk"Symbol 64 MovieClip Frame 1
"dead"Symbol 64 MovieClip Frame 2
"idle"Symbol 74 MovieClip Frame 1
"run"Symbol 74 MovieClip Frame 2
"jump"Symbol 74 MovieClip Frame 3
"attack"Symbol 74 MovieClip Frame 4
"dead"Symbol 74 MovieClip Frame 5
"shoot"Symbol 74 MovieClip Frame 6




http://swfchan.com/22/106929/info.shtml
Created: 16/3 -2019 18:26:09 Last modified: 16/3 -2019 18:26:09 Server time: 12/05 -2024 05:51:11