
<game>
    <scenes>
        <scene id="preIntro">
            <layer>
                <gameObject
                        src="preIntro.png"
                        left="0"
                        top="0"
                        width="800"
                        height="600"/>
            </layer>
        </scene>
        <scene id="intro">
            <sound src="intro.wav"/>
            <sound src="gear.wav"/>
            <sound src="start.wav" gain="0.4"/>
            <layer>
                <gameObject
                        src="back.png"
                        id="back"
                        left="-40"
                        top="0"
                        width="1200"
                        height="600"/>
                <gameObject
                        src="gear.png"
                        id="gear1"
                        left="100"
                        top="240"
                        rotationPointX="49"
                        rotationPointY="49"
                        width="96"
                        height="96">
                    <animation
                            property="angle"
                            from="0"
                            to="6.26"
                            time="5000"
                            loop="1"
                    />
                </gameObject>
                <gameObject
                        src="gear.png"
                        id="gear2"
                        left="98"
                        top="320"
                        rotationPointX="49"
                        rotationPointY="49"
                        width="96"
                        height="96">
                    <animation
                            property="angle"
                            from="0"
                            to="6.26"
                            time="7100"
                            loop="1"/>
                </gameObject>
                <gameObject
                        src="gear.png"
                        id="gear3"
                        left="620"
                        top="350"
                        rotationPointX="49"
                        rotationPointY="49"
                        width="96"
                        height="96">
                    <animation
                            property="angle"
                            from="0"
                            to="6.26"
                            time="7000"
                            loop="1"/>
                </gameObject>
                <gameObject
                        src="piston.png"
                        id="piston1"
                        left="455"
                        top="136"
                        width="77"
                        height="210"
                >
                    <animationComposition loop="1">
                        <animation
                                offset="0"
                                property="pos.y"
                                from="136"
                                to="200"
                                time="2000"
                        />
                        <animation
                                offset="2000"
                                property="pos.y"
                                from="200"
                                to="136"
                                time="2000"
                        />
                    </animationComposition>
                </gameObject>
                <gameObject
                        src="piston.png"
                        id="piston2"
                        left="555"
                        top="136"
                        width="77"
                        height="210"
                >
                    <animationComposition loop="1">
                        <animation
                                offset="0"
                                property="pos.y"
                                from="136"
                                to="200"
                                time="1000"
                        />
                        <animation
                                offset="1000"
                                property="pos.y"
                                from="200"
                                to="136"
                                time="1000"
                        />
                    </animationComposition>
                </gameObject>
                <gameObject
                        src="insert_coin.png"
                        id="insert_coin"
                        left="129"
                        top="171"
                        width="563"
                        height="252"/>
                <gameObject
                        src="coin_acceptor.png"
                        id="coin_acceptor"
                        left="268"
                        top="416"
                        width="300"
                        height="84"/>
                <gameObject
                        src="coin.png"
                        id="coin"
                        left="395"
                        top="388"
                        hidden="1"
                        rotationPointX="30"
                        rotationPointY="30"
                        width="60"
                        height="59">
                    <animation
                            property="angle3d.y"
                            from="0"
                            to="6.26"
                            time="7100"
                            loop="1"/>
                </gameObject>
                <gameObject
                        src="top.png"
                        id="top"
                        left="0"
                        passMouseEventsThrough="1"
                        top="0"
                        width="800"
                        height="600"/>
            </layer>
        </scene>
        <scene id="main">
            <sound src="water.wav"/>
            <sound src="hit.wav"/>
            <sound src="missed.mp3" gain="0.6"/>
            <sound src="gear.wav"/>
            <sound src="shoot.wav" offset="1" gain="0.2"/>
            <sound src="riff1.wav"/>
            <sound src="click.wav" gain="0.2"/>
            <layer>
                <nullGameObject
                        id="seaContainer"
                        left="0"
                        top="0"
                        width="1200"
                        height="600">
                    <gameObject
                            src="back.png"
                            id="back"
                            left="0"
                            top="0"
                            width="1200"
                            height="600"/>
                    <gameObject
                            src="sky.png"
                            id="sky"
                            left="0"
                            top="5"
                            width="1200"
                            height="300"/>
                    <nullGameObject
                            left="368"
                            top="486"
                            id="bulletContainer"
                            width="28"
                            height="53">
                        <gameObject
                                src="bullet.png"
                                id="bullet"
                                left="0"
                                top="0"
                                hidden="1"
                                rotationPointX="14"
                                rotationPointY="26"
                                width="28"
                                height="53">
                            <animationComposition loop="1">
                                <animation
                                        offset="0"
                                        property="angle"
                                        from="-0.1"
                                        to="0.1"
                                        time="600"
                                />
                                <animation
                                        offset="600"
                                        property="angle"
                                        from="0.1"
                                        to="-0.1"
                                        time="600"
                                />

                            </animationComposition>
                        </gameObject>
                    </nullGameObject>
                    <nullGameObject
                        id="shipContainer"
                        left="616"
                        top="237"
                        width="78"
                        height="68"
                        >
                        <gameObject
                                src="ship.png"
                                id="ship"
                                left="0"
                                top="0"
                                rotationPointX="40"
                                rotationPointY="40"
                                width="78"
                                height="68">
                            <animationComposition loop="1">
                                <animation
                                        offset="0"
                                        property="pos.y"
                                        from="0"
                                        to="5"
                                        time="2000"
                                />
                                <animation
                                        offset="2000"
                                        property="pos.y"
                                        from="5"
                                        to="0"
                                        time="2000"
                                />
                            </animationComposition>
                            <animationComposition loop="1">
                                <animation
                                        offset="0"
                                        property="angle"
                                        from="0"
                                        to="0.1"
                                        time="500"
                                />
                                <animation
                                        offset="500"
                                        property="angle"
                                        from="0.1"
                                        to="0"
                                        time="500"
                                />
                            </animationComposition>
                        </gameObject>
                    </nullGameObject>
                    <rectangle
                            id="water"
                            left="0"
                            top="300"
                            width="1200"
                            height="352"
                            color="82,54,136">
                        <animationComposition loop="1">
                            <animation
                                    offset="0"
                                    property="pos.y"
                                    from="300"
                                    to="306"
                                    time="2000"
                            />
                            <animation
                                    offset="2000"
                                    property="pos.y"
                                    from="306"
                                    to="300"
                                    time="2000"
                            />
                        </animationComposition>
                    </rectangle>
                </nullGameObject>
            </layer>
            <layer>
                <gameObject
                        src="gear.png"
                        id="gear1"
                        left="-20"
                        top="129"
                        rotationPointX="49"
                        rotationPointY="49"
                        width="96"
                        height="96"/>
                <gameObject
                        src="gear.png"
                        id="gear2"
                        left="33"
                        top="56"
                        rotationPointX="49"
                        rotationPointY="49"
                        width="96"
                        height="96"/>
                <gameObject
                        src="gear4.png"
                        id="gear4"
                        left="685"
                        top="454"
                        rotationPointX="40"
                        rotationPointY="40"
                        width="79"
                        height="84">
                    <animationComposition loop="1">
                        <animation
                                offset="0"
                                property="angle"
                                from="0"
                                to="3"
                                time="2000"
                        />
                        <animation
                                offset="2000"
                                property="angle"
                                from="3"
                                to="0"
                                time="3000"
                        />
                    </animationComposition>
                </gameObject>
                <gameObject
                        src="gear4.png"
                        id="gear4"
                        left="685"
                        top="454"
                        rotationPointX="40"
                        rotationPointY="40"
                        width="79"
                        height="84">
                    <animationComposition loop="1">
                        <animation
                                offset="0"
                                property="angle"
                                from="0"
                                to="3"
                                time="2000"
                        />
                        <animation
                                offset="2000"
                                property="angle"
                                from="3"
                                to="0"
                                time="3000"
                        />
                    </animationComposition>
                </gameObject>
                <gameObject
                        src="top.png"
                        id="top"
                        left="0"
                        top="0"
                        width="800"
                        height="600"/>
                <gameObject
                        src="manometer.png"
                        id="manometer"
                        left="554"
                        top="24"
                        width="62"
                        height="64">
                    <gameObject
                            src="manometerArrow.png"
                            id="manometerArrow"
                            left="0"
                            top="0"
                            rotationPointX="31"
                            rotationPointY="32"
                            width="62"
                            height="64">
                    </gameObject>
                </gameObject>


                <nullGameObject
                        id="nixieTubeShoot0"
                        left="22"
                        top="28"
                        width="64"
                        height="58"
                >
                    <gameObject
                            src="nixie0.png"
                            id="nixie0"
                            left="0"
                            top="0"
                            width="64"
                            hidden="0"
                            height="58"/>
                    <gameObject
                            src="nixie1.png"
                            id="nixie1"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie2.png"
                            id="nixie2"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie3.png"
                            id="nixie3"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie4.png"
                            id="nixie4"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie5.png"
                            id="nixie5"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie6.png"
                            id="nixie6"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie7.png"
                            id="nixie7"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie8.png"
                            id="nixie8"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie9.png"
                            id="nixie9"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                </nullGameObject>
                <nullGameObject
                        id="nixieTubeShoot1"
                        left="93"
                        top="28"
                        width="64"
                        height="58"
                >
                    <gameObject
                            src="nixie0.png"
                            id="nixie0"
                            left="0"
                            top="0"
                            width="64"
                            hidden="0"
                            height="58"/>
                    <gameObject
                            src="nixie1.png"
                            id="nixie1"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie2.png"
                            id="nixie2"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie3.png"
                            id="nixie3"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie4.png"
                            id="nixie4"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie5.png"
                            id="nixie5"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie6.png"
                            id="nixie6"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie7.png"
                            id="nixie7"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie8.png"
                            id="nixie8"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie9.png"
                            id="nixie9"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                </nullGameObject>
                <nullGameObject
                        id="hitLamp"
                        left="258"
                        top="40"
                        width="100"
                        height="54">
                    <gameObject
                            id="hitOn"
                            src="hitOn.png"
                            hidden="1"
                            left="0"
                            top="0"
                            width="100"
                            height="54"/>
                    <gameObject
                            id="hitOff"
                            src="hitOff.png"
                            left="0"
                            top="0"
                            width="100"
                            height="54"/>
                </nullGameObject>
                <nullGameObject
                        id="missedLamp"
                        left="400"
                        top="40"
                        width="100"
                        height="54">
                    <gameObject
                            id="missedOn"
                            src="missedOn.png"
                            hidden="1"
                            left="0"
                            top="0"
                            width="100"
                            height="54"/>
                    <gameObject
                            id="missedOff"
                            src="missedOff.png"
                            left="0"
                            top="0"
                            width="100"
                            height="54"/>
                </nullGameObject>


                <nullGameObject
                        id="nixieTubeFired0"
                        left="624"
                        top="28"
                        width="64"
                        height="58"
                >
                    <gameObject
                            src="nixie0.png"
                            id="nixie0"
                            left="0"
                            top="0"
                            width="64"
                            hidden="0"
                            height="58"/>
                    <gameObject
                            src="nixie1.png"
                            id="nixie1"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie2.png"
                            id="nixie2"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie3.png"
                            id="nixie3"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie4.png"
                            id="nixie4"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie5.png"
                            id="nixie5"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie6.png"
                            id="nixie6"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie7.png"
                            id="nixie7"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie8.png"
                            id="nixie8"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie9.png"
                            id="nixie9"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                </nullGameObject>
                <nullGameObject
                        id="nixieTubeFired1"
                        left="696"
                        top="28"
                        width="64"
                        height="58"
                >
                    <gameObject
                            src="nixie0.png"
                            id="nixie0"
                            left="0"
                            top="0"
                            width="64"
                            hidden="0"
                            height="58"/>
                    <gameObject
                            src="nixie1.png"
                            id="nixie1"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie2.png"
                            id="nixie2"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie3.png"
                            id="nixie3"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie4.png"
                            id="nixie4"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie5.png"
                            id="nixie5"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie6.png"
                            id="nixie6"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie7.png"
                            id="nixie7"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie8.png"
                            id="nixie8"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                    <gameObject
                            src="nixie9.png"
                            id="nixie9"
                            left="0"
                            top="0"
                            width="64"
                            hidden="1"
                            height="58"/>
                </nullGameObject>


                <imageButton
                        id="btnLeft"
                        src-on="btnOn.png"
                        src-off="btnOff.png"
                        left="117"
                        top="508"
                        width="62"
                        height="64"/>
                <imageButton
                        id="btnShoot"
                        src-on="btnOn.png"
                        src-off="btnOff.png"
                        left="205"
                        top="508"
                        width="62"
                        height="64"/>
                <imageButton
                        id="btnRight"
                        src-on="btnOn.png"
                        src-off="btnOff.png"
                        left="292"
                        top="508"
                        width="62"
                        height="64"/>
            </layer>
        </scene>
        <scene id="result">
            <sound src="gear.wav"/>
            <sound src="win.wav"/>
            <sound src="life_lost.wav"/>
            <sound src="click.wav"/>
            <layer>
                <gameObject
                        src="back.png"
                        id="back"
                        left="-40"
                        top="0"
                        width="1200"
                        height="600"/>
                <gameObject
                        src="rail.png"
                        id="leftRail"
                        left="91"
                        top="0"
                        />
                <gameObject
                        src="rail.png"
                        id="rightRail"
                        left="670"
                        top="0"
                        />
                <nullGameObject
                    id="tableHolder"
                    width="800"
                    height="600"
                    left="0"
                    top="0"
                    >
                    <animation
                            property="pos.y"
                            from="-600"
                            to="0"
                            time="5000"
                            loop="0"/>
                    <gameObject
                            src="gear.png"
                            id="gear1"
                            left="15"
                            top="254"
                            rotationPointX="49"
                            rotationPointY="49"
                            width="96"
                            height="96">
                        <animation
                                property="angle"
                                from="0"
                                to="9"
                                time="5000"
                                loop="0"/>
                    </gameObject>
                    <gameObject
                            src="gear.png"
                            id="gear2"
                            left="14"
                            top="349"
                            rotationPointX="49"
                            rotationPointY="49"
                            width="96"
                            height="96">
                        <animation
                                property="angle"
                                from="0"
                                to="9"
                                time="5000"
                                loop="0"/>
                    </gameObject>
                    <gameObject
                            src="gear.png"
                            id="gear3"
                            left="600"
                            top="426"
                            rotationPointX="49"
                            rotationPointY="49"
                            width="96"
                            height="96">
                        <animation
                                property="angle"
                                from="0"
                                to="9"
                                time="5000"
                                loop="0"/>
                    </gameObject>
                    <gameObject
                            src="table.png"
                            id="table"
                            left="52"
                            top="171"
                            rotationPointX="49"
                            rotationPointY="49"
                            width="96"
                            height="96"/>
                    <nullGameObject
                            id="nixieTube0"
                            left="326"
                            top="335"
                            width="64"
                            height="58"
                    >
                        <gameObject
                                src="nixie0.png"
                                id="nixie0"
                                left="0"
                                top="0"
                                width="64"
                                hidden="0"
                                height="58"/>
                        <gameObject
                                src="nixie1.png"
                                id="nixie1"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie2.png"
                                id="nixie2"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie3.png"
                                id="nixie3"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie4.png"
                                id="nixie4"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie5.png"
                                id="nixie5"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie6.png"
                                id="nixie6"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie7.png"
                                id="nixie7"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie8.png"
                                id="nixie8"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie9.png"
                                id="nixie9"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                    </nullGameObject>
                    <nullGameObject
                            id="nixieTube1"
                            left="408"
                            top="334"
                            width="64"
                            height="58"
                    >
                        <gameObject
                                src="nixie0.png"
                                id="nixie0"
                                left="0"
                                top="0"
                                width="64"
                                hidden="0"
                                height="58"/>
                        <gameObject
                                src="nixie1.png"
                                id="nixie1"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie2.png"
                                id="nixie2"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie3.png"
                                id="nixie3"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie4.png"
                                id="nixie4"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie5.png"
                                id="nixie5"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie6.png"
                                id="nixie6"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie7.png"
                                id="nixie7"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie8.png"
                                id="nixie8"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                        <gameObject
                                src="nixie9.png"
                                id="nixie9"
                                left="0"
                                top="0"
                                width="64"
                                hidden="1"
                                height="58"/>
                    </nullGameObject>
                </nullGameObject>


            </layer>
        </scene>
    </scenes>
</game>