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

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

NSG011 - 1D Flipper v0.85.swf

This is the info page for
Flash #67388

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


Text
Rules: click on a marker to alter that and adjacent
markers. Match all markers to win a level. Beat 7 levels
to beat the game. Try and use as few clicks as possible!

Thanks to all
reviewers who give
constructive
criticism. I love
hearing negative
feedback when it's
specific and well
explained!

Design,coding,'art'
and font by Behrooz
B. Shahriari.
Music by LJCoffee.
Preloader and
hosting by
Newgrounds.
Based on 2D flipping
puzzles.

123

clicks:

123

level:

123

123

best:

replay?

replay?

replay?

ABCDefghijklmnopqrs12345678901234567890

ActionScript [AS1/AS2]

Frame 1
stopAllSounds(); var highScore = Number.MAX_VALUE;
Frame 3
function endGame() { if (clicks < highScore) { highScore = clicks; } if (80 < clicks) { message = "81+ Were you \ntrying to do badly? \nNext time pay attention!"; } else if (60 < clicks) { message = "61-80 Use your brain.\n It shouldn't be hard\n to do a lot better."; } else if (40 < clicks) { message = "41-60 Think! Plan!\n You had a lot of wasted\n clicks there."; } else if (35 < clicks) { message = "36-40 Rather poor. \nI'm kinda disappointed \nin you!"; } else if (30 < clicks) { message = "31-35 Not terrible...\n not good either. \nPlan all moves."; } else if (25 < clicks) { message = "26-30 A good score! \nI think you could\n do better though."; } else if (20 < clicks) { message = "21-25 Great stuff!\n YOU DA MAN!"; } else { message = "0-20 Wow! You're both\n lucky and skillful."; } gotoAndStop (13); } function nextLevel() { level++; trace("#levels:" + levelLayouts.length); trace("level: " + level); if (6 < level) { trace("beaten"); endGame(); } else { setupLevel(); } } function setupLevel() { var i; _root.levelUp.gotoAndPlay("levelUp"); trace("levelup"); i = 0; while (6 >= i) { circleStates[i] = Math.ceil(Math.random() * 2); i++; } updateMarkers(); } function checkForWin() { var i = 0; var value = circleStates[0]; i = 1; while (6 >= i) { if (circleStates[i] != value) { return(false); } i++; } return(true); } function updateMarkers() { var i; i = 0; while (6 >= i) { eval ("marker" + i).gotoAndStop(circleStates[i]); i++; } } function clicked(circleNumber) { var changing; clicks++; changing = circleNumber - 1; while ((circleNumber + 1) >= changing) { if ((changing >= 0) && (6 >= changing)) { if (circleStates[changing] == 1) { circleStates[changing] = 2; } else { circleStates[changing] = 1; } } changing++; } updateMarkers(); if (checkForWin()) { trace("WON!"); nextLevel(); } } var circleStates = new Array(2, 2, 1, 2, 1, 2, 2); var clicks = 0; var time = 0; var level = 0; var levelLayout1 = [2, 2, 1, 1, 1, 2, 2]; var levelLayout2 = [2, 2, 1, 2, 2, 2, 2]; var levelLayout3 = [1, 1, 1, 2, 1, 1, 1]; var levelLayout4 = [2, 1, 2, 1, 2, 1, 2]; var levelLayout5 = [1, 1, 2, 1, 2, 1, 1]; var levelLayout6 = [1, 2, 2, 1, 2, 2, 1]; var levelLayout7 = [2, 1, 2, 2, 2, 2, 2]; var levelLayouts = [levelLayout1, levelLayout2, levelLayout3, levelLayout4, levelLayout5, levelLayout6, levelLayout7]; var message = "YOU SUCK!"; setupLevel(); stop();
Symbol 9 Button
on (release) { getURL ("http://www.newgrounds.com", "blank"); }
Symbol 14 Button
on (release) { _root.play(); }
Symbol 15 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop (3); }
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 3
Symbol 42 Button
on (press) { clicked(0); }
Symbol 43 Button
on (press) { clicked(1); }
Symbol 44 Button
on (press) { clicked(2); }
Symbol 45 Button
on (press) { clicked(3); }
Symbol 46 Button
on (press) { clicked(4); }
Symbol 47 Button
on (press) { clicked(5); }
Symbol 48 Button
on (press) { clicked(6); }
Symbol 55 MovieClip Frame 1
stop();
Symbol 63 Button
on (release) { gotoAndStop (3); }

Library Items

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

Instance Names

"marker0"Frame 3Symbol 40 MovieClip
"marker1"Frame 3Symbol 40 MovieClip
"marker2"Frame 3Symbol 40 MovieClip
"marker3"Frame 3Symbol 40 MovieClip
"marker4"Frame 3Symbol 40 MovieClip
"marker5"Frame 3Symbol 40 MovieClip
"marker6"Frame 3Symbol 40 MovieClip
"levelUp"Frame 3Symbol 55 MovieClip
"bar"Symbol 15 MovieClip Frame 1Symbol 3 MovieClip

Labels

"game"Frame 3
"end"Frame 13
"loaded"Symbol 15 MovieClip Frame 3
"levelUp"Symbol 55 MovieClip Frame 1

Dynamic Text Variables

_root.clicksSymbol 50 EditableText"123"
_root.levelSymbol 52 EditableText"123"
_root.clicksSymbol 56 EditableText"123"
_root.highScoreSymbol 57 EditableText"123"
_root.messageSymbol 64 EditableText"ABCDefghijklmnopqrs12345678901234567890"




http://swfchan.com/14/67388/info.shtml
Created: 11/4 -2019 13:53:04 Last modified: 11/4 -2019 13:53:04 Server time: 05/11 -2024 09:31:48