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

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

360 Snake.swf

This is the info page for
Flash #26397

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


Text
start

by jacob lee

eggshells

eggshells.tk

eggshells.tk

eggshells.tk

use the left and right
arrow keys to move

Score:

jacob lee 2004

0

0

High Score:

speacial

0

GAME OVER

try again?

try again?

try again?

ActionScript [AS1/AS2]

Frame 1
function move() { var _local1 = _root; posx[0] = _local1.snake._x; posy[0] = _local1.snake._y; _local1.snake._x = _local1.snake._x + (4 * Math.cos((Math.PI/180) * theta)); _local1.snake._y = _local1.snake._y + (4 * Math.sin((Math.PI/180) * theta)); if (_local1.init) { t = 0; while (t < _local1.snakelength) { nn = "body" + Number(t); duplicateMovieClip ("snake", nn, t); nn._x = -20; nn._y = -20; t++; } _local1.init = false; _local1.specialtime.stime = 0; _local1.specialtime.sout = false; _local1.specialtime._visible = false; } _local1.ltf(); t = _local1.snakelength - 1; while (t > 0) { posx[t] = posx[t - 1]; posy[t] = posy[t - 1]; t--; } if (collide(_local1.food._x, _local1.food._y)) { _local1.foods = false; t = 0; while (t < 20) { nn = "body" + Number(_local1.snakelength); duplicateMovieClip ("snake", nn, _local1.snakelength); nn._x = -20; nn._y = -20; posx[_local1.snakelength] = posx[_local1.snakelength - 1]; posy[_local1.snakelength] = posy[_local1.snakelength - 1]; _local1.snakelength++; t++; } t = 0; while (t < _local1.snakelength) { nn = "body" + Number(t); setProperty(nn, _x , posx[t]); setProperty(nn, _y , posy[t]); t++; } _local1.count = 0; _local1.score = _local1.score + 5; } if (collide(_local1.specialfood._x, _local1.specialfood._y)) { _local1.score = _local1.score + Number(_local1.specialtime.spoints); _local1.specialtime.spoints = 0; _local1.specialtime.stime = 0; _local1.specialfood._x = -30; _local1.specialfood._y = -20; _local1.specialtime.sout = false; _local1.specialtime._visible = false; } if (_local1.specialtime.sout) { _local1.specialtime.stime = _local1.specialtime.stime - 1; _local1.specialtime.spoints = int(_local1.specialtime.stime / 10.5); if (_local1.specialtime.stime == 0) { _local1.specialfood._x = -30; _local1.specialfood._y = -20; _local1.specialtime.sout = false; _local1.specialtime._visible = false; } } if (!_local1.foods) { x = random(292) + 19; y = random(272) + 19; _local1.food._x = x; _local1.food._y = y; if ((_local1.score != 0) && (((_local1.snakelength - 19) % 100) == 0)) { sx = random(292) + 19; sy = random(272) + 19; _local1.specialfood._x = sx; _local1.specialfood._y = sy; _local1.specialtime.stime = 210; _local1.specialtime.spoints = 20; _local1.specialtime.sout = true; _local1.specialtime._visible = true; } _local1.foods = true; } if ((((_local1.snake._x < 10) || (_local1.snake._x > 310)) || (_local1.snake._y < 10)) || (_local1.snake._y > 290)) { _local1.destroy(); } t = 0; while (t < _local1.snakelength) { if (collide(posx[t], posy[t])) { _local1.destroy(); } t++; } } function ltf() { var _local1 = _root; last = (_local1.snakelength - 1) - _local1.count; nn = "body" + Number(last); _local1.count++; if (last == 0) { _local1.count = 0; } setProperty(nn, _x , posx[0]); setProperty(nn, _y , posy[0]); } function collide(objectx, objecty) { delta_x = _root.snake._x - objectx; delta_y = _root.snake._y - objecty; if (((delta_x * delta_x) + (delta_y * delta_y)) < 15) { return(true); } return(false); } function destroy() { var _local1 = _root; _local1.crash._x = _local1.snake._x; _local1.crash._y = _local1.snake._y; t = 0; while (t < _local1.snakelength) { nn = "body" + Number(t); removeMovieClip(nn); t++; } _local1.snake._visible = false; _local1.crash.gotoAndPlay(2); if (score > _local1.scoretable.topten.SCORE9) { gotoAndStop (5); } else { gotoAndStop (4); } } sfile = "http://www.s4websolutions.com/rsnake/scores.php"; sview = sfile + "?filename=score.sco&scoresize=10&action=VIEW&viewtype=FLASH"; posx = new Array(); posy = new Array(); snakelength = 19; t = 0; while (t < snakelength) { posx[t] = -20; posy[t] = -20; t++; } init = true; theta = 0; foods = false; score = 0; count = 0; _root.scoretable.topten.loadVariables(_root.sview); _root.scoretable._visible = false; stop();
Frame 2
move(); if (Key.isDown(39)) { theta = theta + 10; if (theta >= 360) { theta = theta - 360; } } else if (Key.isDown(37)) { theta = theta - 10; if (theta < 0) { theta = theta + 360; } }
Frame 3
gotoAndPlay (2);
Frame 4
_root.scoretable._visible = true; stop();
Symbol 10 Button
on (release) { gotoAndPlay (2); }
Symbol 12 Button
on (keyPress "<Space>") { gotoAndPlay (2); }
Symbol 20 Button
on (releaseOutside) { getURL ("http://www.eggshells.tk"); }
Symbol 58 MovieClip Frame 1
stop();
Symbol 61 Button
on (keyPress "<Space>") { gotoAndPlay (1); }
Symbol 67 Button
on (release) { gotoAndPlay (1); }

Library Items

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

Instance Names

"scoretext"Frame 2Symbol 28 EditableText
"scoretext"Frame 2Symbol 29 EditableText
"specialtime"Frame 2Symbol 34 MovieClip
"snake"Frame 2Symbol 36 MovieClip
"food"Frame 2Symbol 38 MovieClip
"specialfood"Frame 2Symbol 41 MovieClip
"crash"Frame 2Symbol 58 MovieClip
"scoretext"Symbol 34 MovieClip Frame 1Symbol 33 EditableText

Dynamic Text Variables

scoreSymbol 28 EditableText"0"
_root.scoretable.topten.SCORE0Symbol 29 EditableText"0"
spointsSymbol 33 EditableText"0"




http://swfchan.com/6/26397/info.shtml
Created: 22/5 -2019 17:33:29 Last modified: 22/5 -2019 17:33:29 Server time: 09/05 -2024 22:34:27