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

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

Ping AI.swf

This is the info page for
Flash #25834

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


Text
p

r

e

s

n

t

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

Are you ready?

play again

<P ALIGN="LEFT"><FONT FACE="BankGothic Md BT" SIZE="16" COLOR="#FFFFFF"><A HREF="http://www.ultimatearcade.com" target = "_blank">play more games</A> | <A HREF="http://www.ultimatearcade.com/downloads" target = "_blank">download games</A></FONT></P>

try again!

GO

keep going

Level 2

BRING IT ON!

Pretty good!
Now time for some real competition

Play Again?

Congratulations!

You win

Copyright © 2005 UltimateArcade.com - All Rights Reserved

ActionScript [AS1/AS2]

Frame 1
stop(); fscommand ("fullscreen", "false"); fscommand ("allowscale", "false"); fscommand ("showmenu", "false");
Frame 2
ifFrameLoaded (5) { gotoAndStop (3); }
Frame 3
gotoAndPlay (1);
Frame 5
movie_width = 500; movie_height = 300; loadMovieNum ("http://www.ultimatearcade.com/arcade/games/random_id_00042527/classics/00games/ping_ai/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 48 MovieClip "ball" in Frame 5
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 55 MovieClip "left" in Frame 5
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 55 MovieClip "right" in Frame 5
onClipEvent (mouseMove) { if (this._parent.go == "yes") { _y = this._parent._ymouse; updateAfterEvent(); } }
Symbol 26 MovieClip Frame 112
_root.gotoAndPlay("game");
Symbol 39 Button
on (release) { getURL ("http://www.ultimatearcade.com"); }
Symbol 44 Button
on (release) { gotoAndStop (5); }
Symbol 59 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 65 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 69 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 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 78 Button
on (release) { getURL ("http://www.ultimatearcade.com", "_blank"); }

Library Items

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

Instance Names

"ball"Frame 5Symbol 48 MovieClip
"left"Frame 5Symbol 55 MovieClip
"right"Frame 5Symbol 55 MovieClip
"popup"Frame 5Symbol 74 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"

Labels

"game"Frame 5

Dynamic Text Variables

levelSymbol 50 EditableText""




http://swfchan.com/6/25834/info.shtml
Created: 23/5 -2019 07:50:37 Last modified: 23/5 -2019 07:50:37 Server time: 14/11 -2024 17:59:37