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

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

NSG010 - Katakana Game 0.1.swf

This is the info page for
Flash #62822

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


Text
Concept, coding and design by Behrooz B. Shahriari.
Music by LJCoffee.

K
a
t
a
k
a
n
a

G
a
m
e

a

i

u

e

o

ka

ki

ku

ke

ko

sa

shi

su

se

so

ta

chi

tsu

te

to

A

I

U

E

O

KA

KI

KU

KE

KO

SA

SHI

SU

SE

SO

TA

CHI

TSU

TE

TO

1234567890

score-

lives-

3

level-

9

1234567890

high  -

replay?

replay?

replay?

1234567890

9

1234567890

ActionScript [AS1/AS2]

Frame 3
function newGame() { timeLimit = MAXTIMELIMIT; lives = 3; difficultyLevel = 1; score = 0; nextLevel(); } function organiseKana() { var i; var j; var kanaToSort; var sortedKana = new Array(20); var possibleRotations = (difficultyLevel % 4); if (possibleRotations == 0) { possibleRotations = 4; } i = 200; while (400 >= i) { j = 125; while (275 >= j) { do { kanaToSort = Math.ceil(Math.random() * 20); } while (sortedKana[kanaToSort - 1] == "sorted"); eval ("kana" + kanaToSort)._x = i; eval ("kana" + kanaToSort)._y = j; eval ("kana" + kanaToSort)._rotation = Math.floor(Math.random() * possibleRotations) * 90; sortedKana[kanaToSort - 1] = "sorted"; j = j + 50; } i = i + 50; } } function clicked(kanaNumber) { if (kanaNumber == targetKana) { score++; score = score + Math.round(timer.timeLeft / 100); if (highScore < score) { highScore = score; } if ((LENGTHOFLEVEL * 12) < score) { timeLimit = MAXTIMELIMIT - (MAXTIMELIMIT * ((score - (LENGTHOFLEVEL * 12)) / (LENGTHOFLEVEL * 12))); trace("TimeLimit" + timeLimit); } nextLevel(); trace("yey"); } else { lose(); trace("doh"); } } function lose() { lives--; if (0 >= lives) { gameOver(); } else { lifeLostAnim.play(); nextLevel(); } } function nextLevel() { var oldDifficulty = difficultyLevel; var newDifficulty = Math.ceil(score / LENGTHOFLEVEL); if (oldDifficulty < newDifficulty) { levelPlusAnim.play(); difficultyLevel = newDifficulty; } gotoAndStop (13); } function gameOver() { gotoAndStop (33); } var SHOWCLICKRATIO = 0.17; var MAXTIMELIMIT = 20000; var MINTIMELIMIT = 7000; var LENGTHOFLEVEL = 500; var lives = 3; var targetKana = 7; var difficultyLevel = 1; var timeLimit = MAXTIMELIMIT; var score; var highScore = 0; newGame();
Frame 13
targetKana = Math.ceil(Math.random() * 20); displayKana.gotoAndStop(targetKana); stop();
Instance of Symbol 151 MovieClip "displayKana" in Frame 13
onClipEvent (load) { var timeLoaded = getTimer(); var currentTime = getTimer(); var timeElapsed = (currentTime - timeLoaded); } onClipEvent (enterFrame) { currentTime = getTimer(); timeElapsed = currentTime - timeLoaded; if ((_root.SHOWCLICKRATIO * _root.timeLimit) < timeElapsed) { _root.gotoAndStop("kanaSelection"); } }
Frame 23
organiseKana(); stop();
Instance of Symbol 161 MovieClip "timer" in Frame 23
onClipEvent (load) { var startTime = getTimer(); var currentTime = getTimer(); var timeElapsed = (currentTime - startTime); var timeLeft = _root.timeLimit; var lost = false; } onClipEvent (enterFrame) { currentTime = getTimer(); timeElapsed = currentTime - startTime; timeLeft = _root.timeLimit - timeElapsed; _xscale = ((timeLeft / _root.timeLimit) * 100); _x = 300; if ((0 >= timeLeft) && (lost == false)) { _root.lose(); lost = true; } }
Symbol 11 Button
on (release) { getURL ("http://www.newgrounds.com", "blank"); }
Symbol 16 Button
on (release) { _root.play(); }
Symbol 17 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop (3); }
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 26 Button
on (press) { _root.clicked(1); }
Symbol 30 Button
on (press) { _root.clicked(2); }
Symbol 34 Button
on (press) { _root.clicked(3); }
Symbol 38 Button
on (press) { _root.clicked(4); }
Symbol 42 Button
on (press) { _root.clicked(5); }
Symbol 46 Button
on (press) { _root.clicked(6); }
Symbol 50 Button
on (press) { _root.clicked(7); }
Symbol 54 Button
on (press) { _root.clicked(8); }
Symbol 58 Button
on (press) { _root.clicked(9); }
Symbol 62 Button
on (press) { _root.clicked(10); }
Symbol 66 Button
on (press) { _root.clicked(11); }
Symbol 70 Button
on (press) { _root.clicked(12); }
Symbol 74 Button
on (press) { _root.clicked(13); }
Symbol 78 Button
on (press) { _root.clicked(14); }
Symbol 82 Button
on (press) { _root.clicked(15); }
Symbol 86 Button
on (press) { _root.clicked(16); }
Symbol 90 Button
on (press) { _root.clicked(17); }
Symbol 94 Button
on (press) { _root.clicked(18); }
Symbol 97 Button
on (press) { _root.clicked(19); }
Symbol 101 Button
on (press) { _root.clicked(20); }
Symbol 126 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Instance of Symbol 131 MovieClip in Symbol 151 MovieClip Frame 1
onClipEvent (load) { if (4 >= _root.difficultyLevel) { _visible = false; } else if (8 >= _root.difficultyLevel) { _alpha = 80; } }
Symbol 166 Button
on (release) { newGame(); }

