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