Rev 720 | Details | Compare with Previous | 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; |
||
| 722 | chris | 5 | |
| 6 | Image "frame_bg" |
||
| 7 | { |
||
| 8 | position 240, 400; |
||
| 9 | size 400, 400; |
||
| 10 | align center, center; |
||
| 11 | texture "data/textures/black.png"; |
||
| 12 | color 1, 1, 1, 0.8; |
||
| 13 | } |
||
| 14 | |||
| 15 | Frame "frame" |
||
| 16 | { |
||
| 17 | position 240, 400; |
||
| 18 | size 400, 400; |
||
| 19 | align center, center; |
||
| 20 | showCenter false; |
||
| 21 | texture "data/textures/simpleframe.png"; |
||
| 22 | outerFrame true; |
||
| 23 | } |
||
| 720 | chris | 24 | |
| 25 | SegmentButton "sounds" |
||
| 26 | { |
||
| 722 | chris | 27 | position 240, 280; |
| 28 | size 350, 100; |
||
| 720 | chris | 29 | caption "SOUNDS: ON"; |
| 30 | align center, center; |
||
| 31 | texture "data/textures/simplebutton.png"; |
||
| 32 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 33 | scale 3; |
||
| 34 | font "scoring"; |
||
| 35 | color 1, 1, 1, 1; |
||
| 36 | pushColor 1, 1, 1, 1; |
||
| 37 | pushOffset 0, 2; |
||
| 38 | onTouch "sounds"; |
||
| 39 | |||
| 40 | pushSound "menu_push"; |
||
| 41 | } |
||
| 42 | |||
| 43 | SegmentButton "music" |
||
| 44 | { |
||
| 722 | chris | 45 | position 240, 380; |
| 46 | size 350, 100; |
||
| 720 | chris | 47 | caption "MUSIC: ON"; |
| 48 | align center, center; |
||
| 49 | texture "data/textures/simplebutton.png"; |
||
| 50 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 51 | scale 3; |
||
| 52 | font "scoring"; |
||
| 53 | color 1, 1, 1, 1; |
||
| 54 | pushColor 1, 1, 1, 1; |
||
| 55 | pushOffset 0, 2; |
||
| 56 | onTouch "music"; |
||
| 57 | |||
| 58 | pushSound "menu_push"; |
||
| 59 | } |
||
| 60 | |||
| 61 | SegmentButton "back" |
||
| 62 | { |
||
| 722 | chris | 63 | position 240, 530; |
| 64 | size 350, 80; |
||
| 720 | chris | 65 | caption "BACK"; |
| 66 | align center, center; |
||
| 67 | texture "data/textures/simplebutton.png"; |
||
| 68 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 69 | scale 3; |
||
| 70 | font "scoring"; |
||
| 71 | color 1, 1, 1, 1; |
||
| 72 | pushColor 1, 1, 1, 1; |
||
| 73 | pushOffset 0, 2; |
||
| 74 | onTouch "back"; |
||
| 75 | |||
| 76 | pushSound "menu_push"; |
||
| 77 | } |
||
| 78 | |||
| 79 | } |