Infinite Parallax Scrolling Background - Unity 2D Complete Tutorial

preview_player
Показать описание
We're going to add parallax to our 2D scene's background layers, then make it endlessly scroll!
This is a complete tutorial - from adding player, setting up the camera - to a beautifully scrolling background! Basically make a whole endless runner / side scroller in 7 minutes :o

Get a COMPLETE Platformer Template:

Be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)

If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡

#unity #gamedev #gamedevelopment #unity2d #indiedev

0:00 - Intro
0:14 - Background Assets
0:24 - New Project
0:27 - Player **Free Link Below**
0:45 - Cinemachine
1:10 - Background Setup
1:34 - Sorting Layers
2:17 - Parallax - Script
3:48 - Parallax - Setup
4:18 - Jitter Fix
4:32 - Infinite Scrolling - Backgrounds
5:41 - Infinite Scrolling - Script
2:54 - Outro
Рекомендации по теме
Комментарии
Автор

Wow it's like the 4th parallax tutorial i've tried and this is the only one working perfectly thanks so much, i have subscribed

scoop
Автор

Your channel receives far less recognition than it deserves. Legitimately a hidden gem. Subscribed.

ramsgallo
Автор

You never disappoint! I've really enjoyed and loved this video, it was really cool... making cinematics with this must be crazy! 🤭

moiism_
Автор

I am trying to make a proper parallax effect for a year I guess... And this is the only tutorial that really helped me.
You are awesome!!! I wish I can like 1 million times...

tj
Автор

Thanks for the tutorial, I follow your video from the player movement guide, and for the animations player it's really easy to follow and understand!

maizestarcan
Автор

That was Super Helpful, Hoping to see more content, Thank you.

NOpainNoGain
Автор

fantastic! thank you so much. everything is so clearly explained step to step, I will definitely be following and checking out your future videos.

davidpaul
Автор

i'm not at all at this level, but i enjoy your videos.

TheHolyCornflake
Автор

Hello, the tutorial is great and I'm grateful for it. However, I would like to ask for a more in-depth explanation of the movement float value. Why are we multiplying by 1 - parallaxEffect?? And why is it used to decide whether or not we are relocating the background? In essence, what I'm asking is, what does the variable movement represent?

junba
Автор

In your video, the character vibrates when she walks. I have this in my game and I don't know how to fix it, could you tell me?

vinivini
Автор

You're so aesthetic haha... Can you help me out please... So if i animate something just assume that I'm animating a leg of a player so when i change it's transformation position so there is a value which is changed of position so what will happen if i move my character using script will the objects(leg) keep animating in the same old space where it is animated or it'll come along with character while animating??....

pranshugupta
Автор

can you do a tutorial on the health bar plz

doustarx
Автор

And where did you learned all these...

pranshugupta
Автор

Hello, Cant I just add the Camara as a Child of the player so it follows him instead of using Cinemachine? For some reason when I use Cinemachine my character movement seems a bit laggy

fabian_ftn
Автор

thank you so much, as always you are amazing

Can you please do the same amazing videos for UE 5 ?
I am a beginner so I barley know anything XD

TheTrueFriend.
Автор

Thanks, do you have some game of yours?

radovan_mladic
Автор

Thank you so much! I saw many tutorials on parallax and this is the only one that worked 🫰

Chiefjony