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

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

1D RGB Flipper Puzzle 1.0.swf

This is the info page for
Flash #76226

(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 11 levels
to beat the game. Try and use as few clicks as possible!

Thanks to all
reviewers who give
constructive
criticism. Negative
feedback is brilliant
when it's specific
and well explained!
Any specific praise is
also appreciated. I
love reviews!

Design,coding and 'art' by
Behrooz B. Shahriari.
Music by LJCoffee.
Preloader by Newgrounds.
Fonts: BlueHighway,
HitTheRoad, soulPapa,
Aiwa Hifi (A.D.).
Based on 2D flipping
puzzles.

12388

clicks:

12388

target:

123

level:

BGM?

BGM?

BGM?

123

123

best:

replay?

replay?

replay?

ABCDefghijklmnopqrs12345678901234567890

ActionScript [AS1/AS2]

Frame 1
stopAllSounds(); var highScore = Number.MAX_VALUE;
Frame 2
function endGame() { if (clicks < highScore) { highScore = clicks; } if (84 < clicks) { message = "85+ Were you \ntrying to do badly? \nNext time pay attention!"; } else if (70 < clicks) { message = "71-84 Use your brain.\n It shouldn't be hard\n to do a lot better."; } else if (60 < clicks) { message = "61-70 Think! Plan!\n You had a lot of wasted\n clicks there."; } else if (52 < clicks) { message = "53-60 Rather poor. \nI'm kinda disappointed \nin you!"; } else if (47 < clicks) { message = "48-52 Not terrible...\n not good either. \nPlan all moves."; } else if (42 < clicks) { message = "43-47 A good score! \nI think you could\n do better though."; } else if (35 < clicks) { message = "36-42 Amazing stuff!\nBut you wasted a few moves.\nPlan it all in advance!"; } else if (34 < clicks) { message = "35! A perfect score!\n YOU DA MAN!"; } else { message = "0-34 There was an error.\n Please let me know."; } gotoAndStop (12); } function nextLevel() { level++; trace("#levels:" + levelLayouts.length); trace("level: " + level); if (level >= NUMBEROFLEVELS) { trace("beaten"); endGame(); } else { setupLevel(); } } function setupLevel() { var i; var numberToShift = levelComplexity[level]; var shifted = 99; var shiftedAlso = 99; var shifting = 0; var initialFrame = Math.ceil(Math.random() * 3); leveldisplay = ((level + 1) + " of ") + levelComplexity.length; _root.levelUp.gotoAndPlay("levelUp"); trace("levelup"); i = 0; while ((NUMBEROFMARKERS - 1) >= i) { circleStates[i] = initialFrame; i++; } i = 1; while (numberToShift >= i) { do { shifting = Math.ceil(Math.random() * (NUMBEROFMARKERS - 1)); } while ((shifting == shifted) || (shifting == shiftedAlso)); shiftBack(shifting); shiftedAlso = shifted; shifted = shifting; i++; } updateMarkers(); } function checkForWin() { var i = 0; var value = circleStates[0]; i = 1; while ((NUMBEROFMARKERS - 1) >= i) { if (circleStates[i] != value) { return(false); } i++; } return(true); } function updateMarkers() { var i; i = 0; while ((NUMBEROFMARKERS - 1) >= i) { eval ("marker" + i).gotoAndStop(circleStates[i]); i++; } } function clicked(circleNumber) { var changing; clicks++; trace("clicked" + circleNumber); changing = circleNumber - 1; while ((circleNumber + 1) >= changing) { if ((changing >= 0) && ((NUMBEROFMARKERS - 1) >= changing)) { if (levelMaking) { circleStates[changing]--; if (circleStates[changing] < 1) { circleStates[changing] = POTENTIALSTATES; } } else { circleStates[changing]++; if (POTENTIALSTATES < circleStates[changing]) { circleStates[changing] = 1; } } } changing++; } updateMarkers(); if (checkForWin()) { trace("WON!"); nextLevel(); } trace("circleStates: " + circleStates); } function shiftBack(circleNumber) { var changing; trace("shiftback " + circleNumber); changing = circleNumber - 1; while ((circleNumber + 1) >= changing) { if ((changing >= 0) && ((NUMBEROFMARKERS - 1) >= changing)) { circleStates[changing]--; if (circleStates[changing] < 1) { circleStates[changing] = POTENTIALSTATES; } } changing++; } updateMarkers(); if (checkForWin()) { trace("WON!"); nextLevel(); } trace("circleStates: " + circleStates); } var levelMaking = false; var NUMBEROFMARKERS = 7; var POTENTIALSTATES = 3; var POTENTIALAYOUTS = 7; var circleStates = new Array(2, 2, 1, 2, 1, 2, 2); var clicks = 0; var time = 0; var level = 0; var levelDisplay = "0 of 0"; var levelComplexity = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5]; var NUMBEROFLEVELS = levelComplexity.length; var message = "YOU SUCK!"; var target = 0; var i; i = 0; while (i < levelComplexity.length) { target = target + levelComplexity[i]; i++; } 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 48 Button
on (press) { clicked(0); }
Symbol 49 Button
on (press) { clicked(1); }
Symbol 50 Button
on (press) { clicked(2); }
Symbol 51 Button
on (press) { clicked(3); }
Symbol 52 Button
on (press) { clicked(4); }
Symbol 53 Button
on (press) { clicked(5); }
Symbol 54 Button
on (press) { clicked(6); }
Symbol 63 MovieClip Frame 1
stop();
Symbol 69 Button
on (release) { play(); }
Symbol 71 MovieClip Frame 5
stop();
Symbol 71 MovieClip Frame 9
stopAllSounds();
Symbol 71 MovieClip Frame 15
stop();
Symbol 79 Button
on (release) { gotoAndStop (2); }

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
Symbol 17 TextUses:16Used by:Timeline
Symbol 18 FontUsed by:19
Symbol 19 TextUses:18Used by:Timeline
Symbol 20 FontUsed by:21
Symbol 21 TextUses:20Used by:Timeline
Symbol 22 ShapeTweeningUsed by:38
Symbol 23 ShapeTweeningUsed by:38
Symbol 24 ShapeTweeningUsed by:38
Symbol 25 ShapeTweeningUsed by:38
Symbol 26 ShapeTweeningUsed by:38
Symbol 27 ShapeTweeningUsed by:38
Symbol 28 ShapeTweeningUsed by:38
Symbol 29 ShapeTweeningUsed by:38
Symbol 30 ShapeTweeningUsed by:38
Symbol 31 ShapeTweeningUsed by:38
Symbol 32 ShapeTweeningUsed by:38
Symbol 33 ShapeTweeningUsed by:38
Symbol 34 ShapeTweeningUsed by:38
Symbol 35 ShapeTweeningUsed by:38
Symbol 36 ShapeTweeningUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37Used by:Timeline
Symbol 39 GraphicUsed by:42
Symbol 40 GraphicUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:39 40 41Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:Timeline
Symbol 46 GraphicUsed by:48 49 50 51 52 53 54
Symbol 47 GraphicUsed by:48 49 50 51 52 53 54
Symbol 48 ButtonUses:46 47Used by:Timeline
Symbol 49 ButtonUses:46 47Used by:Timeline
Symbol 50 ButtonUses:46 47Used by:Timeline
Symbol 51 ButtonUses:46 47Used by:Timeline
Symbol 52 ButtonUses:46 47Used by:Timeline
Symbol 53 ButtonUses:46 47Used by:Timeline
Symbol 54 ButtonUses:46 47Used by:Timeline
Symbol 55 FontUsed by:56 57 58 59 60 61 72 73 74 75 76 77 80
Symbol 56 EditableTextUses:55Used by:Timeline
Symbol 57 TextUses:55Used by:Timeline
Symbol 58 EditableTextUses:55Used by:Timeline
Symbol 59 TextUses:55Used by:Timeline
Symbol 60 EditableTextUses:55Used by:Timeline
Symbol 61 TextUses:55Used by:Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:Timeline
Symbol 64 FontUsed by:65 66 67
Symbol 65 TextUses:64Used by:69
Symbol 66 TextUses:64Used by:69
Symbol 67 TextUses:64Used by:69
Symbol 68 GraphicUsed by:69
Symbol 69 ButtonUses:65 66 67 68Used by:71
Symbol 70 SoundUsed by:71
Symbol 71 MovieClipUses:69 70Used by:Timeline
Symbol 72 EditableTextUses:55Used by:Timeline
Symbol 73 EditableTextUses:55Used by:Timeline
Symbol 74 TextUses:55Used by:Timeline
Symbol 75 TextUses:55Used by:79
Symbol 76 TextUses:55Used by:79
Symbol 77 TextUses:55Used by:79
Symbol 78 GraphicUsed by:79
Symbol 79 ButtonUses:75 76 77 78Used by:Timeline
Symbol 80 EditableTextUses:55Used by:Timeline

