Unity 2D PARALLAX EFFECT Tutorial | Endless Scrolling Background

Unity 2D PARALLAX EFFECT Tutorial | Endless Scrolling Background

Rehope Games

2 года назад

40,989 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Gabilan Cyber
Gabilan Cyber - 10.09.2023 04:56

Very nice! can you upload the source code?

Ответить
Константин Иваничкин
Константин Иваничкин - 02.09.2023 18:34

Awesome, man!

Ответить
Zareen Ijaz
Zareen Ijaz - 20.08.2023 14:03

I am making a endless runner game what should i do to make the background move continuosly with out the player movingjust in a loop

Ответить
Ldskate Gaming
Ldskate Gaming - 08.08.2023 10:42

Hey brother how i cantact with you 🤔

Ответить
hectpax
hectpax - 07.08.2023 20:37

Güzel video ellerine sağlık. Bende bir sorun var Parallax scriptinde son kısımde "MainTex" kısmına Metarialin ismini mi yazıyoruz? Eğer öyle ise bende hata çıkıyor. Consolda "Material 5 (Instance) with shader Unlit/Trasnperant Cutout doesnt have a texture propert 5.
Bunu nasıl çözebilirim yardımcı olur musun ?

Ответить
Adam Stock
Adam Stock - 04.08.2023 17:59

2nd video ive found of yours that told me exactly what i needed to know - keep up the good work im sure this channel will go far

Ответить
Hero Hunt Studios
Hero Hunt Studios - 04.08.2023 05:32

hi, i have 7 types building in my game that i want to parallax effect but in horizontal only, not in vertical movement when player jump! so how can i prevent parallax effect in jumping state?

btw you alwasys help me with your vidios, thank you so much buddy, hope you got me!

Your subscriber!
Thanks !

Ответить
JDM
JDM - 01.08.2023 17:04

Works exactly as what I wanted. Great tutorial.

Ответить
Tyler Sinks
Tyler Sinks - 21.07.2023 18:52

Great Tutorial, the only issue I am having with it is that my background is not scrolling for some reason. Everything else works perfectly. It follows, but I need it to scroll

Ответить
The Rico
The Rico - 05.07.2023 05:21

Line 49 " backSpeed[i] = 1 - (backgrounds[i].transform.position.z - cam.position.z); / farthestBack;" when i wrote it , it gives me a error list which it says "Cs0021 Cannot apply indexing with [] to an expression of type 'float'"
how can i fix it ?

Ответить
Ahmad Hp
Ahmad Hp - 02.07.2023 00:24

can u tell me please where can i find the vectors u used for the background and the ground?

Ответить
Gabster
Gabster - 24.06.2023 21:35

Im trying to reajust where the backround stays in my main camera, but when I go In Game it dosn't change, do you know how to fix this?

Ответить
BlobTuber
BlobTuber - 20.06.2023 16:04

What asset package are you using?

Ответить
Furkan Ünlü
Furkan Ünlü - 04.06.2023 02:50

Yorumları okumadan türk olduğunun farkında değildim, türklerinde bu alanda gelişimini görmek çok güzel <3

Ответить
Sergei
Sergei - 18.05.2023 20:08

thank you very much for this!

Ответить
crazilia
crazilia - 13.05.2023 20:28

GameObject[]' does not contain a definition for 'Lenght'
The name 'backCount' does not exist in the current context

i'm getting theese two errors, can anyone fix it ? i tried everything

Ответить
Tobias Nilssen Opedal
Tobias Nilssen Opedal - 03.05.2023 17:20

This works well when the ground stays the same, one straight line throughout the game. How would this work with ups and downs in the ground like valleys. And how would this work if the player jumps higher on platforms in the air?

Ответить
Francesco
Francesco - 29.04.2023 09:53

great video!!

Ответить
Adlene Dakhli
Adlene Dakhli - 23.04.2023 22:41

can i get this project?

Ответить
Valerie Otonekwu
Valerie Otonekwu - 22.04.2023 15:59

How do i make a camera move

Ответить
Big ED
Big ED - 15.03.2023 17:41

Lovely!!!

Ответить
TheWarpedMage
TheWarpedMage - 05.01.2023 20:42

i have an issue where the camera start position is always right of the player and so u cant actually see it in game screen

Ответить
Suraj Kamya
Suraj Kamya - 12.12.2022 15:59

Background movements are jittery, please help. Fixed update also couldn't solve issue.

Ответить
Vladydadi
Vladydadi - 24.11.2022 07:54

This was perfect. You just got yourself a new subscriber!! Thank you!

Ответить
uhhhhh....
uhhhhh.... - 03.11.2022 16:39

is it a game where the background doesn't move at all but the background still follows the character's steps even if it's in the ravine or up above the background will remain the same without any background movement at all, is it parallax? or not? I'm looking for a tutorial like that

Ответить
Nitrohedge21
Nitrohedge21 - 14.09.2022 13:56

the background goes over the hud that i have on my project which i might be able to solve by layer order or something but it's not moving smoothly and it's not following the y axis either. I'd appreciate it if you could help me out :p

Ответить
Rossbotron 3000
Rossbotron 3000 - 13.09.2022 09:43

Thankyou so much for this video. I want to bring my game over from Scratch and this is exactly what i need 🙂

Ответить
Som's games & stuff
Som's games & stuff - 06.09.2022 15:24

I got a lot of complieing errors, do you think you could give us the cs file?

Ответить
Shen Hall
Shen Hall - 22.08.2022 12:15

I can ask you a question. code
cam = Camera.main.Transform
I type .main but it doesn't see it anywhere? if yes can you help me?

Ответить
CheeryHex
CheeryHex - 09.08.2022 07:36

thank you! :D

Ответить
Thanh Bui
Thanh Bui - 22.06.2022 11:21

the large parallax file is tough to keep up with. Really wish there was a more clearer version to look at instead of the cursor jumping around

Ответить
Fyres11
Fyres11 - 15.06.2022 21:04

What should I add to get some vertical effects? When the player jump on higher ground the stuff further behind in the background rise?

Ответить
Honeyja S
Honeyja S - 27.05.2022 08:53

pls make a pixel art game pls pls plssssssss

Ответить
Bobbville
Bobbville - 16.05.2022 19:19

Nice thanks for vid! 🔥🔥🍻

Ответить
AYK
AYK - 15.05.2022 22:41

Aga yine çok güzel bir video olmuş. Emeğine sağlık. Senden ekranda sadece bir objeye parlama efekti(glow effect) nasıl verebiliriz hakkında bir video istesem. Onlarca video var fakat hiçbiri tam olarak aynı ekranda sadece bir objeye verme konusunda çözüm sağlamadı, bilmiyorum belki ben bulamamışımdır.

Ответить