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

Ping AI.swf

This is the info page for
Flash #24875

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


Text
LOADING

Ping A.I.
Episode 1: Man Vs. Machine

a game by www.ultimatearcade.com

a game by www.ultimatearcade.com

PLAY

Level:

Ping A.I.

start

Can you beat the artificial
intelligence of your computer?

What a loser ........try again!

GO

not bad......keep going

Level 2

BRING IT ON!

Pretty good!
Now time for some real competition

Play Again?

Congratulations!
You are awesome!

You win

ActionScript [AS1/AS2]

Frame 1
ifFrameLoaded (4) { gotoAndStop (3); }
Frame 2
gotoAndPlay (1);
Frame 4
movie_width = 500; movie_height = 300; loadMovieNum ("music.swf", 10); Out = new Sound(); Left_s = new Sound(); Right_s = new Sound(); Left_s.attachSound("left"); Right_s.attachSound("right"); Out.attachSound("Out"); stop();
Instance of Symbol 25 MovieClip "ball" in Frame 4
onClipEvent (load) { function Begin() { rot_filter = 45; max_shift = 15; speed = 10; sign_ran = random(2); dir_ran = random(2); if (sign_ran == 1) { sign_ran = 1; } else { sign_ran = -1; } if (dir_ran == 1) { dir_ran = 1; } else { dir_ran = -1; } init_ang = ((random(45) * math.pi) / 180) * sign_ran; xmov = (speed * math.cos(init_ang)) * dir_ran; ymov = speed * math.sin(init_ang); } } onClipEvent (enterFrame) { function trajectory() { angle = (Math.atan(ymov / xmov) * 180) / math.pi; if ((ymov >= 0) and (xmov >= 0)) { trajectory = Number(angle); quad = 1; } else if ((ymov >= 0) and (xmov < 0)) { quad = 2; trajectory = 180 + Number(angle); } else if ((ymov < 0) and (xmov < 0)) { trajectory = 180 + Number(angle); quad = 3; } else if ((ymov < 0) and (xmov >= 0)) { trajectory = 360 + Number(angle); quad = 4; } } if (this._parent.go == "yes") { if (this._parent.movie_height < (this._y + (this._height / 2))) { _y = (this._parent.movie_height - (this._height / 2)); updateAfterEvent(); ymov = -ymov; } else if ((this._y - (this._height / 2)) < 0) { _y = (this._height / 2); updateAfterEvent(); ymov = -ymov; } if (this._parent.left.hitTest(this) or this._parent.right.hitTest(this)) { if (this._parent.left.hitTest(this)) { paddle = "left"; _root.Left_s.start(); _x = ((this._parent.left._x + (this._parent.left._width / 2)) + (this._width / 2)); updateAfterEvent(); } else if (this._parent.right.hitTest(this)) { paddle = "right"; _root.Right_s.start(); _x = ((this._parent.right._x - (this._parent.right._width / 2)) - (this._width / 2)); updateAfterEvent(); } if (this._parent.level == "one") { factor = 0.1; } else if (this._parent.level == "two") { factor = 0.2; } else if (this._parent.level == "three") { factor = 0.4; } current_speed = math.sqrt((xmov * xmov) + (ymov * ymov)) + factor; if (_root.filter < current_speed) { current_speed = _root.filter; } trajectory(); if (paddle == "right") { shift = ((-max_shift) * (this._parent.right._y - this._y)) / (this._parent.right._height / 2); } else if (paddle == "left") { shift = (max_shift * (this._parent.left._y - this._y)) / (this._parent.left._height / 2); } trajectory = trajectory + shift; if (((rot_filter < (trajectory + shift)) and ((trajectory + shift) < (180 - rot_filter))) or (((rot_filter + 180) < (trajectory + shift)) and ((trajectory + shift) < (360 - rot_filter)))) { if ((0 < trajectory) and (trajectory < 90)) { trajectory = rot_filter; } else if ((90 < trajectory) and (trajectory < 180)) { trajectory = 180 - rot_filter; } else if ((180 < trajectory) and (trajectory < 270)) { trajectory = 180 + rot_filter; } else if ((270 < trajectory) and (trajectory < 360)) { trajectory = 360 - rot_filter; } } angle = (trajectory * math.pi) / 180; xmov = current_speed * math.cos(angle); ymov = current_speed * math.sin(angle); xmov = -xmov; } _y = (this._y + ymov); _x = (this._x + xmov); ball_shift = 0; if (this._x < -20) { _root.Out.start(); _y = 150; _x = 300; setProperty("_root.popup", _visible , 1); if (_root.level == "one") { _root.popup.gotoAndStop(3); } else if (_root.level == "two") { _root.popup.gotoAndStop(4); } else if (_root.level == "three") { _root.popup.gotoAndStop(5); } xmov = 0; ymov = 0; } else if ((this._parent.movie_width + 20) < this._x) { _root.Out.start(); _y = 150; _x = 300; setProperty("_root.popup", _visible , 1); _root.popup.gotoAndStop(2); xmov = 0; ymov = 0; } } }
Instance of Symbol 36 MovieClip "left" in Frame 4
onClipEvent (enterFrame) { if (this._parent.go == "yes") { endy = this._parent.ball._y; ymov = (endy - this._y) * k; if (this._parent.ball._x < (this._parent.movie_width / 2)) { _y = (this._y + ymov); } } }
Instance of Symbol 37 MovieClip "right" in Frame 4
onClipEvent (mouseMove) { if (this._parent.go == "yes") { _y = this._parent._ymouse; updateAfterEvent(); } }
Symbol 15 Button
on (release) { getURL ("http://www.ultimatearcade.com"); }
Symbol 21 Button
on (release) { gotoAndStop (4); }
Symbol 33 Button
on (release) { if (tunes != "off") { unloadMovieNum (10); tunes = "off"; } else if (tunes == "off") { loadMovieNum ("music.swf", 10); tunes = ""; } }
Symbol 41 Button
on (release) { this._parent.left.k = 0.12; this._parent.level = "one"; this._parent.filter = 15; this._parent.go = "yes"; _root.ball.Begin(); _visible = 0; }
Symbol 45 Button
on (release) { this._parent.left.k = 0.2; this._parent.go = "yes"; this._parent.level = "two"; this._parent.filter = 23; _root.ball.Begin(); _visible = 0; }
Symbol 49 Button
on (release) { this._parent.left.k = 0.5; this._parent.go = "yes"; this._parent.level = "three"; this._parent.filter = 28; _root.ball.Begin(); _visible = 0; }
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 3
stop();
Symbol 54 MovieClip Frame 4
stop();
Symbol 54 MovieClip Frame 5
stop();

