Question by
unity_O1_7LL0-qJ95DQ · Apr 26, 2021 at 08:51 PM ·
2d game2d spritesrandom genendless
2d Top Down | Random generated endless world | Unity
Hi, im really new to coding and Game Developmenet. I would like to add a endless world to my 2d game (top down view). It should be random (like random trees everywhere). I have no idea where to start. I am working with simple png sprites. My Camera is following my Character : using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraFollow : MonoBehaviour { public Transform followTransform; // Update is called once per frame void FixedUpdate() { this.transform.position = new Vector3(followTransform.position.x, followTransform.position.y, this.transform.position.z); } }
I hope someone can help me ! Thank you
Comment