Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 720 | chris | 1 | Menu "TitleMenu" |
| 2 | { |
||
| 3 | origin 0, 0; |
||
| 4 | fadeTime 0.2; |
||
| 5 | |||
| 6 | SegmentButton "sounds" |
||
| 7 | { |
||
| 8 | position 240, 300; |
||
| 9 | size 280, 100; |
||
| 10 | caption "SOUNDS: ON"; |
||
| 11 | align center, center; |
||
| 12 | texture "data/textures/simplebutton.png"; |
||
| 13 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 14 | scale 3; |
||
| 15 | font "scoring"; |
||
| 16 | color 1, 1, 1, 1; |
||
| 17 | pushColor 1, 1, 1, 1; |
||
| 18 | pushOffset 0, 2; |
||
| 19 | onTouch "sounds"; |
||
| 20 | |||
| 21 | pushSound "menu_push"; |
||
| 22 | } |
||
| 23 | |||
| 24 | SegmentButton "music" |
||
| 25 | { |
||
| 26 | position 240, 450; |
||
| 27 | size 280, 100; |
||
| 28 | caption "MUSIC: ON"; |
||
| 29 | align center, center; |
||
| 30 | texture "data/textures/simplebutton.png"; |
||
| 31 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 32 | scale 3; |
||
| 33 | font "scoring"; |
||
| 34 | color 1, 1, 1, 1; |
||
| 35 | pushColor 1, 1, 1, 1; |
||
| 36 | pushOffset 0, 2; |
||
| 37 | onTouch "music"; |
||
| 38 | |||
| 39 | pushSound "menu_push"; |
||
| 40 | } |
||
| 41 | |||
| 42 | SegmentButton "back" |
||
| 43 | { |
||
| 44 | position 240, 600; |
||
| 45 | size 280, 100; |
||
| 46 | caption "BACK"; |
||
| 47 | align center, center; |
||
| 48 | texture "data/textures/simplebutton.png"; |
||
| 49 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 50 | scale 3; |
||
| 51 | font "scoring"; |
||
| 52 | color 1, 1, 1, 1; |
||
| 53 | pushColor 1, 1, 1, 1; |
||
| 54 | pushOffset 0, 2; |
||
| 55 | onTouch "back"; |
||
| 56 | |||
| 57 | pushSound "menu_push"; |
||
| 58 | } |
||
| 59 | |||
| 60 | } |