Library Items

Symbol 1 Sound [Out]
Symbol 2 Sound [right]
Symbol 3 Sound [left]
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 FontUsed by:8 17
Symbol 8 TextUses:7Used by:Timeline
Symbol 9 FontUsed by:10 34
Symbol 10 TextUses:9Used by:Timeline
Symbol 11 FontUsed by:12 13 40 42 43 44 46 47 48 50 51 52 53
Symbol 12 TextUses:11Used by:15
Symbol 13 TextUses:11Used by:15
Symbol 14 GraphicUsed by:15
Symbol 15 ButtonUses:12 13 14Used by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 TextUses:7Used by:Timeline
Symbol 18 GraphicUsed by:21 41 45 49
Symbol 19 GraphicUsed by:21 41 45 49
Symbol 20 GraphicUsed by:21 41 45 49
Symbol 21 ButtonUses:18 19 20Used by:Timeline
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:Timeline
Symbol 26 FontUsed by:27
Symbol 27 EditableTextUses:26Used by:Timeline
Symbol 28 FontUsed by:29
Symbol 29 TextUses:28Used by:Timeline
Symbol 30 GraphicUsed by:31 33
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 ButtonUses:31 32 30Used by:Timeline
Symbol 34 TextUses:9Used by:Timeline
Symbol 35 GraphicUsed by:36 37
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 MovieClipUses:35Used by:Timeline
Symbol 38 GraphicUsed by:Timeline
Symbol 39 GraphicUsed by:54
Symbol 40 TextUses:11Used by:54
Symbol 41 ButtonUses:18 19 20Used by:54
Symbol 42 TextUses:11Used by:54
Symbol 43 TextUses:11Used by:54
Symbol 44 TextUses:11Used by:54
Symbol 45 ButtonUses:18 19 20Used by:54
Symbol 46 TextUses:11Used by:54
Symbol 47 TextUses:11Used by:54
Symbol 48 TextUses:11Used by:54
Symbol 49 ButtonUses:18 19 20Used by:54
Symbol 50 TextUses:11Used by:54
Symbol 51 TextUses:11Used by:54
Symbol 52 TextUses:11Used by:54
Symbol 53 TextUses:11Used by:54
Symbol 54 MovieClipUses:39 40 41 42 43 44 45 46 47 48 49 50 51 52 53Used by:Timeline

Instance Names

"ball"Frame 4Symbol 25 MovieClip
"left"Frame 4Symbol 36 MovieClip
"right"Frame 4Symbol 37 MovieClip
"popup"Frame 4Symbol 54 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "Out"
ExportAssets (56)Timeline Frame 1Symbol 2 as "right"
ExportAssets (56)Timeline Frame 1Symbol 3 as "left"

Dynamic Text Variables

levelSymbol 27 EditableText""




http://swfchan.com/5/24875/info.shtml
Created: 24/5 -2019 10:09:45 Last modified: 24/5 -2019 10:09:45 Server time: 22/12 -2024 23:25:48