Viridescense

During Project Endless Runner, I created an endless runner game. In this game, you play as a fox in a forest trying to escape the endless woods. By eating other small animals, you gain stamina to continue your escape attempt.

What did I learn?
How to quickly and effectively build a system that works well and is easily adaptable. Collaboration is key to creating something good in only two weeks, Proper communication and taking responsibility is key in a short development cycle.

Project Info:

Team members: Linde Maurer, Lon Bongaerts & Tommy Sett
Project Time: Year 2 Period 3.1 (until 19-02-2021)
Engine: Unity
Code Languages: C#
Design Patterns: Singleton




 public void SpawnLevelPart()
    {
        int rndNumber = Random.Range(0, levelpartList.Count);
        lastLevelPartTransform = mapPool[rndNumber].GetObjectFromPool().transform;
        lastLevelPartTransform.transform.position = new Vector3(lastEndTrans.position.x + (lastLevelPartTransform.transform.localScale.x - 3.257f), 0, 0);
        lastLevelPartTransform.gameObject.SetActive(true);
        lastEndTrans = lastLevelPartTransform.Find("EndPosition");
    }
    
    public void ResetMap()
    {
        mapSpeed = 0;
        levelPart_start.position = new Vector3(-4.9f, 0, 0);
        levelPart_start.gameObject.SetActive(true);
        for (int i = 0; i < mapPool.Count; i++)
        {
            mapPool[i].SetAllObjectsOff();
        }
        lastLevelPartTransform = levelPart_start;
        lastEndTrans = levelPart_start.Find("EndPosition");
        int startingspawns = 2;
        for (int i = 0; i < startingspawns; i++)
        {
            SpawnLevelPart();
        }
        levelPart_start.GetComponent().triggerd = false;
    }