Rev 734 | 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 | |||
| 739 | chris | 16 | Image "upwards" |
| 17 | { |
||
| 18 | position 120, 280; |
||
| 19 | size 128, 256; |
||
| 20 | align center, center; |
||
| 21 | texture "data/textures/tutorial4_moveupwards.png"; |
||
| 22 | } |
||
| 23 | |||
| 24 | Image "speedup" |
||
| 25 | { |
||
| 26 | position 360, 280; |
||
| 27 | size 128, 256; |
||
| 28 | align center, center; |
||
| 29 | texture "data/textures/tutorial4_speedup.png"; |
||
| 30 | } |
||
| 31 | |||
| 733 | chris | 32 | Label "text1" |
| 33 | { |
||
| 739 | chris | 34 | position 40, 410; |
| 733 | chris | 35 | size 400, 40; |
| 36 | align left, top; |
||
| 37 | textAlign left, top; |
||
| 38 | color 1, 1, 1, 1; |
||
| 39 | font "ingame"; |
||
| 40 | scale 1; |
||
| 41 | lineBreak 2; |
||
| 734 | chris | 42 | caption "Blocks will move upwards with time.\nIf the blocks reach the top, the game is over."; |
| 733 | chris | 43 | } |
| 44 | |||
| 734 | chris | 45 | Label "text1" |
| 46 | { |
||
| 739 | chris | 47 | position 40, 470; |
| 734 | chris | 48 | size 400, 40; |
| 49 | align left, top; |
||
| 50 | textAlign left, top; |
||
| 51 | color 1, 1, 1, 1; |
||
| 52 | font "ingame"; |
||
| 53 | scale 1; |
||
| 54 | lineBreak 2; |
||
| 55 | caption "You can speed up the up-movement by touching\nany free space and dragging upwards."; |
||
| 56 | } |
||
| 57 | |||
| 732 | chris | 58 | Label "tutorial1" |
| 59 | { |
||
| 60 | position 240, 70; |
||
| 61 | size 400, 60; |
||
| 733 | chris | 62 | caption "HOW TO PLAY"; |
| 732 | chris | 63 | scale 3.0; |
| 64 | align center, center; |
||
| 65 | textAlign center, center; |
||
| 66 | color 1, 1, 1, 1; |
||
| 67 | shadow false; |
||
| 68 | font "scoring"; |
||
| 69 | } |
||
| 70 | |||
| 71 | Label "page" |
||
| 72 | { |
||
| 73 | position 240, 110; |
||
| 74 | size 400, 60; |
||
| 75 | caption "PAGE 1 OF 8"; |
||
| 76 | scale 3.0; |
||
| 77 | align center, center; |
||
| 78 | textAlign center, center; |
||
| 79 | color 1, 1, 1, 1; |
||
| 80 | shadow false; |
||
| 81 | font "scoring"; |
||
| 82 | } |
||
| 83 | |||
| 84 | SegmentButton "prev" |
||
| 85 | { |
||
| 86 | position 125, 600; |
||
| 87 | size 245, 100; |
||
| 88 | caption "PREVIOUS"; |
||
| 89 | scale 3.0; |
||
| 90 | align center, center; |
||
| 91 | textAlign center, center; |
||
| 92 | color 1, 1, 1, 1; |
||
| 93 | shadow false; |
||
| 94 | font "scoring"; |
||
| 95 | |||
| 96 | texture "data/textures/simplebutton.png"; |
||
| 97 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 98 | |||
| 99 | pushColor 1, 1, 1, 1; |
||
| 100 | pushOffset 0, 2; |
||
| 101 | |||
| 102 | onTouch "prev"; |
||
| 103 | |||
| 104 | pushSound "menu_push"; |
||
| 105 | } |
||
| 106 | |||
| 107 | SegmentButton "next" |
||
| 108 | { |
||
| 109 | position 355, 600; |
||
| 110 | size 245, 100; |
||
| 111 | caption "NEXT"; |
||
| 112 | scale 3.0; |
||
| 113 | align center, center; |
||
| 114 | textAlign center, center; |
||
| 115 | color 1, 1, 1, 1; |
||
| 116 | shadow false; |
||
| 117 | font "scoring"; |
||
| 118 | |||
| 119 | texture "data/textures/simplebutton.png"; |
||
| 120 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 121 | |||
| 122 | pushColor 1, 1, 1, 1; |
||
| 123 | pushOffset 0, 2; |
||
| 124 | |||
| 125 | onTouch "next"; |
||
| 126 | |||
| 127 | pushSound "menu_push"; |
||
| 128 | } |
||
| 129 | |||
| 130 | SegmentButton "back" |
||
| 131 | { |
||
| 132 | position 240, 700; |
||
| 133 | size 475, 100; |
||
| 134 | caption "BACK TO MENU"; |
||
| 135 | scale 3.0; |
||
| 136 | align center, center; |
||
| 137 | textAlign center, center; |
||
| 138 | color 1, 1, 1, 1; |
||
| 139 | shadow false; |
||
| 140 | font "scoring"; |
||
| 141 | |||
| 142 | texture "data/textures/simplebutton.png"; |
||
| 143 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 144 | |||
| 145 | pushColor 1, 1, 1, 1; |
||
| 146 | pushOffset 0, 2; |
||
| 147 | |||
| 148 | onTouch "switchState MainMenuState"; |
||
| 149 | |||
| 150 | pushSound "menu_push"; |
||
| 151 | } |
||
| 152 | } |