public override void SetBasePos()
    {
        float BasePosX = 0.0f;
        float BasePosY = 0.0f;

        EzGuiSetting.SetPosEzGui(m_imgProgressCircleFilter, BasePosX, BasePosY);
        EzGuiSetting.SetPosEzGui(m_imgProgressCircleImage, BasePosX, BasePosY);
        EzGuiSetting.SetPosEzGui(m_imgProgressCircle, BasePosX, BasePosY);
    }
Beispiel #2
0
    public override void SetBasePos()
    {
        EzGuiSetting.SetPosEzGui(m_imgBackground, 0.0f, 60.0f);
        EzGuiSetting.SetPosEzGui(m_imgRankingBoard, 0.0f, 60.0f);

        EzGuiSetting.SetPosEzGui(m_btnGameStart, 0.0f, -270.0f);
        if (m_btnTab != null)
        {
            float Gap = 74.0f;
            for (int i = 0; i < (int)POPUP_STATE._MAX; i++)
            {
                EzGuiSetting.SetPosEzGui(m_btnTab[i], (((int)POPUP_STATE._MAX - i) * Gap), 50.0f);
            }
        }
    }
Beispiel #3
0
    public override void SetBasePos()
    {
        EzGuiSetting.SetPosEzGui(m_imgBackBoard, 0.0f, 0.0f);
        EzGuiSetting.SetPosEzGui(m_imgReadyBoard, 0.0f, -250.0f);
        EzGuiSetting.SetPosEzGui(m_imgCharBoard, 0.0f, 360.0f);

        EzGuiSetting.SetPosEzGui(m_btnBlockSet, 120.0f, 210.0f);
        EzGuiSetting.SetPosEzGui(m_btnBlockPos, -120.0f, 210.0f);
        EzGuiSetting.SetPosEzGui(m_btnStart, 0.0f, -270.0f);
        EzGuiSetting.SetPosEzGui(m_btnExit, -250.0f, 340.0f);

        float SubPosX = 0.0f;
        float SubPosY = 80.0f;
        float Gap     = 130.0f;

        EzGuiSetting.SetPosEzGui(m_imgItemBoard, SubPosX, SubPosY);
        EzGuiSetting.SetPosEzGui(m_btnItem, SubPosX + 3.0f, SubPosY - 80.0f, Gap, DATUM_POINT._CENTER, DIRECTION._LEFT_RIGHT, DIRECTION_SUB._UP_LEFT);
    }
Beispiel #4
0
    public override void SetBasePos()
    {
        float BasePosX = 0.0f;
        float BasePosY = 44.0f;

        if (m_bAnimation)
        {
//			SetPosEzGui(m_imgPopupBoard, m_fStartPosX, m_fStartPosY);
//			SetPosEzGui(m_imgPopupBackground, m_fStartPosX, m_fStartPosY);
        }
        else
        {
            EzGuiSetting.SetPosEzGui(m_imgPopupBoard, BasePosX, BasePosY);
            EzGuiSetting.SetPosEzGui(m_imgPopupBackground, BasePosX, BasePosY - 35.0f);
        }

        EzGuiSetting.SetPosEzGui(m_imgPopupIcon, BasePosX + 217.0f, BasePosY + 225.0f);
        EzGuiSetting.SetPosEzGui(m_imgPopupTitle, BasePosX + 150.0f, BasePosY + 225.0f);
        EzGuiSetting.SetPosEzGui(m_btnPopupExit, BasePosX - 180.0f, BasePosY + 225.0f);
    }
Beispiel #5
0
    public override void SetBasePos()
    {
        if (m_scriptScore)
        {
            m_scriptScore.SetPos(0.0f, 60.0f);
        }

        int PlatformType = DefineBaseManager.inst.GetPlatformType();

        if (PlatformType == (int)PLATFORM_TYPE.PLATFORM_ANDROID ||
            PlatformType == (int)PLATFORM_TYPE.PLATFORM_IPHONE)
        {
            EzGuiSetting.SetPosEzGui(m_btnGoReady, -120.0f, -40.0f);
            EzGuiSetting.SetPosEzGui(m_btnGoMain, 120.0f, -40.0f);
        }
        else
        {
            EzGuiSetting.SetPosEzGui(m_btnGoReady, 0.0f, -40.0f);
            EzGuiSetting.SetPosEzGui(m_btnGoMain, 0.0f, -40.0f);
        }
    }
Beispiel #6
0
    public override void SetBasePos()
    {
        float Gap = DefineBaseManager.inst.KittyGap;

        EzGuiSetting.SetPosEzGui(m_btnPause, 0.0f, 0.0f);
        EzGuiSetting.SetPosEzGui(m_btnPlay, 0.0f, 0.0f);

        int   count    = Main.game.GetGameItemManager().GetServiceableActiveItemNum();
        float BasePosX = 150.0f;
        float BasePosY = 55.0f;

        int PlatformType = DefineBaseManager.inst.GetPlatformType();

        if (PlatformType == (int)PLATFORM_TYPE.PLATFORM_ANDROID ||
            PlatformType == (int)PLATFORM_TYPE.PLATFORM_IPHONE)
        {
            for (int i = 0; i < count; i++)
            {
                EzGuiSetting.SetPosEzGui(m_btnItem[i], BasePosX - BasePosX * i, BasePosY);
                EzGuiSetting.SetPosEzGui(m_txtItem[i], BasePosX - BasePosX * i - 35.0f, BasePosY + 15.0f);
            }
        }
        else
        {
            for (int i = 0; i < count; i++)
            {
                EzGuiSetting.SetPosEzGui(m_btnItem[i], 0.0f, BasePosY);
                EzGuiSetting.SetPosEzGui(m_txtItem[i], -35.0f, BasePosY + 15.0f);
            }
        }

        if (m_scriptScore)
        {
            m_scriptScore.SetPos(0.0f, 65.0f);
        }
    }
Beispiel #7
0
 public override void SetBasePos()
 {
     EzGuiSetting.SetPosEzGui(m_btnAdviceBefore, 250.0f, -270.0f);
     EzGuiSetting.SetPosEzGui(m_btnAdviceNext, -250.0f, -270.0f);
     EzGuiSetting.SetPosEzGui(m_btnAdviceExit, -255.0f, 270.0f);
 }