Rev 738 | 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 | |||
| 738 | chris | 16 | Image "falling" |
| 17 | { |
||
| 18 | position 240, 300; |
||
| 19 | size 500, 125; |
||
| 20 | align center, center; |
||
| 21 | texture "data/textures/tutorial3_falling.png"; |
||
| 22 | } |
||
| 23 | |||
| 733 | chris | 24 | Label "text1" |
| 25 | { |
||
| 738 | chris | 26 | position 40, 370; |
| 733 | chris | 27 | size 400, 40; |
| 28 | align left, top; |
||
| 29 | textAlign left, top; |
||
| 30 | color 1, 1, 1, 1; |
||
| 31 | font "ingame"; |
||
| 32 | scale 1; |
||
| 33 | lineBreak 1.2; |
||
| 738 | chris | 34 | caption "Blocks above cleared blocks will fall down.\n\nIf falling blocks combine into another clear, this\nforms a chain.\nKeep chaining to score massive points!"; |
| 733 | chris | 35 | } |
| 36 | |||
| 732 | chris | 37 | Label "tutorial1" |
| 38 | { |
||
| 39 | position 240, 70; |
||
| 40 | size 400, 60; |
||
| 733 | chris | 41 | caption "HOW TO PLAY"; |
| 732 | chris | 42 | scale 3.0; |
| 43 | align center, center; |
||
| 44 | textAlign center, center; |
||
| 45 | color 1, 1, 1, 1; |
||
| 46 | shadow false; |
||
| 47 | font "scoring"; |
||
| 48 | } |
||
| 49 | |||
| 50 | Label "page" |
||
| 51 | { |
||
| 52 | position 240, 110; |
||
| 53 | size 400, 60; |
||
| 54 | caption "PAGE 1 OF 8"; |
||
| 55 | scale 3.0; |
||
| 56 | align center, center; |
||
| 57 | textAlign center, center; |
||
| 58 | color 1, 1, 1, 1; |
||
| 59 | shadow false; |
||
| 60 | font "scoring"; |
||
| 61 | } |
||
| 62 | |||
| 63 | SegmentButton "prev" |
||
| 64 | { |
||
| 65 | position 125, 600; |
||
| 66 | size 245, 100; |
||
| 67 | caption "PREVIOUS"; |
||
| 68 | scale 3.0; |
||
| 69 | align center, center; |
||
| 70 | textAlign center, center; |
||
| 71 | color 1, 1, 1, 1; |
||
| 72 | shadow false; |
||
| 73 | font "scoring"; |
||
| 74 | |||
| 75 | texture "data/textures/simplebutton.png"; |
||
| 76 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 77 | |||
| 78 | pushColor 1, 1, 1, 1; |
||
| 79 | pushOffset 0, 2; |
||
| 80 | |||
| 81 | onTouch "prev"; |
||
| 82 | |||
| 83 | pushSound "menu_push"; |
||
| 84 | } |
||
| 85 | |||
| 86 | SegmentButton "next" |
||
| 87 | { |
||
| 88 | position 355, 600; |
||
| 89 | size 245, 100; |
||
| 90 | caption "NEXT"; |
||
| 91 | scale 3.0; |
||
| 92 | align center, center; |
||
| 93 | textAlign center, center; |
||
| 94 | color 1, 1, 1, 1; |
||
| 95 | shadow false; |
||
| 96 | font "scoring"; |
||
| 97 | |||
| 98 | texture "data/textures/simplebutton.png"; |
||
| 99 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 100 | |||
| 101 | pushColor 1, 1, 1, 1; |
||
| 102 | pushOffset 0, 2; |
||
| 103 | |||
| 104 | onTouch "next"; |
||
| 105 | |||
| 106 | pushSound "menu_push"; |
||
| 107 | } |
||
| 108 | |||
| 109 | SegmentButton "back" |
||
| 110 | { |
||
| 111 | position 240, 700; |
||
| 112 | size 475, 100; |
||
| 113 | caption "BACK TO MENU"; |
||
| 114 | scale 3.0; |
||
| 115 | align center, center; |
||
| 116 | textAlign center, center; |
||
| 117 | color 1, 1, 1, 1; |
||
| 118 | shadow false; |
||
| 119 | font "scoring"; |
||
| 120 | |||
| 121 | texture "data/textures/simplebutton.png"; |
||
| 122 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 123 | |||
| 124 | pushColor 1, 1, 1, 1; |
||
| 125 | pushOffset 0, 2; |
||
| 126 | |||
| 1011 | chris | 127 | onTouch "switchState MainMenuState fromTutorial"; |
| 732 | chris | 128 | |
| 129 | pushSound "menu_push"; |
||
| 130 | } |
||
| 131 | } |