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

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

Ping Pong 3D.swf

This is the info page for
Flash #12706

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


Text
tabletop=79

tablebottom=320

backwidth=168

backleft=191

backright=359

depth: 0 - 70

Serve

You Win!

You Lose!

New

Ping-Pong 3D

by Ben Swieskowski

Hit the ball
on the left
side of the
paddle to
make it go left

Scoring goes to to 21, win by 2

Hit the ball
on the right
side of the
paddle to
make it go right

Easy

Medium

Hard

Intro

ActionScript [AS1/AS2]

Frame 1
paddle1._visible = false; ball._visible = false; paddle2._visible = false; shadow._visible = false; backbox._visible = false; wins._visible = false; lose._visible = false; bluescoreclip._visible = false; redscoreclip._visible = false; ball.scales = 20; ball.speedvar = 0.6; ball.increasing = 1; paddle2.ydiff = 10; paddle2.xdiff = 10; medium._alpha = 100; easy._alpha = 20; hard._alpha = 20; ball.gravity = 0.1; stop();
Instance of Symbol 4 MovieClip "paddle2" in Frame 1
onClipEvent (enterFrame) { if (_root.ball.zspeed < 0) { if (_root.ball._xscale < 37) { if ((60 - ((_root.ball.realy * 30) / 14)) < _y) { _y = (_y - ydiff); } if (_y < (60 - ((_root.ball.realy * 30) / 14))) { _y = (_y + ydiff); } } if (_x < (_root.ball.realx - (xdiff / 2))) { _x = (_x + xdiff); } if ((_root.ball.realx + (xdiff / 2)) < _x) { _x = (_x - xdiff); } } if ((50 - (_height / 2)) < _y) { _y = (50 - (_height / 2)); } _rotation = (((_x - 300) * 90) / 84); if (90 < _rotation) { _rotation = 90; } if (_rotation < -90) { _rotation = -90; } }
Instance of Symbol 9 MovieClip "shadow" in Frame 1
onClipEvent (enterFrame) { _x = _root.ball._x; _xscale = _root.ball._xscale; _yscale = _xscale; _y = (60 + (3.7143 * (_root.ball._xscale - 30))); }
Instance of Symbol 12 MovieClip "ball" in Frame 1
onClipEvent (enterFrame) { if (realy < 0) { if ((216 < realx) & (realx < 384)) { realy = 0; ydir = ydir * -1; } else { realy = 0; _y = ((60 + (3.7143 * (_xscale - 30))) - ((realy * _xscale) / 14)); if (0 < zspeed) { score1++; _root.bluescoreclip.bluescore = score1; _root.redscoreclip.redscore = score2 + " - out"; } if (zspeed < 0) { score2++; _root.bluescoreclip.bluescore = score1 + " - out"; _root.redscoreclip.redscore = score2; } zspeed = 0; stopDrag(); Mouse.show(); _root.service._visible = true; } } if (_xscale >= 100) { if (this.hitTest(_root.paddle1.paddle1real)) { tellTarget (_root.soundbox) { gotoAndStop (2); gotoAndStop (1); }; xspeed = (_x - _root.paddle1._x) / 17; yspeed = (3.5 / ballspeed) / ballspeed; ydir = 1; zspeed = zspeed * -1; } else if (zspeed != 0) { score2++; _root.bluescoreclip.bluescore = score1 + " - miss"; _root.redscoreclip.redscore = score2; zspeed = 0; stopDrag(); Mouse.show(); _root.service._visible = true; } } if (30 >= _xscale) { if (this.hitTest(_root.paddle2.paddle2real)) { tellTarget (_root.soundbox) { gotoAndStop (2); gotoAndStop (1); }; xspeed = (((_x - _root.paddle2._x) / 17) * 100) / 30; yspeed = (1.5 / ballspeed) / ballspeed; ydir = 1; zspeed = zspeed * -1; } else if (zspeed != 0) { score1++; _root.bluescoreclip.bluescore = score1; _root.redscoreclip.redscore = score2 + " - miss"; zspeed = 0; stopDrag(); Mouse.show(); _root.service._visible = true; } } if (zspeed != 0) { if (yspeed < 0) { yspeed = yspeed * -1; ydir = ydir * -1; } realx = realx + (((xspeed * 100) / _xscale) * ballspeed); if (ydir < 0) { realy = realy - ((((yspeed * 30) / _xscale) * ballspeed) / 0.6); yspeed = yspeed + (((gravity * 0.42) * 10) / ballspeed); } if (0 < ydir) { realy = realy + ((((yspeed * 30) / _xscale) * ballspeed) / 0.6); yspeed = yspeed - (((gravity * 0.42) * 10) / ballspeed); } _xscale = (_xscale + zspeed); _yscale = (_yscale + zspeed); _x = (300 + (((realx - 300) * _xscale) / 30)); _y = ((60 + (3.7143 * (_xscale - 30))) - ((realy * _xscale) / 14)); } if (increasing == 1) { ballspeed = ballspeed + (speedvar / 1000); } if (zspeed < 0) { zspeed = -3 * ballspeed; } if (0 < zspeed) { zspeed = 3 * ballspeed; } }
Instance of Symbol 27 MovieClip "paddle1" in Frame 1
onClipEvent (enterFrame) { _rotation = (((_x - 300) * 90) / 275); if (90 < _rotation) { _rotation = 90; } if (_rotation < -90) { _rotation = -90; } }
Frame 3
if ((ball.score1 >= 21) or (ball.score2 >= 21)) { if ((1 < (ball.score1 - ball.score2)) or (1 < (ball.score2 - ball.score1))) { service._visible = false; wins._visible = false; lose._visible = false; } else { gotoAndPlay (2); } } else { gotoAndPlay (2); }
Frame 4
stop(); if (ball.score2 < ball.score1) { wins._visible = true; } if (ball.score1 < ball.score2) { lose._visible = true; }
Symbol 23 MovieClip Frame 1
stop();
Symbol 31 Button
on (release) { _root._root.ball.xspeed = 0; _root._root.ball.ballspeed = 1.1; _root._root.ball.yspeed = -2.1; _root._root.ball._xscale = 99; _root._root.ball._yscale = 99; _root._root.ball.zspeed = -3; _root._root.ball.realx = 300; _root._root.ball.realy = 3; _root._root.ball.xchill = 5; _root._root.ball.ychill = 20; startDrag (_root._root.paddle1, true); Mouse.hide(); tellTarget (_root) { gotoAndPlay (2); }; _root._root.paddle2._x = 300; _root._root.paddle2._y = 60; _root.ball._visible = true; _root.paddle1._visible = true; _root.shadow._visible = true; _root.paddle2._visible = true; _root.backbox._visible = true; _root.paddle2._xscale = 30; _root.paddle2._yscale = 30; _root.ball.ydir = 1; _visible = false; _root.bluescoreclip.bluescore = _root.ball.score1; _root.redscoreclip.redscore = _root.ball.score2; }
Symbol 40 Button
on (release) { _root.ball.score1 = 0; _root.ball.score2 = 0; _root.ball.xspeed = 0; _root.ball.ballspeed = 1.1; _root.ball.yspeed = -2.1; _root.ball._xscale = 99; _root.ball._yscale = 99; _root.ball.zspeed = -3; _root.ball.realx = 300; _root.ball.realy = 3; _root.ball.xchill = 5; _root.ball.ychill = 20; startDrag (_root._root.paddle1, true); Mouse.hide(); gotoAndPlay (2); _root.paddle2._x = 300; _root.paddle2._y = 60; ball._visible = true; paddle1._visible = true; shadow._visible = true; paddle2._visible = true; backbox._visible = true; paddle2._xscale = 30; paddle2._yscale = 30; ball.ydir = 1; service._visible = false; wins._visible = false; lose._visible = false; bluescoreclip._visible = true; redscoreclip._visible = true; bluescoreclip.bluescore = "0"; redscoreclip.redscore = "0"; }
Symbol 52 Button
on (release) { _root.paddle2.xdiff = 6; _root.paddle2.ydiff = 10; _root.easy._alpha = 100; _root.medium._alpha = 20; _root.hard._alpha = 20; }
Symbol 54 Button
on (release) { _root.paddle2.xdiff = 10; _root.paddle2.ydiff = 10; _root.easy._alpha = 20; _root.medium._alpha = 100; _root.hard._alpha = 20; }
Symbol 56 Button
on (release) { _root.paddle2.xdiff = 13; _root.paddle2.ydiff = 10; _root.easy._alpha = 20; _root.medium._alpha = 20; _root.hard._alpha = 100; }
Symbol 70 Button
on (release) { gotoAndStop (1); }

