started parallax

This commit is contained in:
Jack Rus
2020-02-02 10:21:38 -05:00
parent a87e8ff093
commit 21b65df41f
7 changed files with 1943 additions and 44321 deletions

22
Assets/ScrollingBackg.cs Normal file
View File

@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScrollingBackg : MonoBehaviour
{
public Camera camera;
public SpriteRenderer renderer;
public Vector2 scrollSpeed = Vector2.one * .4f;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}