Rev 733 | Rev 739 | 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 40, 400; |
||
| 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 "Blocks will move upwards with time.\nIf the blocks reach the top, the game is over."; |
| 733 | chris | 27 | } |
| 28 | |||
| 734 | chris | 29 | Label "text1" |
| 30 | { |
||
| 31 | position 40, 460; |
||
| 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 2; |
||
| 39 | caption "You can speed up the up-movement by touching\nany free space and dragging upwards."; |
||
| 40 | } |
||
| 41 | |||
| 732 | chris | 42 | Label "tutorial1" |
| 43 | { |
||
| 44 | position 240, 70; |
||
| 45 | size 400, 60; |
||
| 733 | chris | 46 | caption "HOW TO PLAY"; |
| 732 | chris | 47 | scale 3.0; |
| 48 | align center, center; |
||
| 49 | textAlign center, center; |
||
| 50 | color 1, 1, 1, 1; |
||
| 51 | shadow false; |
||
| 52 | font "scoring"; |
||
| 53 | } |
||
| 54 | |||
| 55 | Label "page" |
||
| 56 | { |
||
| 57 | position 240, 110; |
||
| 58 | size 400, 60; |
||
| 59 | caption "PAGE 1 OF 8"; |
||
| 60 | scale 3.0; |
||
| 61 | align center, center; |
||
| 62 | textAlign center, center; |
||
| 63 | color 1, 1, 1, 1; |
||
| 64 | shadow false; |
||
| 65 | font "scoring"; |
||
| 66 | } |
||
| 67 | |||
| 68 | SegmentButton "prev" |
||
| 69 | { |
||
| 70 | position 125, 600; |
||
| 71 | size 245, 100; |
||
| 72 | caption "PREVIOUS"; |
||
| 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 | texture "data/textures/simplebutton.png"; |
||
| 81 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 82 | |||
| 83 | pushColor 1, 1, 1, 1; |
||
| 84 | pushOffset 0, 2; |
||
| 85 | |||
| 86 | onTouch "prev"; |
||
| 87 | |||
| 88 | pushSound "menu_push"; |
||
| 89 | } |
||
| 90 | |||
| 91 | SegmentButton "next" |
||
| 92 | { |
||
| 93 | position 355, 600; |
||
| 94 | size 245, 100; |
||
| 95 | caption "NEXT"; |
||
| 96 | scale 3.0; |
||
| 97 | align center, center; |
||
| 98 | textAlign center, center; |
||
| 99 | color 1, 1, 1, 1; |
||
| 100 | shadow false; |
||
| 101 | font "scoring"; |
||
| 102 | |||
| 103 | texture "data/textures/simplebutton.png"; |
||
| 104 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 105 | |||
| 106 | pushColor 1, 1, 1, 1; |
||
| 107 | pushOffset 0, 2; |
||
| 108 | |||
| 109 | onTouch "next"; |
||
| 110 | |||
| 111 | pushSound "menu_push"; |
||
| 112 | } |
||
| 113 | |||
| 114 | SegmentButton "back" |
||
| 115 | { |
||
| 116 | position 240, 700; |
||
| 117 | size 475, 100; |
||
| 118 | caption "BACK TO MENU"; |
||
| 119 | scale 3.0; |
||
| 120 | align center, center; |
||
| 121 | textAlign center, center; |
||
| 122 | color 1, 1, 1, 1; |
||
| 123 | shadow false; |
||
| 124 | font "scoring"; |
||
| 125 | |||
| 126 | texture "data/textures/simplebutton.png"; |
||
| 127 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 128 | |||
| 129 | pushColor 1, 1, 1, 1; |
||
| 130 | pushOffset 0, 2; |
||
| 131 | |||
| 132 | onTouch "switchState MainMenuState"; |
||
| 133 | |||
| 134 | pushSound "menu_push"; |
||
| 135 | } |
||
| 136 | } |