Instance Names

"marker0"Frame 2Symbol 42 MovieClip
"marker1"Frame 2Symbol 42 MovieClip
"marker2"Frame 2Symbol 42 MovieClip
"marker3"Frame 2Symbol 42 MovieClip
"marker4"Frame 2Symbol 42 MovieClip
"marker5"Frame 2Symbol 42 MovieClip
"marker6"Frame 2Symbol 42 MovieClip
"levelUp"Frame 2Symbol 63 MovieClip
"bar"Symbol 15 MovieClip Frame 1Symbol 3 MovieClip

Labels

"game"Frame 2
"end"Frame 12
"loaded"Symbol 15 MovieClip Frame 3
"levelUp"Symbol 63 MovieClip Frame 1

Dynamic Text Variables

_root.clicksSymbol 56 EditableText"12388"
_root.targetSymbol 58 EditableText"12388"
_root.levelDisplaySymbol 60 EditableText"123"
_root.clicksSymbol 72 EditableText"123"
_root.highScoreSymbol 73 EditableText"123"
_root.messageSymbol 80 EditableText"ABCDefghijklmnopqrs12345678901234567890"




http://swfchan.com/16/76226/info.shtml
Created: 5/4 -2019 06:02:17 Last modified: 5/4 -2019 06:02:17 Server time: 08/05 -2024 11:07:55