Tap troupe final tweaks and additions, the game can be marked as done now!!!!!!!!!!!!!! (#296)

* TWEAKS AND ZOOM OUT!

* Forgor these

* Another thing

* tink sfx improvement
This commit is contained in:
Rapandrasmus
2023-02-20 06:49:54 +01:00
committed by GitHub
parent a2f2324373
commit 1d32d17c4a
26 changed files with 3835 additions and 80 deletions

View File

@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HeavenStudio.Util;
namespace HeavenStudio.Games.Scripts_TapTroupe
{
public class TapTroupeZoomOut : MonoBehaviour
{
float zoomOffset;
float yOffset;
void Start ()
{
zoomOffset = transform.localPosition.z;
yOffset = transform.localPosition.y;
}
void Update()
{
transform.localPosition = new Vector3(transform.localPosition.x, GameCamera.additionalPosition.y + yOffset, GameCamera.additionalPosition.z + zoomOffset);
}
}
}