Library Items

Symbol 1 FontUsed by:2 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
Symbol 2 TextUses:1Used by:Timeline
Symbol 3 GraphicUsed by:17 161
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:17
Symbol 6 GraphicUsed by:17
Symbol 7 GraphicUsed by:10 11
Symbol 8 GraphicUsed by:10 11
Symbol 9 GraphicUsed by:10 11
Symbol 10 MovieClipUses:7 8 9Used by:11
Symbol 11 ButtonUses:10 7 8 9Used by:17
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 ButtonUses:12 13 14 15Used by:17
Symbol 17 MovieClipUses:3 5 6 11 16Used by:Timeline
Symbol 18 GraphicUsed by:166  Timeline
Symbol 19 FontUsed by:20 21
Symbol 20 TextUses:19Used by:Timeline
Symbol 21 TextUses:19Used by:Timeline
Symbol 22 GraphicUsed by:23 26 30 34 38 42 46 50 54 58 62 66 70 74 78 82 86 90 94 97 101 131
Symbol 23 MovieClipUses:22Used by:26 30 34 38 42 46 50 54 58 62 66 70 74 78 82 86 90 94 97 101 151
Symbol 24 GraphicUsed by:26 151
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:23 24 25 22Used by:27
Symbol 27 MovieClipUses:26Used by:123  Timeline
Symbol 28 GraphicUsed by:30 151
Symbol 29 GraphicUsed by:30
Symbol 30 ButtonUses:23 28 29 22Used by:31
Symbol 31 MovieClipUses:30Used by:123  Timeline
Symbol 32 GraphicUsed by:34 151
Symbol 33 GraphicUsed by:34
Symbol 34 ButtonUses:23 32 33 22Used by:35
Symbol 35 MovieClipUses:34Used by:123  Timeline
Symbol 36 GraphicUsed by:38 151
Symbol 37 GraphicUsed by:38
Symbol 38 ButtonUses:23 36 37 22Used by:39
Symbol 39 MovieClipUses:38Used by:123  Timeline
Symbol 40 GraphicUsed by:42 151
Symbol 41 GraphicUsed by:42
Symbol 42 ButtonUses:23 40 41 22Used by:43
Symbol 43 MovieClipUses:42Used by:123  Timeline
Symbol 44 GraphicUsed by:46 151
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:23 44 45 22Used by:47
Symbol 47 MovieClipUses:46Used by:123  Timeline
Symbol 48 GraphicUsed by:50 151
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:23 48 49 22Used by:51
Symbol 51 MovieClipUses:50Used by:123  Timeline
Symbol 52 GraphicUsed by:54 151
Symbol 53 GraphicUsed by:54
Symbol 54 ButtonUses:23 52 53 22Used by:55
Symbol 55 MovieClipUses:54Used by:123  Timeline
Symbol 56 GraphicUsed by:58 151
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:23 56 57 22Used by:59
Symbol 59 MovieClipUses:58Used by:123  Timeline
Symbol 60 GraphicUsed by:62 151
Symbol 61 GraphicUsed by:62
Symbol 62 ButtonUses:23 60 61 22Used by:63
Symbol 63 MovieClipUses:62Used by:123  Timeline
Symbol 64 GraphicUsed by:66 151
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:23 64 65 22Used by:67
Symbol 67 MovieClipUses:66Used by:123  Timeline
Symbol 68 GraphicUsed by:70 151
Symbol 69 GraphicUsed by:70
Symbol 70 ButtonUses:23 68 69 22Used by:71
Symbol 71 MovieClipUses:70Used by:123  Timeline
Symbol 72 GraphicUsed by:74 151
Symbol 73 GraphicUsed by:74
Symbol 74 ButtonUses:23 72 73 22Used by:75
Symbol 75 MovieClipUses:74Used by:123  Timeline
Symbol 76 GraphicUsed by:78 151
Symbol 77 GraphicUsed by:78
Symbol 78 ButtonUses:23 76 77 22Used by:79
Symbol 79 MovieClipUses:78Used by:123  Timeline
Symbol 80 GraphicUsed by:82 151
Symbol 81 GraphicUsed by:82
Symbol 82 ButtonUses:23 80 81 22Used by:83
Symbol 83 MovieClipUses:82Used by:123  Timeline
Symbol 84 GraphicUsed by:86 151
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:23 84 85 22Used by:87
Symbol 87 MovieClipUses:86Used by:123  Timeline
Symbol 88 GraphicUsed by:90 151
Symbol 89 GraphicUsed by:90
Symbol 90 ButtonUses:23 88 89 22Used by:91
Symbol 91 MovieClipUses:90Used by:123  Timeline
Symbol 92 GraphicUsed by:94 151
Symbol 93 GraphicUsed by:94
Symbol 94 ButtonUses:23 92 93 22Used by:95
Symbol 95 MovieClipUses:94Used by:123  Timeline
Symbol 96 GraphicUsed by:97 151
Symbol 97 ButtonUses:23 96 22Used by:98
Symbol 98 MovieClipUses:97Used by:123  Timeline
Symbol 99 GraphicUsed by:101 151
Symbol 100 GraphicUsed by:101
Symbol 101 ButtonUses:23 99 100 22Used by:102
Symbol 102 MovieClipUses:101Used by:123  Timeline
Symbol 103 TextUses:1Used by:123
Symbol 104 TextUses:1Used by:123
Symbol 105 TextUses:1Used by:123
Symbol 106 TextUses:1Used by:123
Symbol 107 TextUses:1Used by:123
Symbol 108 TextUses:1Used by:123
Symbol 109 TextUses:1Used by:123
Symbol 110 TextUses:1Used by:123
Symbol 111 TextUses:1Used by:123
Symbol 112 TextUses:1Used by:123
Symbol 113 TextUses:1Used by:123
Symbol 114 TextUses:1Used by:123
Symbol 115 TextUses:1Used by:123
Symbol 116 TextUses:1Used by:123
Symbol 117 TextUses:1Used by:123
Symbol 118 TextUses:1Used by:123
Symbol 119 TextUses:1Used by:123
Symbol 120 TextUses:1Used by:123
Symbol 121 TextUses:1Used by:123
Symbol 122 TextUses:1Used by:123
Symbol 123 MovieClipUses:27 31 35 39 43 47 51 55 59 63 67 71 75 79 83 87 91 95 98 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122Used by:Timeline
Symbol 124 SoundUsed by:Timeline
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:Timeline
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:Timeline
Symbol 129 FontUsed by:130 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 154 155 157 160 163 164 165
Symbol 130 TextUses:129Used by:151
Symbol 131 MovieClipUses:22Used by:151
Symbol 132 TextUses:129Used by:151
Symbol 133 TextUses:129Used by:151
Symbol 134 TextUses:129Used by:151
Symbol 135 TextUses:129Used by:151
Symbol 136 TextUses:129Used by:151
Symbol 137 TextUses:129Used by:151
Symbol 138 TextUses:129Used by:151
Symbol 139 TextUses:129Used by:151
Symbol 140 TextUses:129Used by:151
Symbol 141 TextUses:129Used by:151
Symbol 142 TextUses:129Used by:151
Symbol 143 TextUses:129Used by:151
Symbol 144 TextUses:129Used by:151
Symbol 145 TextUses:129Used by:151
Symbol 146 TextUses:129Used by:151
Symbol 147 TextUses:129Used by:151
Symbol 148 TextUses:129Used by:151
Symbol 149 TextUses:129Used by:151
Symbol 150 TextUses:129Used by:151
Symbol 151 MovieClipUses:130 23 24 131 132 28 133 32 134 36 135 40 136 44 137 48 138 52 139 56 140 60 141 64 142 68 143 72 144 76 145 80 146 84 147 88 148 92 149 96 150 99Used by:Timeline
Symbol 152 FontUsed by:153 156 158 159 167 168 169
Symbol 153 EditableTextUses:152Used by:Timeline
Symbol 154 TextUses:129Used by:Timeline
Symbol 155 TextUses:129Used by:Timeline
Symbol 156 EditableTextUses:152Used by:Timeline
Symbol 157 TextUses:129Used by:Timeline
Symbol 158 EditableTextUses:152Used by:Timeline
Symbol 159 EditableTextUses:152Used by:Timeline
Symbol 160 TextUses:129Used by:Timeline
Symbol 161 MovieClipUses:3Used by:Timeline
Symbol 162 GraphicUsed by:Timeline
Symbol 163 TextUses:129Used by:166
Symbol 164 TextUses:129Used by:166
Symbol 165 TextUses:129Used by:166
Symbol 166 ButtonUses:163 164 165 18Used by:Timeline
Symbol 167 EditableTextUses:152Used by:Timeline
Symbol 168 EditableTextUses:152Used by:Timeline
Symbol 169 EditableTextUses:152Used by:Timeline

