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

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

Megaman X Game Engine.swf

This is the info page for
Flash #59606

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


Text
LOADING MEGAMAN X GAME ENGINE

PLEASE REMEMBER TO VISIT MY WEBSITE,
MEGAFLASH DESIGNS,
AT HTTP://TICE.US/FLASH/

MEGAMAN X GAME ENGINE CODING AND FLASH BY SCHYFIS
MEGAMAN COPYRIGHT CAPCOM

VERSION 0.80

MFD

MFD

MEGAFLASH
DESIGNS

PLEASE REMEMBER TO VISIT MY WEBSITE,
MEGAFLASH DESIGNS,
AT HTTP://TICE.US/FLASH/

MEGAMAN X GAME ENGINE CODING AND FLASH BY SCHYFIS
MEGAMAN COPYRIGHT CAPCOM

PLAY

PLAY

Keys:
SHOOT, S
MOVE, LEFT/RIGHT ARROWS
JUMP, C
DASH, NOT AVAILABLE YET

PLEASE NOTE THAT THERE ARE NO ENEMIES YET, SO
DON'T WAIT FOR ANY TO SHOW UP!

BUG FIXES:
0.60 - NO MORE "SLIDING" UP WALLS
- JUMP HEIGHT FIXED
- ROOM SIZE LARGER!
0.80 - GUARD RAIL TILES ADDED
- WALL CLIMB BUG FIXED (only one of many)
- BETTER CHARGE ANIMATION
- BETTER CHARGED SHOT SPRITE
-ADDED LADDERS (still kinda buggy) & LADDER ANIM

ActionScript [AS1/AS2]

