Rev 736 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 732 | chris | 1 | Menu "Tutorial1" |
| 2 | { |
||
| 3 | origin 0, 0; |
||
| 4 | fadeTime 0; |
||
| 5 | |||
| 733 | chris | 6 | Image "bg" |
| 7 | { |
||
| 8 | position 0, 140; |
||
| 9 | size 480, 400; |
||
| 10 | align left, top; |
||
| 11 | color 1, 1, 1, 0.5; |
||
| 12 | |||
| 13 | texture "data/textures/black.png"; |
||
| 14 | } |
||
| 15 | |||
| 16 | Label "text1" |
||
| 17 | { |
||
| 18 | position 40, 160; |
||
| 19 | size 400, 40; |
||
| 20 | align left, top; |
||
| 21 | textAlign left, top; |
||
| 22 | color 1, 1, 1, 1; |
||
| 23 | font "ingame"; |
||
| 24 | scale 1; |
||
| 25 | lineBreak 2; |
||
| 26 | caption "Special Blocks can be combined with any color:"; |
||
| 27 | } |
||
| 28 | |||
| 735 | chris | 29 | Image "specialblocks" |
| 30 | { |
||
| 31 | position 60, 200; |
||
| 32 | size 30, 240; |
||
| 33 | align left, top; |
||
| 34 | texture "data/textures/tutorial5_specialblocks.png"; |
||
| 736 | chris | 35 | } |
| 735 | chris | 36 | |
| 733 | chris | 37 | Label "text1" |
| 38 | { |
||
| 39 | position 120, 220; |
||
| 40 | size 400, 40; |
||
| 41 | align left, top; |
||
| 42 | textAlign left, top; |
||
| 43 | color 1, 1, 1, 1; |
||
| 44 | font "ingame"; |
||
| 45 | scale 1; |
||
| 46 | lineBreak 2; |
||
| 47 | caption "Joker: Matches with any color"; |
||
| 48 | } |
||
| 49 | |||
| 50 | Label "text1" |
||
| 51 | { |
||
| 52 | position 120, 280; |
||
| 53 | size 400, 40; |
||
| 54 | align left, top; |
||
| 55 | textAlign left, top; |
||
| 56 | color 1, 1, 1, 1; |
||
| 57 | font "ingame"; |
||
| 58 | scale 1; |
||
| 59 | lineBreak 2; |
||
| 60 | caption "Clock: Stops time for a few seconds"; |
||
| 61 | } |
||
| 62 | |||
| 63 | Label "text1" |
||
| 64 | { |
||
| 65 | position 120, 341; |
||
| 66 | size 400, 50; |
||
| 67 | align left, top; |
||
| 68 | textAlign left, top; |
||
| 69 | color 1, 1, 1, 1; |
||
| 70 | font "ingame"; |
||
| 71 | scale 1; |
||
| 72 | lineBreak 2; |
||
| 73 | caption "Bomb: Clears surrounding 3x3 blocks"; |
||
| 74 | } |
||
| 75 | |||
| 76 | Label "text1" |
||
| 77 | { |
||
| 78 | position 120, 400; |
||
| 79 | size 400, 40; |
||
| 80 | align left, top; |
||
| 81 | textAlign left, top; |
||
| 82 | color 1, 1, 1, 1; |
||
| 83 | font "ingame"; |
||
| 84 | scale 1; |
||
| 85 | lineBreak 2; |
||
| 86 | caption "Crystal: Freezes blocks combined with it."; |
||
| 87 | } |
||
| 88 | |||
| 89 | Label "text1" |
||
| 90 | { |
||
| 91 | position 40, 470; |
||
| 92 | size 400, 40; |
||
| 93 | align left, top; |
||
| 94 | textAlign left, top; |
||
| 95 | color 1, 1, 1, 1; |
||
| 96 | font "ingame"; |
||
| 97 | scale 1; |
||
| 98 | lineBreak 2; |
||
| 99 | caption "Note: Frozen blocks can only be destroyed with a\nBomb or a Superpower."; |
||
| 100 | } |
||
| 101 | |||
| 102 | /* |
||
| 103 | Special Blocks: |
||
| 104 | |||
| 105 | Special Blocks match with any color, but there can only be one type of special block within a clear. |
||
| 106 | |||
| 107 | There are four types: |
||
| 108 | |||
| 109 | Joker - Matches with any color |
||
| 110 | Clock - stops time for a few seconds |
||
| 111 | Bomb - Immediately clears all surrounding 3x3 blocks |
||
| 112 | Crystal - Freezes all blocks within the clear. Frozen blocks can only be cleared using bombs or superpower. |
||
| 113 | */ |
||
| 114 | |||
| 732 | chris | 115 | Label "tutorial1" |
| 116 | { |
||
| 117 | position 240, 70; |
||
| 118 | size 400, 60; |
||
| 733 | chris | 119 | caption "HOW TO PLAY"; |
| 732 | chris | 120 | scale 3.0; |
| 121 | align center, center; |
||
| 122 | textAlign center, center; |
||
| 123 | color 1, 1, 1, 1; |
||
| 124 | shadow false; |
||
| 125 | font "scoring"; |
||
| 126 | } |
||
| 127 | |||
| 128 | Label "page" |
||
| 129 | { |
||
| 130 | position 240, 110; |
||
| 131 | size 400, 60; |
||
| 132 | caption "PAGE 1 OF 8"; |
||
| 133 | scale 3.0; |
||
| 134 | align center, center; |
||
| 135 | textAlign center, center; |
||
| 136 | color 1, 1, 1, 1; |
||
| 137 | shadow false; |
||
| 138 | font "scoring"; |
||
| 139 | } |
||
| 140 | |||
| 141 | SegmentButton "prev" |
||
| 142 | { |
||
| 143 | position 125, 600; |
||
| 144 | size 245, 100; |
||
| 145 | caption "PREVIOUS"; |
||
| 146 | scale 3.0; |
||
| 147 | align center, center; |
||
| 148 | textAlign center, center; |
||
| 149 | color 1, 1, 1, 1; |
||
| 150 | shadow false; |
||
| 151 | font "scoring"; |
||
| 152 | |||
| 153 | texture "data/textures/simplebutton.png"; |
||
| 154 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 155 | |||
| 156 | pushColor 1, 1, 1, 1; |
||
| 157 | pushOffset 0, 2; |
||
| 158 | |||
| 159 | onTouch "prev"; |
||
| 160 | |||
| 161 | pushSound "menu_push"; |
||
| 162 | } |
||
| 163 | |||
| 164 | SegmentButton "next" |
||
| 165 | { |
||
| 166 | position 355, 600; |
||
| 167 | size 245, 100; |
||
| 168 | caption "NEXT"; |
||
| 169 | scale 3.0; |
||
| 170 | align center, center; |
||
| 171 | textAlign center, center; |
||
| 172 | color 1, 1, 1, 1; |
||
| 173 | shadow false; |
||
| 174 | font "scoring"; |
||
| 175 | |||
| 176 | texture "data/textures/simplebutton.png"; |
||
| 177 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 178 | |||
| 179 | pushColor 1, 1, 1, 1; |
||
| 180 | pushOffset 0, 2; |
||
| 181 | |||
| 182 | onTouch "next"; |
||
| 183 | |||
| 184 | pushSound "menu_push"; |
||
| 185 | } |
||
| 186 | |||
| 187 | SegmentButton "back" |
||
| 188 | { |
||
| 189 | position 240, 700; |
||
| 190 | size 475, 100; |
||
| 191 | caption "BACK TO MENU"; |
||
| 192 | scale 3.0; |
||
| 193 | align center, center; |
||
| 194 | textAlign center, center; |
||
| 195 | color 1, 1, 1, 1; |
||
| 196 | shadow false; |
||
| 197 | font "scoring"; |
||
| 198 | |||
| 199 | texture "data/textures/simplebutton.png"; |
||
| 200 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 201 | |||
| 202 | pushColor 1, 1, 1, 1; |
||
| 203 | pushOffset 0, 2; |
||
| 204 | |||
| 1011 | chris | 205 | onTouch "switchState MainMenuState fromTutorial"; |
| 732 | chris | 206 | |
| 207 | pushSound "menu_push"; |
||
| 208 | } |
||
| 209 | } |