Subversion Repositories AndroidProjects

Rev

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

Menu "MainMenu"
{
        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 "submenu_endless";
                                
                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";
                                
                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";
                                
                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";
                                
                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";
                                
                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";
                                

                pushSound "menu_push";
        }


}