Rev 732 | 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 | |||
| 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; |
||
| 26 | caption "Blocks will move upwards with time.\nIf you don't clear blocks fast enough, the blocks\nwill reach the top, at which point the game will\nbe over."; |
||
| 27 | } |
||
| 28 | |||
| 732 | chris | 29 | Label "tutorial1" |
| 30 | { |
||
| 31 | position 240, 70; |
||
| 32 | size 400, 60; |
||
| 733 | chris | 33 | caption "HOW TO PLAY"; |
| 732 | chris | 34 | scale 3.0; |
| 35 | align center, center; |
||
| 36 | textAlign center, center; |
||
| 37 | color 1, 1, 1, 1; |
||
| 38 | shadow false; |
||
| 39 | font "scoring"; |
||
| 40 | } |
||
| 41 | |||
| 42 | Label "page" |
||
| 43 | { |
||
| 44 | position 240, 110; |
||
| 45 | size 400, 60; |
||
| 46 | caption "PAGE 1 OF 8"; |
||
| 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 | SegmentButton "prev" |
||
| 56 | { |
||
| 57 | position 125, 600; |
||
| 58 | size 245, 100; |
||
| 59 | caption "PREVIOUS"; |
||
| 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 | texture "data/textures/simplebutton.png"; |
||
| 68 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 69 | |||
| 70 | pushColor 1, 1, 1, 1; |
||
| 71 | pushOffset 0, 2; |
||
| 72 | |||
| 73 | onTouch "prev"; |
||
| 74 | |||
| 75 | pushSound "menu_push"; |
||
| 76 | } |
||
| 77 | |||
| 78 | SegmentButton "next" |
||
| 79 | { |
||
| 80 | position 355, 600; |
||
| 81 | size 245, 100; |
||
| 82 | caption "NEXT"; |
||
| 83 | scale 3.0; |
||
| 84 | align center, center; |
||
| 85 | textAlign center, center; |
||
| 86 | color 1, 1, 1, 1; |
||
| 87 | shadow false; |
||
| 88 | font "scoring"; |
||
| 89 | |||
| 90 | texture "data/textures/simplebutton.png"; |
||
| 91 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 92 | |||
| 93 | pushColor 1, 1, 1, 1; |
||
| 94 | pushOffset 0, 2; |
||
| 95 | |||
| 96 | onTouch "next"; |
||
| 97 | |||
| 98 | pushSound "menu_push"; |
||
| 99 | } |
||
| 100 | |||
| 101 | SegmentButton "back" |
||
| 102 | { |
||
| 103 | position 240, 700; |
||
| 104 | size 475, 100; |
||
| 105 | caption "BACK TO MENU"; |
||
| 106 | scale 3.0; |
||
| 107 | align center, center; |
||
| 108 | textAlign center, center; |
||
| 109 | color 1, 1, 1, 1; |
||
| 110 | shadow false; |
||
| 111 | font "scoring"; |
||
| 112 | |||
| 113 | texture "data/textures/simplebutton.png"; |
||
| 114 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 115 | |||
| 116 | pushColor 1, 1, 1, 1; |
||
| 117 | pushOffset 0, 2; |
||
| 118 | |||
| 119 | onTouch "switchState MainMenuState"; |
||
| 120 | |||
| 121 | pushSound "menu_push"; |
||
| 122 | } |
||
| 123 | } |