Rev 623 | Rev 637 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 532 | chris | 1 | Menu "SubMenuEndless" |
| 2 | { |
||
| 3 | origin 0, 0; |
||
| 4 | |||
| 622 | chris | 5 | Label "title" |
| 6 | { |
||
| 623 | chris | 7 | position 240, 80; |
| 622 | chris | 8 | size 200, 40; |
| 9 | align center, center; |
||
| 10 | font "scoring"; |
||
| 11 | caption "ENDLESS MODE"; |
||
| 12 | scale 4; |
||
| 532 | chris | 13 | } |
| 533 | chris | 14 | |
| 626 | chris | 15 | Image "black" |
| 16 | { |
||
| 17 | position 0, 140; |
||
| 18 | size 480, 370; |
||
| 19 | align left, top; |
||
| 20 | texture "data/textures/black.png"; |
||
| 21 | filter nearest, nearest; |
||
| 22 | color 1, 1, 1, 0.5; |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 533 | chris | 26 | Label "speedLabel" |
| 27 | { |
||
| 623 | chris | 28 | position 100, 170; |
| 533 | chris | 29 | size 100, 20; |
| 30 | align left, center; |
||
| 31 | font "scoring"; |
||
| 32 | caption "Speed Level"; |
||
| 33 | scale 3; |
||
| 34 | } |
||
| 35 | |||
| 36 | Label "speed" |
||
| 37 | { |
||
| 626 | chris | 38 | position 240, 250; |
| 539 | chris | 39 | size 50, 20; |
| 40 | align center, center; |
||
| 41 | textAlign right, center; |
||
| 626 | chris | 42 | font "scoring"; |
| 539 | chris | 43 | caption "10"; |
| 626 | chris | 44 | scale 5; |
| 45 | color 0.7, 1, 0.3, 1; |
||
| 533 | chris | 46 | } |
| 47 | |||
| 539 | chris | 48 | SegmentButton "speedDown" |
| 49 | { |
||
| 623 | chris | 50 | position 200, 250; |
| 539 | chris | 51 | size 120, 100; |
| 52 | caption "-"; |
||
| 53 | scale 2; |
||
| 54 | align right, center; |
||
| 55 | texture "data/textures/simplebutton.png"; |
||
| 56 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 57 | scale 3; |
||
| 58 | font "scoring"; |
||
| 59 | color 1, 1, 1, 1; |
||
| 60 | pushColor 1, 1, 1, 1; |
||
| 61 | pushOffset 0, 2; |
||
| 62 | |||
| 540 | chris | 63 | onTouch "speed_down"; |
| 539 | chris | 64 | pushSound "menu_push"; |
| 65 | } |
||
| 66 | |||
| 67 | SegmentButton "speedUp" |
||
| 68 | { |
||
| 623 | chris | 69 | position 270, 250; |
| 539 | chris | 70 | size 120, 100; |
| 71 | caption "+"; |
||
| 72 | scale 2; |
||
| 73 | align left, center; |
||
| 74 | texture "data/textures/simplebutton.png"; |
||
| 75 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 76 | scale 3; |
||
| 77 | font "scoring"; |
||
| 78 | color 1, 1, 1, 1; |
||
| 79 | pushColor 1, 1, 1, 1; |
||
| 80 | pushOffset 0, 2; |
||
| 81 | |||
| 540 | chris | 82 | onTouch "speed_up"; |
| 539 | chris | 83 | pushSound "menu_push"; |
| 84 | } |
||
| 85 | |||
| 86 | |||
| 533 | chris | 87 | Label "rowsLabel" |
| 88 | { |
||
| 623 | chris | 89 | position 100, 350; |
| 533 | chris | 90 | size 100, 20; |
| 91 | align left, center; |
||
| 92 | font "scoring"; |
||
| 93 | caption "Initial Rows"; |
||
| 94 | scale 3; |
||
| 95 | } |
||
| 539 | chris | 96 | |
| 533 | chris | 97 | Label "rows" |
| 98 | { |
||
| 626 | chris | 99 | position 240, 430; |
| 539 | chris | 100 | textAlign right, center; |
| 101 | size 50, 20; |
||
| 102 | align center, center; |
||
| 626 | chris | 103 | font "scoring"; |
| 539 | chris | 104 | caption "10"; |
| 626 | chris | 105 | scale 5; |
| 106 | color 0.7, 1, 0.3, 1; |
||
| 534 | chris | 107 | } |
| 108 | |||
| 539 | chris | 109 | |
| 110 | SegmentButton "rowsDown" |
||
| 534 | chris | 111 | { |
| 623 | chris | 112 | position 200, 430; |
| 539 | chris | 113 | size 120, 100; |
| 114 | caption "-"; |
||
| 115 | scale 2; |
||
| 534 | chris | 116 | align right, center; |
| 539 | chris | 117 | texture "data/textures/simplebutton.png"; |
| 118 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 119 | scale 3; |
||
| 120 | font "scoring"; |
||
| 121 | color 1, 1, 1, 1; |
||
| 122 | pushColor 1, 1, 1, 1; |
||
| 123 | pushOffset 0, 2; |
||
| 124 | |||
| 540 | chris | 125 | onTouch "rows_down"; |
| 539 | chris | 126 | pushSound "menu_push"; |
| 127 | } |
||
| 128 | |||
| 129 | SegmentButton "rowsUp" |
||
| 130 | { |
||
| 623 | chris | 131 | position 270, 430; |
| 539 | chris | 132 | size 120, 100; |
| 133 | caption "+"; |
||
| 134 | scale 2; |
||
| 135 | align left, center; |
||
| 136 | texture "data/textures/simplebutton.png"; |
||
| 137 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 138 | scale 3; |
||
| 139 | font "scoring"; |
||
| 140 | color 1, 1, 1, 1; |
||
| 141 | pushColor 1, 1, 1, 1; |
||
| 142 | pushOffset 0, 2; |
||
| 540 | chris | 143 | |
| 144 | onTouch "rows_up"; |
||
| 539 | chris | 145 | pushSound "menu_push"; |
| 146 | } |
||
| 532 | chris | 147 | |
| 148 | SegmentButton "start" |
||
| 149 | { |
||
| 623 | chris | 150 | position 240, 580; |
| 151 | size 400, 120; |
||
| 539 | chris | 152 | caption "Start!"; |
| 623 | chris | 153 | align center, center; |
| 532 | chris | 154 | texture "data/textures/simplebutton.png"; |
| 155 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 156 | scale 3; |
||
| 157 | font "scoring"; |
||
| 158 | color 1, 1, 1, 1; |
||
| 159 | pushColor 1, 1, 1, 1; |
||
| 160 | pushOffset 0, 2; |
||
| 540 | chris | 161 | onTouch "start_endless"; |
| 610 | chris | 162 | |
| 163 | clickSound "menu_confirm"; |
||
| 532 | chris | 164 | pushSound "menu_push"; |
| 165 | } |
||
| 166 | |||
| 167 | SegmentButton "back" |
||
| 168 | { |
||
| 623 | chris | 169 | position 240, 690; |
| 170 | size 400, 90; |
||
| 532 | chris | 171 | caption "Back"; |
| 623 | chris | 172 | align center, center; |
| 532 | chris | 173 | texture "data/textures/simplebutton.png"; |
| 174 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 175 | scale 3; |
||
| 176 | font "scoring"; |
||
| 177 | color 1, 1, 1, 1; |
||
| 178 | pushColor 1, 1, 1, 1; |
||
| 179 | pushOffset 0, 2; |
||
| 622 | chris | 180 | onTouch "submenu_back"; |
| 532 | chris | 181 | |
| 182 | pushSound "menu_push"; |
||
| 183 | } |
||
| 184 | } |