Rev 733 | Go to most recent revision | Details | 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 | |||
| 6 | Label "tutorial1" |
||
| 7 | { |
||
| 8 | position 240, 70; |
||
| 9 | size 400, 60; |
||
| 10 | caption "TUTORIAL"; |
||
| 11 | scale 3.0; |
||
| 12 | align center, center; |
||
| 13 | textAlign center, center; |
||
| 14 | color 1, 1, 1, 1; |
||
| 15 | shadow false; |
||
| 16 | font "scoring"; |
||
| 17 | } |
||
| 18 | |||
| 19 | Label "page" |
||
| 20 | { |
||
| 21 | position 240, 110; |
||
| 22 | size 400, 60; |
||
| 23 | caption "PAGE 1 OF 8"; |
||
| 24 | scale 3.0; |
||
| 25 | align center, center; |
||
| 26 | textAlign center, center; |
||
| 27 | color 1, 1, 1, 1; |
||
| 28 | shadow false; |
||
| 29 | font "scoring"; |
||
| 30 | } |
||
| 31 | |||
| 32 | SegmentButton "prev" |
||
| 33 | { |
||
| 34 | position 125, 600; |
||
| 35 | size 245, 100; |
||
| 36 | caption "PREVIOUS"; |
||
| 37 | scale 3.0; |
||
| 38 | align center, center; |
||
| 39 | textAlign center, center; |
||
| 40 | color 1, 1, 1, 1; |
||
| 41 | shadow false; |
||
| 42 | font "scoring"; |
||
| 43 | |||
| 44 | texture "data/textures/simplebutton.png"; |
||
| 45 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 46 | |||
| 47 | pushColor 1, 1, 1, 1; |
||
| 48 | pushOffset 0, 2; |
||
| 49 | |||
| 50 | onTouch "prev"; |
||
| 51 | |||
| 52 | pushSound "menu_push"; |
||
| 53 | } |
||
| 54 | |||
| 55 | SegmentButton "next" |
||
| 56 | { |
||
| 57 | position 355, 600; |
||
| 58 | size 245, 100; |
||
| 59 | caption "NEXT"; |
||
| 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 "next"; |
||
| 74 | |||
| 75 | pushSound "menu_push"; |
||
| 76 | } |
||
| 77 | |||
| 78 | SegmentButton "back" |
||
| 79 | { |
||
| 80 | position 240, 700; |
||
| 81 | size 475, 100; |
||
| 82 | caption "BACK TO MENU"; |
||
| 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 "switchState MainMenuState"; |
||
| 97 | |||
| 98 | pushSound "menu_push"; |
||
| 99 | } |
||
| 100 | } |