Rev 615 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 525 | chris | 1 | Menu "TitleMenu" |
| 2 | { |
||
| 3 | origin 0, 0; |
||
| 531 | chris | 4 | fadeTime 0.2; |
| 525 | chris | 5 | |
| 724 | chris | 6 | SegmentButton "options" |
| 525 | chris | 7 | { |
| 724 | chris | 8 | position 294, 306; |
| 525 | chris | 9 | size 280, 100; |
| 724 | chris | 10 | caption "OPTIONS"; |
| 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 "options"; |
||
| 20 | |||
| 21 | pushSound "menu_push"; |
||
| 22 | } |
||
| 23 | |||
| 24 | |||
| 25 | SegmentButton "restart" |
||
| 26 | { |
||
| 27 | position 294, 426; |
||
| 28 | size 280, 100; |
||
| 615 | chris | 29 | caption "RETRY"; |
| 525 | chris | 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 "restart"; |
||
| 530 | chris | 39 | |
| 610 | chris | 40 | clickSound "menu_confirm"; |
| 530 | chris | 41 | pushSound "menu_push"; |
| 525 | chris | 42 | } |
| 43 | |||
| 44 | SegmentButton "Exit" |
||
| 45 | { |
||
| 724 | chris | 46 | position 294, 580; |
| 525 | chris | 47 | size 280, 100; |
| 48 | caption "Exit to Menu"; |
||
| 49 | align center, center; |
||
| 50 | texture "data/textures/simplebutton.png"; |
||
| 51 | pushTexture "data/textures/simplebutton_pushed.png"; |
||
| 52 | scale 3; |
||
| 53 | font "scoring"; |
||
| 54 | color 1, 1, 1, 1; |
||
| 55 | pushColor 1, 1, 1, 1; |
||
| 56 | pushOffset 0, 2; |
||
| 526 | chris | 57 | onTouch "exit_to_menu"; |
| 530 | chris | 58 | |
| 610 | chris | 59 | clickSound "menu_confirm"; |
| 530 | chris | 60 | pushSound "menu_push"; |
| 525 | chris | 61 | } |
| 62 | |||
| 63 | } |