Frame 1
loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); loadedkbytes = Math.ceil(loadedbytes / 1000); totalkbytes = Math.ceil(totalbytes / 1000); if (loadedbytes == totalbytes) { gotoAndStop (3); } _root.frame = int(loadedbytes / (totalbytes / 100));
Frame 2
gotoAndPlay (1);
Frame 4
function buildMap(map) { _root.attachMovie("empty", "tiles", ++d); game.clip = _root.tiles; var _local7 = map[0].length; var _local8 = map.length; var _local5 = 0; while (_local5 < _local8) { var _local4 = 0; while (_local4 < _local7) { var _local3 = (("t_" + _local5) + "_") + _local4; game[_local3] = new game["Tile" + map[_local5][_local4]](); game.clip.attachMovie("tile", _local3, (_local5 * 100) + (_local4 * 2)); game.clip[_local3]._x = _local4 * game.tileW; game.clip[_local3]._y = _local5 * game.tileH; game.clip[_local3].j = _local4; game.clip[_local3].i = _local5; game.clip[_local3].gotoAndStop(game[_local3].frame); game.clip[_local3].onEnterFrame = function () { if ((((_root.grid_column >= (this.j + _root.scrolladda)) or (_root.grid_column <= (this.j - _root.scrolladdb))) or (_root.grid_row >= (this.i + 7))) or (_root.grid_row <= (this.i - 7))) { this._visible = false; } else { this._visible = true; } }; _local4++; } _local5++; } } _root._xscale = 200; _root._yscale = 200; _root._x = _root._x - 100; _root._y = _root._y - 100; _root.goleft = false; _root.goright = false; walkwaitdone = true; scrolladda = 4; scrolladdb = 4; d = 100; g = 240000 /* 0x03A980 */; xvar = 175; walkwait = 0; _root.chargedelay = 50; shooting = false; shold = false; e = 80000 /* 0x013880 */; r = "1"; right = true; alreadyshot = true; dashing = false; onEnterFrame = function () { gamemapend = (30 * _root.gamearea[1].length) - 1; if (!Key.isDown(83)) { alreadyshot = false; } if ((!Key.isDown(83)) and (chargedelay <= 40)) { shold = false; alreadyshot = false; _root.createEmptyMovieClip("shot" + e, e); if ((_root.chargedelay <= 40) and (_root.chargedelay >= 1)) { _root["shot" + e].attachMovie("mdshot", "q", 100000); } if (_root.chargedelay <= 0) { _root["shot" + e].attachMovie("lgshot", "q", 100000); } _root["shot" + e]._x = _root.ball._x; _root["shot" + e]._y = _root.ball._y; if (_root.left == true) { _root["shot" + e]._xscale = -100; _root["shot" + e].xvel = -7; } if (_root.right == true) { _root["shot" + e]._xscale = 100; _root["shot" + e].xvel = 7; } _root["shot" + e].onEnterFrame = function () { this._x = this._x + this.xvel; if ((this._x >= (_root.gamemapend + 200)) or (this._x <= 0)) { removeMovieClip(this); } }; e++; _root.shooting = true; ball.gotoAndStop("shooting"); chargedelay = 50; } if (Key.isDown(83) and (alreadyshot == false)) { _root.createEmptyMovieClip("shot" + e, e); _root["shot" + e].attachMovie("regshot", "q", 100000); _root["shot" + e]._x = _root.ball._x; _root["shot" + e]._y = _root.ball._y; if (_root.left == true) { _root["shot" + e]._xscale = -100; _root["shot" + e].xvel = -7; } if (_root.right == true) { _root["shot" + e]._xscale = 100; _root["shot" + e].xvel = 7; } _root["shot" + e].onEnterFrame = function () { this._x = this._x + this.xvel; if ((this._x >= (_root.gamemapend + 200)) or (this._x <= 0)) { removeMovieClip(this); } }; e++; alreadyshot = true; _root.shooting = true; if (ball._currentframe != "walkshoot") { ball.gotoAndStop("shooting"); } else { _root.framed = false; _root.walkwait = 10; _root.walkwaitdone = false; } } if ((!Key.isDown(83)) and (shold == true)) { } if ((!Key.isDown(83)) and (alreadyshot == true)) { alreadyshot = false; } if (((250 + (ball._y * -2)) <= 0) and ((250 + (ball._y * -2)) >= -630)) { _root._y = 250 + (ball._y * -2); } _root.targetx = _root.ball._x; _root.targety = _root.ball._y; if ((Key.isDown(37) and ball.upleft) and (!ball.lclimb)) { if ((((!ball.jump) and (!ball.falling)) and (!ball.jumping)) and (!ball.ladderclimb)) { walking = true; if (((!Key.isDown(83)) and (walkwaitdone == true)) and (!shooting)) { ball.gotoAndStop("walking"); } else { walkwaitdone = false; ball.gotoAndStop("walkshoot"); } } goleft = true; } else { goleft = false; } if ((Key.isDown(39) and ball.upright) and (!ball.rclimb)) { if ((((!ball.jump) and (!ball.falling)) and (!ball.jumping)) and (!ball.ladderclimb)) { ball.walking = true; if (((!Key.isDown(83)) and (walkwaitdone == true)) and (!shooting)) { ball.gotoAndStop("walking"); } else { walkwaitdone = false; ball.gotoAndStop("walkshoot"); } } goright = true; } else { goright = false; } xvar = xvar + ball.xjump; if (ball._x <= 130) { scrolladdb = 9; } else { scrolladdb = 6; } if (ball._x >= gamemapend) { scrolladda = 9; } else { scrolladda = 6; } if ((ball._x >= 130) and (ball._x <= gamemapend)) { _root._x = _root._x - (ball.xjump * 2); } ball._x = xvar; if ((goleft == true) and (!ball.ladderclimb)) { if ((_root.xvar >= 130) and (_root.xvar <= gamemapend)) { _root._x = _root._x + _root.movespeed; } _root.xvar = _root.xvar - 2.5; } if ((goright == true) and (!ball.ladderclimb)) { if ((_root.xvar >= 130) and (_root.xvar <= gamemapend)) { _root._x = _root._x + (-_root.movespeed); } _root.xvar = _root.xvar + 2.5; } }; charging = false; charge_effect = false; _root.twidth = 30; _root.theight = 30; _root.grid_column = 0; _root.grid_row = 0; gamearea = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 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, 1], [1, 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, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 6, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 5, 0, 0, 7, 5, 1, 1, 5, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 5, 5, 1], [1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 5, 0, 5, 0, 0, 7, 5, 1, 1, 5, 0, 5, 0, 0, 2, 8, 9, 9, 10, 6, 0, 0, 2, 5, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 5, 0, 5, 0, 0, 0, 5, 0, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 5, 5, 5, 5, 5, 7, 0, 0, 5, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 6, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 7, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 7, 5, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 7, 5, 1, 1, 5, 2, 0, 0, 0, 0, 2, 8, 9, 9, 9, 9, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8, 9, 9, 9, 9, 9, 9, 1], [1, 0, 7, 5, 1, 1, 1, 5, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 7, 5, 1, 1, 1, 5, 0, 0, 0, 0, 5, 1, 5, 1, 5, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 7, 5, 1, 1, 1, 5, 0, 0, 0, 0, 5, 1, 5, 1, 5, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 7, 5, 1, 1, 1, 5, 0, 0, 0, 0, 5, 1, 5, 1, 5, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 5, 1, 1, 1, 5, 2, 2, 2, 2, 5, 1, 5, 1, 5, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:_root.twidth, tileH:_root.theight}; game.Tile0 = function () { }; game.Tile0.prototype.walkable = true; game.Tile0.prototype.frame = 2; game.Tile0.prototype.ladder = false; game.Tile1 = function () { }; game.Tile1.prototype.walkable = false; game.Tile1.prototype.frame = 1; game.Tile1.prototype.ladder = false; game.Tile2 = function () { }; game.Tile2.prototype.walkable = false; game.Tile2.prototype.frame = 3; game.Tile2.prototype.ladder = false; game.Tile5 = function () { }; game.Tile5.prototype.walkable = false; game.Tile5.prototype.frame = 5; game.Tile5.prototype.ladder = false; game.Tile6 = function () { }; game.Tile6.prototype.frame = 6; game.Tile6.prototype.walkable = "tophalf"; game.Tile6.prototype.ladder = true; game.Tile7 = function () { }; game.Tile7.prototype.frame = 7; game.Tile7.prototype.walkable = true; game.Tile7.prototype.ladder = true; game.Tile8 = function () { }; game.Tile8.prototype.frame = 8; game.Tile8.prototype.walkable = false; game.Tile8.prototype.ladder = false; game.Tile9 = function () { }; game.Tile9.prototype.frame = 9; game.Tile9.prototype.walkable = false; game.Tile9.prototype.ladder = false; game.Tile10 = function () { }; game.Tile10.prototype.frame = 10; game.Tile10.prototype.walkable = false; game.Tile10.prototype.ladder = false; _root.charging = false; chargfunc = function () { var _local3 = new Array(); _root.adepth = 91000000 /* 0x56C8CC0 */; numswitches = 5; ina = 8645680 /* 0x83EC30 */; na = 40000000 /* 0x2625A00 */; newmc = "atswitch"; ina = 0; while (ina < numswitches) { _local3.push([newmc + ina]); this.attachMovie("atswitch", [newmc + ina], na); this[newmc + ina]._x = _root.ball._x + ((random(10) + 50) * Math.sin((Math.PI/180) * ((na * 360) / numswitches))); this[newmc + ina]._y = _root.ball._y + ((random(10) + 50) * Math.cos((Math.PI/180) * ((na * 360) / numswitches))); this[newmc + ina].num = na; this[newmc + ina]._alpha = 10; _root.adepth++; na++; if (ina == numswitches) { _root.st = true; gotoAndPlay (8); } ina++; } }; this.onEnterframe = function () { if (_root.charging == false) { ina = ina; while (ina > 0) { removeMovieClip(switchList[newmc + ina]); ina--; } } }; buildMap(gamearea); getcorners = function (x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / _root.theight); ob.upY = Math.floor((y - ob.height) / _root.theight); ob.leftX = Math.floor((x - ob.width) / _root.twidth); ob.rightX = Math.floor(((x + ob.width) - 1) / _root.twidth); ob.upleft = _root.game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = _root.game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = _root.game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = _root.game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; }; stop();
Instance of Symbol 118 MovieClip "ball" in Frame 4
onClipEvent (load) { ladderclimb = false; _root.movespeed = 5; _root.standing = false; falling = true; xjump = 0; chold = false; wj = false; _root.force = 8; jump = false; walking = false; jumping = false; this.swapDepths(50000); i = 1; lclimb = false; rclimb = false; _root.collision = false; _root.scrolling = false; } onClipEvent (enterFrame) { if (Key.isDown(39) and (xjump >= 1)) { xjump = 0; } if (Key.isDown(37) and (xjump <= -1)) { xjump = 0; } if ((!upleft) and (!upright)) { jump = false; xjump = 0; lclimb = false; rclimb = false; } if (wj == true) { this.gotoAndStop("walljump"); } if ((_root.landing == true) and (this._currentframe != "landing")) { _root.landing = false; this.gotoAndStop("standing"); standing = true; walking = false; jump = false; } _root.grid_column = Math.floor(this._x / 30); _root.grid_row = Math.floor(this._y / 30); this.downY = Math.floor(((this._y + this._height) - 17) / _root.theight); this.upY = Math.floor(((this._y - this._height) + 20) / _root.theight); this.leftX = Math.floor(((this._x - this._width) + 10) / _root.twidth); this.rightX = Math.floor(((this._x + this._width) - 10) / _root.twidth); this.centerX = Math.floor(this._x / _root.twidth); this.centerY = Math.floor(this._y / _root.theight); this.upleft = _root.game[(("t_" + this.upY) + "_") + this.leftX].walkable; this.downleft = _root.game[(("t_" + this.downY) + "_") + this.leftX].walkable; this.upright = _root.game[(("t_" + this.upY) + "_") + this.rightX].walkable; this.upcenter = _root.game[(("t_" + this.upY) + "_") + this.centerX].walkable; this.downright = _root.game[(("t_" + this.downY) + "_") + this.rightX].walkable; this.downcenter = _root.game[(("t_" + this.downY) + "_") + this.centerX].walkable; this.rightcenter = _root.game[(("t_" + this.centerY) + "_") + this.rightX].walkable; this.leftcenter = _root.game[(("t_" + this.centerY) + "_") + this.leftX].walkable; this.downladder = _root.game[(("t_" + this.downY) + "_") + this.centerX].ladder; this.upladder = _root.game[(("t_" + this.upY) + "_") + this.centerX].ladder; this.centerladder = _root.game[(("t_" + this.centerY) + "_") + this.centerX].ladder; if (downleft == "tophalf") { downleft = false; } if (downcenter == "tophalf") { downcenter = false; } if (downright == "tophalf") { downright = false; } if (Key.isDown(40) and (downladder == true)) { ladderclimb = true; } if (Key.isDown(38) and (upladder == true)) { ladderclimb = true; } if (ladderclimb == true) { if ((Key.isDown(38) and centerladder) or (Key.isDown(38) and downladder)) { this._y = this._y - 5; } if ((Key.isDown(40) and centerladder) or (Key.isDown(40) and downladder)) { this._y = this._y + 5; } _root.force = 0; } if (((downladder == false) and (upladder == false)) or (downcenter == false)) { ladderclimb = false; } if (ladderclimb == true) { this.gotoAndStop("ladderclimb"); standing = false; jump = false; lclimb = false; rclimb = false; } if ((downcenter and (!jump)) and (!ladderclimb)) { _root.force = 8; } if (((_root.charging == true) and (_root.chargedelay >= 1)) and (_root.chargedelay <= 40)) { colorfixed = false; var trans = {ra:random(40) + 60, rb:70, ga:random(40) + 60, gb:30, ba:random(40) + 60, bb:100, aa:100, ab:0}; new Color(this).setTransform(trans); } if ((_root.charging == true) and (_root.chargedelay <= 0)) { colorfixed = false; var trans = {ra:random(40) + 60, rb:100, ga:random(40) + 60, gb:100, ba:50 + random(50), bb:0, aa:100, ab:0}; new Color(this).setTransform(trans); } if ((!colorfixed) and (_root.charging == false)) { colorfixed = true; var trans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; new Color(this).setTransform(trans); } if (Key.isDown(83)) { _root.chargedelay--; } if (Key.isDown(83) and (_root.chargedelay <= 40)) { _root.charging = true; } if (!Key.isDown(83)) { _root.charging = false; } if ((_root.charging == true) and (_root.charge_effect == false)) { _root.chargfunc(); _root.charge_effect = true; } if (((!_root.charging) == true) and (_root.charge_effect == true)) { _root.charge_effect = false; } if (jump == false) { xjump = 0; _root.antiforce = 0; } if (!Key.isDown(67)) { chold = false; _root.antiforce = 0; jump = false; } if ((lclimb or rclimb) or ladderclimb) { falling = false; } if ((((Key.isDown(67) and (jump == false)) and (chold == false)) and (!falling)) or ((ladderclimb and Key.isDown(67)) and (chold == false))) { ladderclimb = false; if (((!downleft) or (!downright)) or (!downcenter)) { if (((!rclimb) and (!lclimb)) and (!falling)) { this.gotoAndStop("jumping"); } jumping = true; jump = true; chold = true; _root.antiforce = 12; xjump = 0; } if (lclimb or rclimb) { jumping = true; jump = true; chold = true; _root.antiforce = 12; this.gotoAndStop("walljump"); wj = true; } else { wj = false; } if (lclimb) { xjump = 5; } if (rclimb) { xjump = -5; } } if ((falling == true) and (_root.antiforce <= 0)) { } if ((_root.antiforce >= -8) and (jump == true)) { if (xjump >= 1) { xjump--; } if (xjump <= -1) { xjump++; } } else { xjump = 0; jump = false; } if (_root.antiforce <= 0) { wj = false; } if (((_root.antiforce <= 0) and (lclimb == true)) or ((_root.antiforce <= 0) and (rclimb == true))) { jump = false; } if (jump == true) { this._y = this._y - (_root.antiforce--); this._x = this._x + xjump; } if ((((jump == false) and (lclimb == false)) and (rclimb == false)) and downcenter) { this._y = this._y + _root.force; } if (downright and lclimb) { lclimb = false; standing = true; } if (downleft and rclimb) { rclimb = false; standing = true; } if (((upright and downright) and Key.isDown(37)) and upcenter) { if (((!downleft) or (!upleft)) or (!leftcenter)) { if (downcenter == true) { this._y = this._y + 3; if (!wj) { lclimb = true; _root.antiforce = 0; this.gotoAndStop("climbing"); } else { lclimb = false; } } else { lclimb = false; } } else { lclimb = false; } } else { lclimb = false; } if (((upleft and downleft) and Key.isDown(39)) and upcenter) { if (((!downright) or (!upright)) or (!rightcenter)) { if (downcenter == true) { this._y = this._y + 3; if (!wj) { _root.antiforce = 0; rclimb = true; this.gotoAndStop("climbing"); } else { rclimb = false; } } else { rclimb = false; } } else { rclimb = false; } } else { rclimb = false; } if (((((downcenter and (!jump)) and (!lclimb)) and (!rclimb)) and (!ladderclimb)) and (antiforce <= 0)) { jumping = false; falling = true; this.gotoAndStop("falling"); } if (!jump) { jumping = false; } if (!downcenter) { if ((!lclimb) and (!rclimb)) { _root.force = 0; if (falling == true) { falling = false; if ((rclimb == false) and (lclimb == false)) { _root.landing = true; this.gotoAndStop("landing"); } } } } else if (!jump) { _root.force = 8; } if (Key.isDown(37)) { if ((!lclimb) and (!rclimb)) { _root.left = true; _root.right = false; } if (lclimb) { _root.right = true; _root.left = false; } this._xscale = -100; } if (Key.isDown(39)) { if ((!lclimb) and (!rclimb)) { _root.left = false; _root.right = true; } if (rclimb) { _root.right = false; _root.left = true; } this._xscale = 100; } if ((!Key.isDown(39)) and (!Key.isDown(37))) { walking = false; } if ((((!Key.isDown(39)) and (!Key.isDown(37))) and (_root.shooting == false)) and (!ladderclimb)) { if ((!jump) and (!downcenter)) { if (((!lclimb) and (!rclimb)) and (!_root.landing)) { if (((!walking) and (!jumping)) and (!falling)) { _root.standing = true; if (_root.charging == false) { this.gotoAndStop("standing"); } else { this.gotoAndStop("shootstand"); } } else { _root.standing = false; } } else { _root.standing = false; } } else { _root.standing = false; } } else { _root.standing = false; } zzz = this._currentframe; if (_root.standing == true) { jumping = false; if (_root.charging == false) { this.gotoAndStop("standing"); } else { this.gotoAndStop("shootstand"); } } }
Instance of Symbol 120 MovieClip in Frame 4
onClipEvent (load) { this.swapDepths(500000); this._xscale = 50; this._yscale = 50; _root.alphaset = 50; } onClipEvent (enterFrame) { this._x = ((-_root._x) / 2) + 20; this._y = ((-_root._y) / 2) + 200; if (this._alpha > _root.alphaset) { this._alpha = this._alpha - 3; } if (this._alpha < _root.alphaset) { this._alpha = this._alpha + 3; } }
Symbol 3 MovieClip [atswitch] Frame 1
this.onLoad = function () { a = this._y - _root.targety; b = this._x - _root.targetx; angleA = Math.atan2(a, b); degrees = angleA / (Math.PI/180); setProperty(this, _rotation , degrees); }; this.onEnterFrame = function () { if (_root.charging == true) { this._alpha = this._alpha + 13; if ((Math.abs(_root.targetx - this._x) < 20) and (Math.abs(_root.targety - this._y) < 20)) { this._xscale = 50 + random(100); this._alpha = 20; this._x = _root.targetx + ((random(10) + 45) * Math.sin((Math.PI/180) * (((this.num * (random(60) + 360)) / _root.numswitches) - random(120)))); this._y = _root.targety + ((random(10) + 45) * Math.cos((Math.PI/180) * (((this.num * (random(60) + 360)) / _root.numswitches) - random(120)))); } else { if ((this._x - ((this._x - _root.targetx) / 6)) <= 14) { this._x = this._x - ((this._x - _root.targetx) + 10); } else { this._x = this._x - ((this._x - _root.targetx) / 6); } if ((this._y - ((this._y - _root.targety) / 6)) <= 14) { this._y = this._y - ((this._y - _root.targety) + 10); } else { this._y = this._y - ((this._y - _root.targety) / 6); } } } else { this._alpha = this._alpha - 5; if (this._alpha <= 0) { this._visible = false; removeMovieClip(this); } } a = this._y - _root.targety; b = this._x - _root.targetx; angleA = Math.atan2(a, b); degrees = angleA / (Math.PI/180); setProperty(this, _rotation , degrees); if (_root.charging == false) { removeMovieClip(""); } }; stop();
Instance of Symbol 2 MovieClip "atinside" in Symbol 3 MovieClip [atswitch] Frame 1
onClipEvent (load) { this.intgr = 0; } onClipEvent (enterFrame) { if (this.intgr <= 40) { var trans = {ra:0, rb:0, ga:random(40), gb:random(70), ba:100, bb:190 + random(25), aa:100, ab:0}; } if (this.intgr >= 41) { var trans = {ra:100, rb:190 + random(25), ga:100, gb:190 + random(25), ba:0, bb:0, aa:100, ab:0}; } this.intgr++; new Color(this).setTransform(trans); }
Symbol 13 MovieClip [tile] Frame 8
_root.attachMovie("rail1", "rail" + _root.g, _root.g); _root["rail" + _root.g]._x = this._x + 15; _root["rail" + _root.g]._yscale = 80; _root["rail" + _root.g]._y = this._y + 3; _root.g++;
Symbol 13 MovieClip [tile] Frame 9
_root.attachMovie("rail2", "rail" + _root.g, _root.g); _root["rail" + _root.g]._x = this._x + 15; _root["rail" + _root.g]._yscale = 80; _root["rail" + _root.g]._y = this._y + 3; _root.g++;
Symbol 13 MovieClip [tile] Frame 10
_root.attachMovie("rail3", "rail" + _root.g, _root.g); _root["rail" + _root.g]._x = this._x + 15; _root["rail" + _root.g]._yscale = 80; _root["rail" + _root.g]._y = this._y + 3; _root.g++;
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) { this.gotoAndStop(_root.frame); }
Symbol 49 Button
on (press) { getURL ("http://tice.us/flash/", _blank); }
Symbol 56 Button
on (press) { gotoAndStop (4); }
Symbol 66 MovieClip Frame 60
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
play();
Symbol 79 MovieClip Frame 23
gotoAndPlay (3);
Symbol 86 MovieClip Frame 11
this._parent.falling = true; this._parent.gotoAndStop("falling");
Symbol 89 MovieClip Frame 7
_root.landing = false;
Symbol 93 MovieClip Frame 5
stop();
Symbol 97 MovieClip Frame 5
_root.shooting = false; _root.shold = true;
Symbol 100 MovieClip Frame 5
stop();
Symbol 111 MovieClip Frame 1
play();
Symbol 117 MovieClip Frame 15
gotoAndPlay (3);
Symbol 118 MovieClip Frame 1
this.onEnterFrame = function () { _root.standing = true; }; stop();
Symbol 118 MovieClip Frame 2
_root.shooting = false;
Instance of Symbol 79 MovieClip in Symbol 118 MovieClip Frame 2
onClipEvent (enterFrame) { _root.walkframe = this._currentframe; }
Symbol 118 MovieClip Frame 5
onEnterFrame = function () { };
Symbol 118 MovieClip Frame 10
_root.framed = false; _root.walkwait = 10; _root.walkwaitdone = false;
Instance of Symbol 111 MovieClip in Symbol 118 MovieClip Frame 10
onClipEvent (load) { } onClipEvent (enterFrame) { _root.walkwait--; if (!_root.framed) { this._currentframe = _root.walkframe; _root.framed = true; } if ((_root.walkwait <= 0) or ((!Key.isDown(37)) and (!Key.isDown(39)))) { _root.shooting = false; _root.walkwaitdone = true; } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 12
onClipEvent (enterFrame) { if (Key.isDown(38) or Key.isDown(40)) { this.play(); } else { this.stop(); } }
Symbol 119 Button
on (rollOver) { _root.alphaset = 100; } on (rollOut) { _root.alphaset = 50; } on (press) { getURL ("http://tice.us/flash/", _blank); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:3
Symbol 3 MovieClip [atswitch]Uses:2
Symbol 4 GraphicUsed by:13
Symbol 5 GraphicUsed by:13
Symbol 6 GraphicUsed by:13
Symbol 7 GraphicUsed by:13
Symbol 8 GraphicUsed by:13
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:13
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:13
Symbol 13 MovieClip [tile]Uses:4 5 6 7 8 10 12
Symbol 14 MovieClip [empty]
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [regshot]Uses:15
Symbol 17 GraphicUsed by:20
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip [lgshot]Uses:17 18 19
Symbol 21 GraphicUsed by:24
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip [mdshot]Uses:21 22 23
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip [rail1]Uses:25
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip [rail2]Uses:27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip [rail3]Uses:29
Symbol 31 GraphicUsed by:36
Symbol 32 ShapeTweeningUsed by:35
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:32 33 34Used by:36
Symbol 36 MovieClipUses:31 35Used by:Timeline
Symbol 37 FontUsed by:38 39 40 41 43 45 50 51 53 55 57 58 59
Symbol 38 TextUses:37Used by:Timeline
Symbol 39 TextUses:37Used by:Timeline
Symbol 40 TextUses:37Used by:Timeline
Symbol 41 TextUses:37Used by:Timeline
Symbol 42 GraphicUsed by:49 119
Symbol 43 TextUses:37Used by:49 119
Symbol 44 GraphicUsed by:49 119
Symbol 45 TextUses:37Used by:49 119
Symbol 46 FontUsed by:47
Symbol 47 TextUses:46Used by:49 119
Symbol 48 GraphicUsed by:49 119
Symbol 49 ButtonUses:42 43 44 45 47 48Used by:Timeline
Symbol 50 TextUses:37Used by:Timeline
Symbol 51 TextUses:37Used by:Timeline
Symbol 52 GraphicUsed by:56
Symbol 53 TextUses:37Used by:56
Symbol 54 GraphicUsed by:56
Symbol 55 TextUses:37Used by:56
Symbol 56 ButtonUses:52 53 54 55Used by:Timeline
Symbol 57 TextUses:37Used by:Timeline
Symbol 58 TextUses:37Used by:Timeline
Symbol 59 TextUses:37Used by:Timeline
Symbol 60 BitmapUsed by:61 62 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 87 88 90 91 92 95 96 98 99 101 102 103 104 105 106 107 108 109 110 112 113 114 115 116
Symbol 61 GraphicUses:60Used by:Timeline
Symbol 62 GraphicUses:60Used by:66 89
Symbol 63 GraphicUses:60Used by:66
Symbol 64 GraphicUses:60Used by:66
Symbol 65 GraphicUses:60Used by:66
Symbol 66 MovieClipUses:62 63 64 65Used by:118
Symbol 67 GraphicUses:60Used by:79
Symbol 68 GraphicUses:60Used by:79
Symbol 69 GraphicUses:60Used by:79
Symbol 70 GraphicUses:60Used by:79
Symbol 71 GraphicUses:60Used by:79
Symbol 72 GraphicUses:60Used by:79
Symbol 73 GraphicUses:60Used by:79
Symbol 74 GraphicUses:60Used by:79
Symbol 75 GraphicUses:60Used by:79
Symbol 76 GraphicUses:60Used by:79
Symbol 77 GraphicUses:60Used by:79
Symbol 78 GraphicUses:60Used by:79
Symbol 79 MovieClipUses:67 68 69 70 71 72 73 74 75 76 77 78Used by:118
Symbol 80 GraphicUses:60Used by:86
Symbol 81 GraphicUses:60Used by:86
Symbol 82 GraphicUses:60Used by:86 94
Symbol 83 GraphicUses:60Used by:86
Symbol 84 GraphicUses:60Used by:85
Symbol 85 MovieClipUses:84Used by:86 118
Symbol 86 MovieClipUses:80 81 82 83 85Used by:118
Symbol 87 GraphicUses:60Used by:89
Symbol 88 GraphicUses:60Used by:89
Symbol 89 MovieClipUses:87 88 62Used by:118
Symbol 90 GraphicUses:60Used by:93
Symbol 91 GraphicUses:60Used by:93
Symbol 92 GraphicUses:60Used by:93
Symbol 93 MovieClipUses:90 91 92Used by:118
Symbol 94 MovieClipUses:82Used by:118
Symbol 95 GraphicUses:60Used by:97 118
Symbol 96 GraphicUses:60Used by:97
Symbol 97 MovieClipUses:95 96Used by:118
Symbol 98 GraphicUses:60Used by:100
Symbol 99 GraphicUses:60Used by:100
Symbol 100 MovieClipUses:98 99Used by:118
Symbol 101 GraphicUses:60Used by:111
Symbol 102 GraphicUses:60Used by:111
Symbol 103 GraphicUses:60Used by:111
Symbol 104 GraphicUses:60Used by:111
Symbol 105 GraphicUses:60Used by:111
Symbol 106 GraphicUses:60Used by:111
Symbol 107 GraphicUses:60Used by:111
Symbol 108 GraphicUses:60Used by:111
Symbol 109 GraphicUses:60Used by:111
Symbol 110 GraphicUses:60Used by:111
Symbol 111 MovieClipUses:101 102 103 104 105 106 107 108 109 110Used by:118
Symbol 112 GraphicUses:60Used by:117
Symbol 113 GraphicUses:60Used by:117
Symbol 114 GraphicUses:60Used by:117
Symbol 115 GraphicUses:60Used by:117
Symbol 116 GraphicUses:60Used by:117
Symbol 117 MovieClipUses:112 113 114 115 116Used by:118
Symbol 118 MovieClipUses:66 79 86 85 89 93 94 97 100 111 95 117Used by:Timeline
Symbol 119 ButtonUses:42 43 44 45 47 48Used by:120
Symbol 120 MovieClipUses:119Used by:Timeline

Instance Names

"ball"Frame 4Symbol 118 MovieClip
"atinside"Symbol 3 MovieClip [atswitch] Frame 1Symbol 2 MovieClip
"wj"Symbol 118 MovieClip Frame 7Symbol 94 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "atswitch"
ExportAssets (56)Timeline Frame 1Symbol 13 as "tile"
ExportAssets (56)Timeline Frame 1Symbol 14 as "empty"
ExportAssets (56)Timeline Frame 1Symbol 16 as "regshot"
ExportAssets (56)Timeline Frame 1Symbol 20 as "lgshot"
ExportAssets (56)Timeline Frame 1Symbol 24 as "mdshot"
ExportAssets (56)Timeline Frame 1Symbol 26 as "rail1"
ExportAssets (56)Timeline Frame 1Symbol 28 as "rail2"
ExportAssets (56)Timeline Frame 1Symbol 30 as "rail3"

Labels

"standing"Symbol 118 MovieClip Frame 1
"walking"Symbol 118 MovieClip Frame 2
"jumping"Symbol 118 MovieClip Frame 3
"falling"Symbol 118 MovieClip Frame 4
"landing"Symbol 118 MovieClip Frame 5
"climbing"Symbol 118 MovieClip Frame 6
"walljump"Symbol 118 MovieClip Frame 7
"shooting"Symbol 118 MovieClip Frame 8
"walkshoot"Symbol 118 MovieClip Frame 10
"shootstand"Symbol 118 MovieClip Frame 11
"ladderclimb"Symbol 118 MovieClip Frame 12




http://swfchan.com/12/59606/info.shtml
Created: 16/4 -2019 16:35:37 Last modified: 16/4 -2019 16:35:37 Server time: 01/05 -2024 13:56:25