Instance Names

"lifeLostAnim"Frame 3Symbol 126 MovieClip
"levelPlusAnim"Frame 3Symbol 128 MovieClip
"displayKana"Frame 13Symbol 151 MovieClip
"kana1"Frame 23Symbol 27 MovieClip
"kana2"Frame 23Symbol 31 MovieClip
"kana3"Frame 23Symbol 35 MovieClip
"kana4"Frame 23Symbol 39 MovieClip
"kana5"Frame 23Symbol 43 MovieClip
"kana6"Frame 23Symbol 47 MovieClip
"kana7"Frame 23Symbol 51 MovieClip
"kana8"Frame 23Symbol 55 MovieClip
"kana9"Frame 23Symbol 59 MovieClip
"kana10"Frame 23Symbol 63 MovieClip
"kana11"Frame 23Symbol 67 MovieClip
"kana12"Frame 23Symbol 71 MovieClip
"kana13"Frame 23Symbol 75 MovieClip
"kana14"Frame 23Symbol 79 MovieClip
"kana15"Frame 23Symbol 83 MovieClip
"kana16"Frame 23Symbol 87 MovieClip
"kana17"Frame 23Symbol 91 MovieClip
"kana18"Frame 23Symbol 95 MovieClip
"kana19"Frame 23Symbol 98 MovieClip
"kana20"Frame 23Symbol 102 MovieClip
"timer"Frame 23Symbol 161 MovieClip
"bar"Symbol 17 MovieClip Frame 1Symbol 5 MovieClip
"kana1"Symbol 123 MovieClip Frame 1Symbol 27 MovieClip
"kana2"Symbol 123 MovieClip Frame 1Symbol 31 MovieClip
"kana3"Symbol 123 MovieClip Frame 1Symbol 35 MovieClip
"kana4"Symbol 123 MovieClip Frame 1Symbol 39 MovieClip
"kana5"Symbol 123 MovieClip Frame 1Symbol 43 MovieClip
"kana6"Symbol 123 MovieClip Frame 1Symbol 47 MovieClip
"kana7"Symbol 123 MovieClip Frame 1Symbol 51 MovieClip
"kana8"Symbol 123 MovieClip Frame 1Symbol 55 MovieClip
"kana9"Symbol 123 MovieClip Frame 1Symbol 59 MovieClip
"kana10"Symbol 123 MovieClip Frame 1Symbol 63 MovieClip
"kana11"Symbol 123 MovieClip Frame 1Symbol 67 MovieClip
"kana12"Symbol 123 MovieClip Frame 1Symbol 71 MovieClip
"kana13"Symbol 123 MovieClip Frame 1Symbol 75 MovieClip
"kana14"Symbol 123 MovieClip Frame 1Symbol 79 MovieClip
"kana15"Symbol 123 MovieClip Frame 1Symbol 83 MovieClip
"kana16"Symbol 123 MovieClip Frame 1Symbol 87 MovieClip
"kana17"Symbol 123 MovieClip Frame 1Symbol 91 MovieClip
"kana18"Symbol 123 MovieClip Frame 1Symbol 95 MovieClip
"kana19"Symbol 123 MovieClip Frame 1Symbol 98 MovieClip
"kana20"Symbol 123 MovieClip Frame 1Symbol 102 MovieClip

Labels

"kanaDisplay"Frame 13
"kanaSelection"Frame 23
"gameOver"Frame 33
"loaded"Symbol 17 MovieClip Frame 3

Dynamic Text Variables

_root.scoreSymbol 153 EditableText"1234567890"
_root.livesSymbol 156 EditableText"3"
_root.difficultyLevelSymbol 158 EditableText"9"
_root.highScoreSymbol 159 EditableText"1234567890"
_root.scoreSymbol 167 EditableText"1234567890"
_root.difficultyLevelSymbol 168 EditableText"9"
_root.highScoreSymbol 169 EditableText"1234567890"




http://swfchan.com/13/62822/info.shtml
Created: 14/4 -2019 01:14:13 Last modified: 14/4 -2019 01:14:13 Server time: 22/12 -2024 18:24:46