Music implementation, cloud art, and bug fixes

Implemented music
Added cloud tiles
Made players be able to stand on each others' heads
Synced the music and day/night cycle
Added a transition in to the gameplay scene
Fixed blocking while dying bug
This commit is contained in:
RochesterX
2025-03-07 23:32:42 -05:00
parent 3d28357b56
commit 7b4bdd927e
115 changed files with 5516 additions and 1409 deletions

View File

@@ -0,0 +1,22 @@
using UnityEngine;
public class InfiniteScroll : MonoBehaviour
{
public float speed;
public float start;
public float end;
private void Update()
{
if (transform.position.x > end)
{
transform.position = new Vector3(start, transform.position.y, transform.position.z);
}
else if (transform.position.x < start)
{
transform.position = new Vector3(end, transform.position.y, transform.position.z);
}
transform.position += speed * Time.deltaTime * Vector3.right;
}
}