Subversion Repositories AndroidProjects

Rev

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

Menu "Tutorial1"
{
        origin 0, 0;
        fadeTime 0;
        
        Image "bg"
        {
                position 0, 140;
                size 480, 400;
                align left, top;
                color 1, 1, 1, 0.5;
        
                texture "data/textures/black.png";
        }
        
        Image "block"
        {
                position 200, 190;
                size 40, 40;
                align center, top;
                texture "data/textures/tutorial1_redblock.png";
        }
        
        Image "swipe"
        {
                position 220, 180;
                size 140, 140;
                align center, top;
                texture "data/textures/tutorial1_swipe.png";
                filter linear, linear;
                color 1, 1, 1, 0.8;
        }
        
        Label "text1"
        {
                position 40, 340;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Move a block right or left by touching and swiping.\nThe block will swap places with any block in the\ntarget space.";
        }       
        
        Image "blocks"
        {
                position 240, 450;
                size 480, 28;
                align center, center;
                color 1, 1, 1, 1;
                texture "data/textures/tutorial1_blocks.png";
        }
        
        Label "text1"
        {
                position 40, 480;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Only color blocks and Joker blocks can be moved.";
        }       
        
        Label "tutorial1"
        {
                position 240, 70;
                size 400, 60;
                caption "HOW TO PLAY";
                scale 3.0;
                align center, center;
                textAlign center, center;
                color 1, 1, 1, 1;
                shadow false;
                font "scoring";
        }
        
        Label "page"
        {
                position 240, 110;
                size 400, 60;
                caption "PAGE 1 OF 8";
                scale 3.0;
                align center, center;
                textAlign center, center;
                color 1, 1, 1, 1;
                shadow false;
                font "scoring";
        }
        
        SegmentButton "prev"
        {
                position 125, 600;
                size 245, 100;
                caption "PREVIOUS";
                scale 3.0;
                align center, center;
                textAlign center, center;
                color 1, 1, 1, 1;
                shadow false;
                font "scoring"; 
                
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";

                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                
                onTouch "prev";

                pushSound "menu_push";
        }
        
        SegmentButton "next"
        {
                position 355, 600;
                size 245, 100;
                caption "NEXT";
                scale 3.0;
                align center, center;
                textAlign center, center;
                color 1, 1, 1, 1;
                shadow false;
                font "scoring"; 
                
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";

                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                
                onTouch "next";

                pushSound "menu_push";
        }               
        
        SegmentButton "back"
        {
                position 240, 700;
                size 475, 100;
                caption "BACK TO MENU";
                scale 3.0;
                align center, center;
                textAlign center, center;
                color 1, 1, 1, 1;
                shadow false;
                font "scoring"; 
                
                texture "data/textures/simplebutton.png";
                pushTexture "data/textures/simplebutton_pushed.png";

                pushColor 1, 1, 1, 1;
                pushOffset 0, 2;
                
                onTouch "switchState MainMenuState fromTutorial";

                pushSound "menu_push";
        }
}