Rev 735 | 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 | |||
| 737 | chris | 16 | Image "block" |
| 17 | { |
||
| 18 | position 200, 190; |
||
| 19 | size 40, 40; |
||
| 20 | align center, top; |
||
| 21 | texture "data/textures/tutorial1_redblock.png"; |
||
| 22 | } |
||
| 23 | |||
| 24 | Image "swipe" |
||
| 25 | { |
||
| 26 | position 220, 180; |
||
| 27 | size 140, 140; |
||
| 28 | align center, top; |
||
| 29 | texture "data/textures/tutorial1_swipe.png"; |
||
| 30 | filter linear, linear; |
||
| 31 | color 1, 1, 1, 0.8; |
||
| 32 | } |
||
| 33 | |||
| 733 | chris | 34 | Label "text1" |
| 35 | { |
||
| 734 | chris | 36 | position 40, 340; |
| 733 | chris | 37 | size 400, 40; |
| 38 | align left, top; |
||
| 39 | textAlign left, top; |
||
| 40 | color 1, 1, 1, 1; |
||
| 41 | font "ingame"; |
||
| 42 | scale 1; |
||
| 43 | lineBreak 2; |
||
| 734 | chris | 44 | caption "Move a block right or left by touching and swiping.\nThe block will swap places with any block in the\ntarget space."; |
| 733 | chris | 45 | } |
| 46 | |||
| 735 | chris | 47 | Image "blocks" |
| 48 | { |
||
| 49 | position 240, 450; |
||
| 50 | size 480, 28; |
||
| 51 | align center, center; |
||
| 52 | color 1, 1, 1, 1; |
||
| 53 | texture "data/textures/tutorial1_blocks.png"; |
||
| 54 | } |
||
| 55 | |||
| 734 | chris | 56 | Label "text1" |
| 57 | { |
||
| 58 | position 40, 480; |
||
| 59 | size 400, 40; |
||
| 60 | align left, top; |
||
| 61 | textAlign left, top; |
||
| 62 | color 1, 1, 1, 1; |
||
| 63 | font "ingame"; |
||
| 64 | scale 1; |
||
| 65 | lineBreak 2; |
||
| 66 | caption "Only color blocks and Joker blocks can be moved."; |
||
| 67 | } |
||
| 68 | |||
| 732 | chris | 69 | Label "tutorial1" |
| 70 | { |
||
| 71 | position 240, 70; |
||
| 72 | size 400, 60; |
||
| 733 | chris | 73 | caption "HOW TO PLAY"; |
| 732 | chris | 74 | scale 3.0; |
| 75 | align center, center; |
||
| 76 | textAlign center, center; |
||
| 77 | color 1, 1, 1, 1; |
||
| 78 | shadow false; |
||
| 79 | font "scoring"; |
||
| 80 | } |
||
| 81 | |||
| 82 | Label "page" |
||
| 83 | { |
||
| 84 | position 240, 110; |
||
| 85 | size 400, 60; |
||
| 86 | caption "PAGE 1 OF 8"; |
||
| 87 | scale 3.0; |
||
| 88 | align center, center; |
||
| 89 | textAlign center, center; |
||
| 90 | color 1, 1, 1, 1; |
||
| 91 | shadow false; |
||
| 92 | font "scoring"; |
||
| 93 | } |
||
| 94 | |||
| 95 | SegmentButton "prev" |
||
| 96 | { |
||
| 97 | position 125, 600; |
||
| 98 | size 245, 100; |
||
| 99 | caption "PREVIOUS"; |
||
| 100 | scale 3.0; |
||
| 101 | align center, center; |
||
| 102 | textAlign center, center; |
||
| 103 | color 1, 1, 1, 1; |
||
| 104 | shadow false; |
||
| 105 | font "scoring"; |
||
| 106 | |||
| 107 | texture "data/textures/simplebutton.png"; |
||
| 108 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 109 | |||
| 110 | pushColor 1, 1, 1, 1; |
||
| 111 | pushOffset 0, 2; |
||
| 112 | |||
| 113 | onTouch "prev"; |
||
| 114 | |||
| 115 | pushSound "menu_push"; |
||
| 116 | } |
||
| 117 | |||
| 118 | SegmentButton "next" |
||
| 119 | { |
||
| 120 | position 355, 600; |
||
| 121 | size 245, 100; |
||
| 122 | caption "NEXT"; |
||
| 123 | scale 3.0; |
||
| 124 | align center, center; |
||
| 125 | textAlign center, center; |
||
| 126 | color 1, 1, 1, 1; |
||
| 127 | shadow false; |
||
| 128 | font "scoring"; |
||
| 129 | |||
| 130 | texture "data/textures/simplebutton.png"; |
||
| 131 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 132 | |||
| 133 | pushColor 1, 1, 1, 1; |
||
| 134 | pushOffset 0, 2; |
||
| 135 | |||
| 136 | onTouch "next"; |
||
| 137 | |||
| 138 | pushSound "menu_push"; |
||
| 139 | } |
||
| 140 | |||
| 141 | SegmentButton "back" |
||
| 142 | { |
||
| 143 | position 240, 700; |
||
| 144 | size 475, 100; |
||
| 145 | caption "BACK TO MENU"; |
||
| 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 "switchState MainMenuState"; |
||
| 160 | |||
| 161 | pushSound "menu_push"; |
||
| 162 | } |
||
| 163 | } |