Subversion Repositories AndroidProjects

Rev

Rev 733 | Rev 736 | Go to most recent revision | 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";
        }
        
        Label "text1"
        {
                position 40, 160;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Special Blocks can be combined with any color:";
        }
        
        Image "specialblocks"
        {
                position 60, 200;
                size 30, 240;
                align left, top;
                texture "data/textures/tutorial5_specialblocks.png";
        }
        
        Label "text1"
        {
                position 120, 220;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Joker: Matches with any color";
        }
        
                Label "text1"
        {
                position 120, 280;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Clock: Stops time for a few seconds";
        }
        
        Label "text1"
        {
                position 120, 341;
                size 400, 50;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Bomb: Clears surrounding 3x3 blocks";
        }
        
        Label "text1"
        {
                position 120, 400;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Crystal: Freezes blocks combined with it.";
        }
        
        Label "text1"
        {
                position 40, 470;
                size 400, 40;
                align left, top;
                textAlign left, top;
                color 1, 1, 1, 1;
                font "ingame";
                scale 1;
                lineBreak 2;
                caption "Note: Frozen blocks can only be destroyed with a\nBomb or a Superpower.";
        }
        
        /*
        Special Blocks:

Special Blocks match with any color, but there can only be one type of special block within a clear.

There are four types:

Joker - Matches with any color
Clock - stops time for a few seconds
Bomb - Immediately clears all surrounding 3x3 blocks
Crystal - Freezes all blocks within the clear. Frozen blocks can only be cleared using bombs or superpower.
        */
        
        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";

                pushSound "menu_push";
        }
}