Esempio n. 1
0
    void Start()
    {
        scrTimer.Activate(GameInfoInsert.info.round_pause_duration_ms);
        if (GameInfoInsert.currentRound == (GameInfoInsert.info.number_of_rounds - 1))
        {
            scrTimer.Activate(GameInfoInsert.info.round_pause_duration_ms + GameInfoInsert.info.collecting_results_duration_ms);
        }

        if (GameSettings.THEMATIC)
        {
            scrSendScore.SendSelection1RoundOfInsert(GameSettings.GAME_MODE_THEMATIC);
            if (saveRound == (maxRounds - 1))
            {
            }
        }
        else
        {
            scrSendScore.SendSelection1RoundOfInsert(GameSettings.GAME_MODE_INSERT);
        }

        if (saveRound == (maxRounds - 1))
        {
            //soloText.text = "Zaključi";
            soloText.text = GameSettings.localizationManager.GetTextForKey("COLLOCATION_MULTIPLAYER_INSERT_SCORE_END_BUTTON");
        }
    }
Esempio n. 2
0
    void Start()
    {
        scrTimer.Activate(GameInfoSynonym.info.round_pause_duration_ms);
        if (GameInfoSynonym.currentRound == (GameInfoSynonym.info.number_of_rounds - 1))
        {
            scrTimer.Activate(GameInfoSynonym.info.round_pause_duration_ms + GameInfoSynonym.info.collecting_results_duration_ms);
        }

        if (GameSettings.THEMATIC)
        {
            scrSendScore.SendSelection1RoundOfSynonym(GameSettings.GAME_MODE_THEMATIC);
            if (saveRound == (maxRounds - 1))
            {
            }
        }
        else
        {
            scrSendScore.SendSelection1RoundOfSynonym(GameSettings.GAME_MODE_SYNONYM);
        }

        if (saveRound == (maxRounds - 1))
        {
            soloText.text = "Zaključi";
        }
    }
Esempio n. 3
0
    void TimeUntilNextGameRound()
    {
        long timeToNextGame = (long)(GameInfoSynonym.timeLeft);

        scrTimer.Activate(timeToNextGame);
        scrTimerHelper.Activate(timeToNextGame);
    }
Esempio n. 4
0
    void TimeUntilNextGameRound()
    {
        long timeToNextGame = (long)GameInfoDrag.timeLeft;

        scrTimer.Activate(timeToNextGame);
        scrTimerHelper.Activate(timeToNextGame);
    }
Esempio n. 5
0
    void TimeUntilNextGameRound()
    {
        //long timeToNextGame = GameInfoChoose.info.game_start - GameInfoChoose.info.current_time;
        long timeToNextGame = (long)(GameInfoChoose.timeLeft);

        scrTimer.Activate(timeToNextGame);
        scrTimerHelper.Activate(timeToNextGame);
    }
Esempio n. 6
0
    private void Start()
    {
        if (GameSettings.THEMATIC)
        {
            additionalInfoText.text = text;
        }

        scrTimer.Activate(GameInfoChoose.timeLeft);
    }
Esempio n. 7
0
    private void Start()
    {
        scrTimer.Activate(GameInfoDrag.timeLeft);

        saveX = shownWordScoreObj[0].transform.position.x;
        saveY = shownWordScoreObj[0].transform.position.y;

        CreateRound();
    }
Esempio n. 8
0
    void Start()
    {
        long timeToNextGame = GameInfoSynonym.info.game_start - GameInfoSynonym.info.current_time;

        scrTimer.Activate(timeToNextGame);
        GameSettings.MyDebug("When is next game really: " + timeToNextGame);
        GameSettings.MyDebug("When I think it is: " + GameInfoSynonym.info.show_results_duration_ms);

        prefabPlayerHeight = prefabPlayer.GetComponent <RectTransform>().rect.height;

        leaderboard.CreateLeaderboard(contentTrans, ScoreboardInfo.info.scoreboard.Length, thisPlayerObj, false, GameInfoSynonym.info.max_round_score * GameInfoSynonym.info.number_of_rounds, null, ScoreboardInfo.info);
    }
Esempio n. 9
0
    void Start()
    {
        wordsPrefabHeight = wordsPrefab.GetComponent <RectTransform>().rect.height;

        scrTimer.Activate(GameInfoDrag.info.round_pause_duration_ms + GameInfoDrag.timeLeft);
        if (GameInfoDrag.currentRound == (GameInfoDrag.info.number_of_rounds - 1))
        {
            scrTimer.Activate(GameInfoDrag.info.round_pause_duration_ms + GameInfoDrag.info.collecting_results_duration_ms);
        }

        if (GameSettings.THEMATIC)
        {
            scrSendScore.SendSelection1RoundOfDrag(GameSettings.GAME_MODE_THEMATIC);
        }
        else
        {
            scrSendScore.SendSelection1RoundOfDrag(GameSettings.GAME_MODE_DRAG);
        }

        sumPointsText.text = "" + GameInfoDrag.score;
        GameInfoDrag.score = 0;
    }
Esempio n. 10
0
    void Start()
    {
        scrTimer.Activate(GameInfoInsert.timeLeft);

        inputFieldsScr = new InputPrefab[inputFieldsObj.Length];
        for (int i = 0; i < inputFieldsObj.Length; i++)
        {
            inputFieldsScr[i] = inputFieldsObj[i].GetComponent <InputPrefab>();
        }

        GetFocusBtn1();

        CreateInputFields();

        ColorInputfield(0, colorRed);
    }
Esempio n. 11
0
    private void Start()
    {
        scrTimer.Activate(GameInfoChoose.timeLeft);

        if (GameInfoChoose.info.words[GameInfoChoose.currentRound].position == 1)
        {
            scrPrWPre.wordText.text = GameInfoChoose.info.words[GameInfoChoose.currentRound].word + " + ";
            scrPrWPre.leftImageObj.SetActive(false);
        }
        else
        {
            scrPrWPre.wordText.text = " + " + GameInfoChoose.info.words[GameInfoChoose.currentRound].word;
            scrPrWPre.rightImageObj.SetActive(false);
        }

        CreateRoundOfRound();
    }
Esempio n. 12
0
 void TimeUntilNextGameRound()
 {
     scrTimer.Activate(timeToNextGame);
 }
Esempio n. 13
0
 void Start()
 {
     scrTimer.Activate(GameInfoSynonym.info.collecting_results_duration_ms);
 }
Esempio n. 14
0
 private void Start()
 {
     scrTimer.Activate(GameInfoChoose.timeLeft);
 }