Subversion Repositories AndroidProjects

Rev

Rev 528 | Rev 531 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Menu "TitleMenu"
{
        origin 0, 0;


        SegmentButton "Endless"
        {
                position 240, 120;
                size 400, 120;
                caption "Endless";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState EndlessState";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }
        
        SegmentButton "Puzzle"
        {
                position 240, 240;
                size 400, 120;
                caption "Puzzle";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState PuzzleState";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }
        
        SegmentButton "Time Trial"
        {
                position 240, 360;
                size 400, 120;
                caption "Time Trial";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState TimeTrialState";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }
        
        SegmentButton "Options"
        {
                position 240, 540;
                size 400, 80;
                caption "Options";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "showOptions";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }
        
        SegmentButton "HowToPlay"
        {
                position 240, 630;
                size 400, 80;
                caption "How to play";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "showOptions";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }
        
        SegmentButton "ToTitle"
        {
                position 240, 720;
                size 400, 80;
                caption "Back to Title";
                align center, center;
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";
                scale 3;
                font "scoring";
                color 1, 1, 1, 1;
                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                onTouch "switchState TitleState";
                                
                clickSound "menu_click";
                pushSound "menu_push";
        }

}