New graphics and general polish

Also fixed visual pickup bugs
Sets up bloom effects and materials
UI and ux adjustments/polish
This commit is contained in:
2022-04-24 23:06:25 +02:00
parent f23e06bef2
commit 359578a9db
54 changed files with 3306 additions and 121 deletions

View File

@@ -11,6 +11,7 @@ public class Player : MonoBehaviour
public float rotationSpeed;
public float direction;
public List<ParticleCollisionEvent> collisionEvents;
public float speedIncrease;
public bool isLit;
public Camera camera;
@@ -58,8 +59,10 @@ public class Player : MonoBehaviour
//mousePos.y = transform.position.y;
//transform.LookAt(mousePos);
//if isLit decrease health
if (isLit)
//Invincible for the first 2 seconds to avoid particle collision bug
if (isLit && Time.timeSinceLevelLoad > 2)
{
health -= 100.0f * Time.deltaTime;
}