We have to use the value 1440 because that this is the width of the parallax image. If we set it larger it would create a gap and if we set it too small it would "cut off" the background. Thanks for watching and feel free to subscribe to my channel. I would very much appreciate it!
@compasscrafting1147
Жыл бұрын
This was concise and helpful. I appreciate short snippets like this where I can get engine-specific deets without getting bogged down in "what parallax is."
@tzerland
3 жыл бұрын
Love these quick and well explained tuts ♥️♥️♥️
@thezenv
3 ай бұрын
aye tuts, i like your jive
@JessieNebulous
2 жыл бұрын
This is a clear, concise, and effective tutorial. Thank you. You've earned a subscriber!
@bitbraindev
2 жыл бұрын
Thank you so much!
@henryd3bby
2 жыл бұрын
OMG, The foreground does make look like my level much much more realistic, thanks for this tutorial! I LOVED IT! 😍
@bitbraindev
2 жыл бұрын
Glad I could help!
@sheetalgupta1494
3 жыл бұрын
I am that kind of a person, who when watches a good to the point well edited video, automatically subscribes to the channel, u got a new subscriber mate :)
@bitbraindev
3 жыл бұрын
Thank you so much!
@TheSpeedyBoi
2 жыл бұрын
thank goodness! I found this video when trying to find a way to use these things, I had no idea I needed all three of those nodes for it to work! Now all I have to do is make the art.....
@GameDevJourney
3 жыл бұрын
This is a great tutorial - I enjoyed the fact that you get straight to the point!
@KaizarNike
3 жыл бұрын
Wonderful tutorial and very consise. I like how good it looks for how little time it takes to setup, your artwork is great!
@spoopyscaryskelebones3846
2 жыл бұрын
thanks :)
@malimakes
3 жыл бұрын
Very cool tutorial dude! I don't really use Godot but I might be able to use this in Unity too! The way you explain is very clear!
@bitbraindev
3 жыл бұрын
Thank you so much!
@Akeiga
Ай бұрын
Awesome video! Really well edited and informative!
@andredovale3536
2 жыл бұрын
this is the first video I watch from you. man, nice! direct to the point, organized, well explained. although simple, a very nice one.
@spoopyscaryskelebones3846
2 жыл бұрын
It worked :) (P.S make sure the cloud animation script is attached to the PARALLAXLAYER of the clouds)
@koolkoolkoopa
3 жыл бұрын
Really good mate, quick and to the point. Maybe explaining what a 1000 in the x value means would be great. And also, I'm quite interested on your godot customization. Both the script editor and the editor. Could you send a download of them? They reeeeally look great. Specially that blue on fuctions and the abstance of borders in each property!
@bitbraindev
3 жыл бұрын
Thank you! Many people have asked me that question - I might post my setup at some point and share it with everyone. In the meantime, I can point you to my Jekyll theme I created github.com/bitbrain/jekyll-dash/blob/master/_sass/dash/_colors.scss#L11 that has the exact same colour palette (I use it for everything: terminal, my blog, Godot) I hope I could help. By the way, the font is Cascadia Code by Microsoft!
@koolkoolkoopa
3 жыл бұрын
@@bitbraindev Is everything in Cascadia Code regular? And what's the option to turn off(or paint with the same color) those borders that are everywhere? I have been searching in each tab each row and I couldn't find it
@bitbraindev
3 жыл бұрын
@@koolkoolkoopa Cascadia Code Mono!
@Aaron-fh6hd
11 ай бұрын
Still works in godot 4.1 Awesome tutorial man, I made an asteroids type game and tile maps were not working out.
@SpookyJamez
3 жыл бұрын
Excellent, quick tutorial. Thank you for sharing. 👏
@gamedevel22
3 жыл бұрын
Very nice and clean explained! I was thinking about learning Godot just in case I want to create some game for a Jam so keep up the tutorials bro!
@piousthepious
2 жыл бұрын
woW how did I not find you sooner. GreAT tutorial!
@Dillyforeally
3 жыл бұрын
This was so good quick and easy to understand. Thanks for this!
@marcosadrian65
3 жыл бұрын
Very nice tutorial partner ! Awesome work 😃
@VuVuuInc
3 жыл бұрын
Nice, looks very epic!
@scottmacgregor9023
2 жыл бұрын
Got it to work in my game with changes to the ParallaxBackground -> CanvasLayer-> Transform -> Scale settings (juice to 3.5) and Because my game is not centered but below y0, I had to add a PB->CL->T Offset.y of 300 too.
@pablocalderonbarquero2497
7 ай бұрын
Amazing tutorial. Thank you!
@boerbol9422
2 жыл бұрын
Thank you for yet another great tutorial.
@TheRealKaiProton
2 жыл бұрын
Only just found this channel, its fantastic
@bitbraindev
2 жыл бұрын
Thank you!
@PrinceOfPersiaCollector
3 жыл бұрын
Thx so much for this tutorial. It helped me a lot!
@khicontocvang
2 жыл бұрын
awesome youtube channel for learning godot 💪💪💪
@xelmenguyzxlt5571
3 жыл бұрын
Great tutorials ! Would you consider making a tutorial for a laser beam, maybe make it bounce off walls? Been tackling it for a while to no avail.
@bitbraindev
3 жыл бұрын
This sounds like a great idea. I will think about it.
@Alltagsabenteuer
3 жыл бұрын
Great question!
@pawekoaczynski4505
3 жыл бұрын
It took me longer to write this comment complementing the conciseness of your tutorial than watching the tutorial
@uxigadur
6 ай бұрын
NIce. This wil help me a lot. Great video!
@vodaistudio-kakimetygi6949
3 жыл бұрын
Really great video gj !!!
@HSulfateuse
2 жыл бұрын
Very greate video from contents to voice over!
@lonelyduck4840
3 жыл бұрын
Really helpful, thank you!
@besimist8604
2 жыл бұрын
perfect tutorial , well done
@dorestheo5314
3 жыл бұрын
Thank you so much... this really hellping me 😍💕💕💕
@relauk4186
2 жыл бұрын
Very nice!! I know know how to do Parallax Scrolling!!! (I'm new to godot)
@quietmemer
Жыл бұрын
Getting error: Unexpected "Identifier" in class body.
@samu_g05tz36
3 жыл бұрын
Very Good Video! it helped a lot!
@snaker90
6 ай бұрын
Clear, cool!
@piousthepious
2 жыл бұрын
Definitely subscribing
@eduardofernandez6626
Жыл бұрын
How does it affect the size of the window? And how should I set the camera so that the effect is noticeable? good content!
@SamsungGalaxy00176
3 жыл бұрын
Thanks even tho it was a 3 minutes video it helped me
@bitbraindev
3 жыл бұрын
nice, that was my intention!
@Kroklark
Жыл бұрын
is it normal that if i go to the right the clouds stop? is it intended or am i doing something wrong? edit: solved it , maybe in newer version parallax layers works differently, for whoever has the same problem, or want the clouds to move even if the player goes to the right , set the parallaxlayer motionscale of the cloud to 0.1 for the x and 1 for the y , and then it should work
@benbarrett4013
3 жыл бұрын
I've used the cloud animation technique you show at the end (using a script to update the motion_offset) and would like it to loop forever, but when it reaches the height (I know you use width, but it is a vertical shooter, so I've done the same but with the height and motion_offset.y) it jumps back to the start (it has a height of 800 and when motion_offset.y reaches 800 it jumps back to the start instead) - is there something I need to get it to loop more smoothly? Edit: I may have found the issue - I was scaling the layer in the transform and if I change that back to 1 it is fine. I applied the scaling to the sprite and changed the mirroring accordingly and it seemed to work. Sorry for rubber ducking here :)
@SDM_Arcugos
4 ай бұрын
The code for the cloud animation does not work for Godot 4. Outside of that, decent tutorial.
@bitbraindev
4 ай бұрын
A fresh tutorial for Godot 4.3 is on the way!
@LORDSofCHAOS333
Жыл бұрын
this is really useful
@NycroLP
3 жыл бұрын
im addicted to this engine
@bitbraindev
3 жыл бұрын
mee, too!
@indianajonesandthesevencit5728
Жыл бұрын
Can you confirm that every "offset" of every parallaxLayer is calculated from the same origin point which is (0,0) regardless of the position of the PArallaxBackground? In other words : Can you confirm that if you change the parallaxBackground for example to (1000, 1000) then the parallaxLayers _won't_ start centered at that position, they will start completely off-screen (in your demo, the player starts exactly at x=0 and the parallaxLayer is right behind him)
@Hwelhos
3 жыл бұрын
hello i saw u online in the wasd20 discord server, as im starting to code myself, i thought i checked ya out
@bitbraindev
3 жыл бұрын
Hi!
@cristianocarta8960
2 жыл бұрын
Thank you!
@juanpeirotti
11 ай бұрын
Great tutorial. I wonder if it's possible to have a smoother movement in the layers and not that "stepped" one I get to see in many coded movements in pixelart games. I think this is maybe solved in one of the project settings, but don't remember the name for it, right? Cheers!
@andreykuzmin3583
2 жыл бұрын
Hello, great tutorial! Can you tell what monospace font are you using? It look really good.
@bitbraindev
2 жыл бұрын
It is called Cascadia Code by Microsoft github.com/microsoft/cascadia-code
@ThomasSchannel
3 жыл бұрын
The tutorial isn't bad, i got it working. But this was more of a quick copy paste then actual teaching beginners. I don't really care since it worked for but i noticed people were dissing the video.
@bitbraindev
3 жыл бұрын
I think people's concerns are completely valid. I wouldn't necessarily consider it "dissing" - I really should give more context on the "why" rather than just showing the "how"
@bigstrongrobot1330
2 жыл бұрын
hello thanx for the tutorial it's so helpful .. can i know how to put the background in a loop ?
@Warpgatez
2 жыл бұрын
Got the job done but my custom cloud layers "pop in" once the x value is hit. In my scene it looks flawless. During play it pops in once that image is repeated. I have tried changing the Repeat flags to Mirrored and Enabled. Still pops in.
@janwharrylloydyap6996
2 жыл бұрын
any plans on making a background parallax for a topdown view?
@yahia-f2u
Ай бұрын
please i want to change the scale of sprite or parallx_layer but the background is totaly subverted how can i do thatt!!! (the sprite image size is 1053 pixel on x if thats help)
@Mr_BetaMax
2 жыл бұрын
Nice!
@NO-rq8rm
2 жыл бұрын
I have problem with my background when setting 1440 value it's make a gap between the backgrounds
@ahmadabdallah2896
8 ай бұрын
when i jump the backgrounds are moving with me, any idea how to solve this?
@AyushGupta-wn6zd
2 жыл бұрын
maybe this is a bit off topic but the idle animation is a bit unsettling. it's too fast
@blueberrycheesecake6790
3 жыл бұрын
Nice video
@solesurvivor1002
Жыл бұрын
Is there a tutorial for the floor?
@itsME-dc4vm
3 жыл бұрын
thanks ;D - noice ;O
@xSPESHERx
2 жыл бұрын
Hello Bit. Do you know how to make "imitation" of parallax scrolling? My character is moving only up and down, but i would like to know how to make this parallax scrolling without moving by X coords. I have no idea how to make this ... :(
@bitbraindev
2 жыл бұрын
Hey Sergey! Do you see these values at kzitem.info/news/bejne/x26wmqxsi2mAhoI (1:39 in the video) - simply do not modify the x values but only set the y values and then movement should only affect one axis!
@xSPESHERx
2 жыл бұрын
@@bitbraindev no no, it's moving by X but you can control only by Y. I think i will try to imitate with _process(delta): using scroll parameters of parallax.
@xSPESHERx
2 жыл бұрын
@@bitbraindev yo. So, i tried, and yes, i can move tha parallax without moving camera. Just using _process(delta)
@marbles1339
3 жыл бұрын
My camera can see the edges of the background before it stitches a new one. My background size is 688x199 and scaled to 3 in Sprite so I have a mirroring of 2064 in x. The camera follows the player with an offset of 400 in x (so the player is a little to the left). What seems to be the problem here? Edit: I removed the camera offset but it can still see the edge
@bitbraindev
3 жыл бұрын
How large is your background image? Remember, the sprite needs to be the same size as your mirroring attribute.
@marbles1339
3 жыл бұрын
@@bitbraindev The original size is 688x199 but I scaled it to 3 in the Sprite node so I have my mirroring set to 2064. I tried setting mirror to 688 but it will just overlap
@marbles1339
3 жыл бұрын
My window size is 1280x720
@Alltagsabenteuer
3 жыл бұрын
1440 is the width of the images, I assume?
@Alltagsabenteuer
3 жыл бұрын
Ah, you explained that in the comment
@Bballfocus
2 жыл бұрын
hey quick question how do i put the doanloaded code into my game
@jannikkimjensen1433
2 жыл бұрын
when i set the mirror thingy it only repeats once
@bitbraindev
2 жыл бұрын
Did you also set the texture to "repeating" on import? Without it will not work.
@elite_astro2820
3 жыл бұрын
I'm glad to hear your voice :D (Discord Kacper)
@shuba5173
2 жыл бұрын
how can make my Godot UI like yours?
@bitbraindev
2 жыл бұрын
Here you go! github.com/bitbrain/godot-dash
@shuba5173
2 жыл бұрын
@@bitbraindev ttthank youu
@boanediggadukabberst5380
Ай бұрын
Den deutschen Akzent hört man sofort raus
@bitbraindev
Ай бұрын
✌️
@nahiyanalamgir7056
3 жыл бұрын
Contrary to what a lot of people are saying, this tutorial is definitely not well-explained. It's true that you're showing the steps and describing how you're doing all these, more like a cooking recipe. However, what this tutorial lacks is the explanation of WHY you're doing what you're doing. You're not showing us the effects of each step and why you decided to do something in that specific way. You're not explaining, for example, why you created that variable and set that specific value. I believe that a good fraction of the people here are just copying the steps without caring to understand the mechanism behind it. No wonder why they didn't care about the explanation. My comment isn't to put you down but to help you make better tutorials in the future. There's always room for improvement and I like to make it clear that this tutorial is, nevertheless, helpful.
@bitbraindev
3 жыл бұрын
Thank you so much for the feedback. I agree, that the why is important and I need to incorporate more why I do certain things. However, I need to find a balance as I don't want to create 20-30 minute tutorials. My tutorials are meant to be fast-paced. I will think about how I will structure my tutorials better. Thank you again!
@nahiyanalamgir7056
3 жыл бұрын
@@bitbraindev Thank you for taking my comment positively. I do care about the channel and can definitely see your points. Finding the right balance is always the trickiest part. You gained a new subscriber and I look forward to seeing more tutorials from you!
@MauroC74
Жыл бұрын
@@bitbraindev Don't change anything. I think that people should blind copy your steps then reading manuals and googling should be enough for clearing doubts. It's ok to answer questions but a quick tutorial like isn't meant for beginners. What's the point in using parallax if your game is unfinished/unplayable ? This should be more important.
@SaysAnX
Жыл бұрын
No sirve
@curtisnewton895
3 жыл бұрын
too complicated for beginner
@bitbraindev
3 жыл бұрын
Thank you for your honest feedback. What exactly did you not understand/was unclear exactly? Your feedback would help me to improve on future tutorials. My goal is to make them approachable and easy to understand.
@gargoyled_drake
2 жыл бұрын
@@bitbraindev gonna try this one out and come back with further feedback, but just by first impression i think it's just the fast paste and i could imagine some viewers would like to see the entire setup, like creating the scene and adding the 2d node and such, if completely inexperienced it can be intimidating or overwhelming to figure it out your self. but so far i don't think it's an issue, we all gotta get over those first bumps on the road without handholding the entire way
@bitbraindev
2 жыл бұрын
@@gargoyled_drake the objective of my Godot tutorials is to act more like "snippets" for folks to always go back to. I am planning to do a very basic Godot/coding series in future that my grandmother could even build games with after.
@gargoyled_drake
2 жыл бұрын
@@bitbraindev i know, i really liked this, i was just trying to wrap my head around where curtis might be coming from, been thinking pixel art for my level and how to make it do implement this mirroring method which looks really cool and easy to use, thank you btw!
Пікірлер: 113