Subversion Repositories AndroidProjects

Rev

Rev 762 | Blame | Compare with Previous | Last modification | View Log | RSS feed

Menu "MainMenu"
{
        origin 0, 0;
        fadeTime 0;
        
        /*Image "background"
        {
                position 0, 0;
                size 1500, 800;
                align left, top;
                texture "data/textures/landscape.png";
                color 1, 1, 1, 1;
                filter linear, linear;
        }*/
        
        Label "title"
        {
                position 240, 50;
                size 200, 40;
                align center, center;
                font "scoring";
                caption "SELECT GAME MODE:";
                scale 3;
        }
        

        SegmentButton "Endless"
        {
                position 240, 130;
                size 400, 100;
                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, 230;
                size 400, 100;
                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 "submenu_puzzle";
                                
                pushSound "menu_push";
        }
        
        SegmentButton "Time Trial"
        {
                position 240, 330;
                size 400, 100;
                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 "submenu_timetrial";
                                
                pushSound "menu_push";
        }
        
        SegmentButton "Options"
        {
                position 240, 480;
                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, 560;
                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 "switchState SimpleTutorialState";
                                
                pushSound "menu_push";
        }
        
        SegmentButton "Credits"
        {
                position 240, 640;
                size 400, 80;
                caption "Credits";
                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 CreditsState";
                                
                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";
        }


}