Library Items

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

Instance Names

"paddle2"Frame 1Symbol 4 MovieClip
"shadow"Frame 1Symbol 9 MovieClip
"ball"Frame 1Symbol 12 MovieClip
"redscoreclip"Frame 1Symbol 18 MovieClip
"bluescoreclip"Frame 1Symbol 20 MovieClip
"soundbox"Frame 1Symbol 23 MovieClip
"paddle1"Frame 1Symbol 27 MovieClip
"service"Frame 1Symbol 32 MovieClip
"wins"Frame 1Symbol 35 MovieClip
"lose"Frame 1Symbol 38 MovieClip
"easy"Frame 1Symbol 53 MovieClip
"medium"Frame 1Symbol 55 MovieClip
"hard"Frame 1Symbol 57 MovieClip
"wins"Frame 3Symbol 35 MovieClip
"lose"Frame 3Symbol 38 MovieClip
"paddle2real"Symbol 4 MovieClip Frame 1Symbol 3 MovieClip
"paddle1real"Symbol 27 MovieClip Frame 1Symbol 26 MovieClip
"paddle2real"Symbol 41 MovieClip Frame 1Symbol 3 MovieClip

Dynamic Text Variables

redscoreSymbol 17 EditableText""
bluescoreSymbol 19 EditableText""




http://swfchan.com/3/12706/info.shtml
Created: 5/6 -2019 16:18:14 Last modified: 5/6 -2019 16:18:14 Server time: 02/05 -2024 18:49:14