Rev 732 | Go to most recent revision | 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 240, 170; |
||
| 19 | size 400, 40; |
||
| 20 | align center, top; |
||
| 21 | textAlign center, top; |
||
| 22 | color 1, 1, 1, 1; |
||
| 23 | font "ingame"; |
||
| 24 | scale 1; |
||
| 25 | lineBreak 2; |
||
| 26 | caption "Game Modes:"; |
||
| 27 | } |
||
| 28 | |||
| 29 | Label "text1" |
||
| 30 | { |
||
| 31 | position 40, 220; |
||
| 32 | size 400, 40; |
||
| 33 | align left, top; |
||
| 34 | textAlign left, top; |
||
| 35 | color 1, 1, 1, 1; |
||
| 36 | font "ingame"; |
||
| 37 | scale 1; |
||
| 38 | lineBreak 1.5; |
||
| 39 | caption "Endless Mode:\nPlay with no defined end goal and go for the\nhighest score!"; |
||
| 40 | } |
||
| 41 | |||
| 42 | Label "text1" |
||
| 43 | { |
||
| 44 | position 40, 320; |
||
| 45 | size 400, 40; |
||
| 46 | align left, top; |
||
| 47 | textAlign left, top; |
||
| 48 | color 1, 1, 1, 1; |
||
| 49 | font "ingame"; |
||
| 50 | scale 1; |
||
| 51 | lineBreak 1.5; |
||
| 52 | caption "Puzzle Mode:\nClear all blocks using only the given amount of\nmoves!"; |
||
| 53 | } |
||
| 54 | |||
| 55 | Label "text1" |
||
| 56 | { |
||
| 57 | position 40, 430; |
||
| 58 | size 400, 40; |
||
| 59 | align left, top; |
||
| 60 | textAlign left, top; |
||
| 61 | color 1, 1, 1, 1; |
||
| 62 | font "ingame"; |
||
| 63 | scale 1; |
||
| 64 | lineBreak 1.5; |
||
| 65 | caption "Time Trial Mode:\nAccumulate as many points as possible within a\n2 minute time limit!"; |
||
| 66 | } |
||
| 67 | |||
| 732 | chris | 68 | Label "tutorial1" |
| 69 | { |
||
| 70 | position 240, 70; |
||
| 71 | size 400, 60; |
||
| 733 | chris | 72 | caption "HOW TO PLAY"; |
| 732 | chris | 73 | scale 3.0; |
| 74 | align center, center; |
||
| 75 | textAlign center, center; |
||
| 76 | color 1, 1, 1, 1; |
||
| 77 | shadow false; |
||
| 78 | font "scoring"; |
||
| 79 | } |
||
| 80 | |||
| 81 | Label "page" |
||
| 82 | { |
||
| 83 | position 240, 110; |
||
| 84 | size 400, 60; |
||
| 85 | caption "PAGE 1 OF 8"; |
||
| 86 | scale 3.0; |
||
| 87 | align center, center; |
||
| 88 | textAlign center, center; |
||
| 89 | color 1, 1, 1, 1; |
||
| 90 | shadow false; |
||
| 91 | font "scoring"; |
||
| 92 | } |
||
| 93 | |||
| 94 | SegmentButton "prev" |
||
| 95 | { |
||
| 96 | position 125, 600; |
||
| 97 | size 245, 100; |
||
| 98 | caption "PREVIOUS"; |
||
| 99 | scale 3.0; |
||
| 100 | align center, center; |
||
| 101 | textAlign center, center; |
||
| 102 | color 1, 1, 1, 1; |
||
| 103 | shadow false; |
||
| 104 | font "scoring"; |
||
| 105 | |||
| 106 | texture "data/textures/simplebutton.png"; |
||
| 107 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 108 | |||
| 109 | pushColor 1, 1, 1, 1; |
||
| 110 | pushOffset 0, 2; |
||
| 111 | |||
| 112 | onTouch "prev"; |
||
| 113 | |||
| 114 | pushSound "menu_push"; |
||
| 115 | } |
||
| 116 | |||
| 117 | SegmentButton "next" |
||
| 118 | { |
||
| 119 | position 355, 600; |
||
| 120 | size 245, 100; |
||
| 121 | caption "NEXT"; |
||
| 122 | scale 3.0; |
||
| 123 | align center, center; |
||
| 124 | textAlign center, center; |
||
| 125 | color 1, 1, 1, 1; |
||
| 126 | shadow false; |
||
| 127 | font "scoring"; |
||
| 128 | |||
| 129 | texture "data/textures/simplebutton.png"; |
||
| 130 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 131 | |||
| 132 | pushColor 1, 1, 1, 1; |
||
| 133 | pushOffset 0, 2; |
||
| 134 | |||
| 135 | onTouch "next"; |
||
| 136 | |||
| 137 | pushSound "menu_push"; |
||
| 138 | } |
||
| 139 | |||
| 140 | SegmentButton "back" |
||
| 141 | { |
||
| 142 | position 240, 700; |
||
| 143 | size 475, 100; |
||
| 144 | caption "BACK TO MENU"; |
||
| 145 | scale 3.0; |
||
| 146 | align center, center; |
||
| 147 | textAlign center, center; |
||
| 148 | color 1, 1, 1, 1; |
||
| 149 | shadow false; |
||
| 150 | font "scoring"; |
||
| 151 | |||
| 152 | texture "data/textures/simplebutton.png"; |
||
| 153 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 154 | |||
| 155 | pushColor 1, 1, 1, 1; |
||
| 156 | pushOffset 0, 2; |
||
| 157 | |||
| 158 | onTouch "switchState MainMenuState"; |
||
| 159 | |||
| 160 | pushSound "menu_push"; |
||
| 161 | } |
||
| 162 | } |