Showing off a scrolling background I created :)

It uses a background scroll controller with some serialized variables.

My code, in case you want inspiration or you can lend some criticism:
https://pastebin.com/dCHg9vFf

4 Likes

Hi, very nice example of your work.

On the code front, just so you know, you can just copy/paste it directly into your posts on the forum and then add the code formatting characters before/after.

Hope this helps and again, nice work :slight_smile:


See also;

Cool, thanks for the tip Rob. :+1:

1 Like

You’re very welcome :slight_smile:

Hi
After you instantiate the roadGameObject, you use this line of code:

  road.transform.parent = transform;

What does it mean?

Privacy & Terms