I think this would be really cool for a turn based rpg. Have the character enter the instance and when a mob approaches it enters a battle sequence!! Cheers!
Thanks a lot. Amazing tutorial. I am a new in pygame, but not in python. So I implemented the Parallax logic to my code and it looks terrific. I decreased scroll step from 5 to 0.8 and increased x range for the endless effect. P.S. found nice background images on craftpix.
A nice way for creating a 3D effect. Was a bit hard for me to do it myself, but I followed the tutorial and got the required output. (still waiting for the discord server)
I found your channel recently and your content is amazing! Could you please do a game with full screen so we can learn how to handle that every user might have a different screen size 😅
Thanks! Glad you like it. Yes that's something I'd like to look at because I've noticed sometimes the games I make are too big or too small on other people's screens
I notice a bit of jitter while scrolling. Have you found a solution for this? Perhaps this approach might not be the best way of doing parallax effects?
I've noticed jittering in a few of my pygame projects where I have continuously moving images and spent a while trying to troubleshoot them but could never figure it out. Not really sure what causes it.
How would one do an endless scroller? Currently when we hit the last image in the list, we get nothing else. I guess there is a way to wrap these images around
So I make this, do I also code my game in here? I’m still not sure if I’m supposed to use one box of code for my whole game or if I’m breaking it into parts
You can split your project into different files and this background effect can be one of those parts. You can then import it into your main game and use it there.
Yes it would be possible to do. I have another video where I explain how to create an infinite scrolling background so the method in there can be combined with this one to give an infinitely scrolling parallax background. This is the other video: ruclips.net/video/ARt6DLP38-Y/видео.html
@@CodingWithRuss I will be doing your all videos about python because I think they are really nice and you are very good at sharing your knowledge. Thanks a lot. Ohh also after making that platform game some people tried it and 6 years old a child like it very much and I felt super proud. I just followed all your tutorials and I had change to write the code and I learn a bit of course. Thank you for me feeling good. I really appreciate that.
This video shows how to make an infinite background, so you can apply the same logic here by modifying the code a little bit: ruclips.net/video/ARt6DLP38-Y/видео.html
@@half-eye3006 Hello, I'm trying to make the same thing. Did you have to make a scroll variable for each background? Or is there a less redundant way to do things?
Hello! I am new to programming and am attempting to code a something in Pygame, however I am struggling a lot. Would it be possible if I could contact you somehow and ask for some help?
I think this would be really cool for a turn based rpg. Have the character enter the instance and when a mob approaches it enters a battle sequence!! Cheers!
Thanks a lot. Amazing tutorial.
I am a new in pygame, but not in python. So I implemented the Parallax logic to my code and it looks terrific.
I decreased scroll step from 5 to 0.8 and increased x range for the endless effect.
P.S. found nice background images on craftpix.
where can i copy the code?
A nice way for creating a 3D effect. Was a bit hard for me to do it myself, but I followed the tutorial and got the required output. (still waiting for the discord server)
Thanks! And good to see you again :)
@@CodingWithRuss Yea, we have summer break now so I can watch your videos :)
Yeah
where can i copy the code?
Just what I needed ❤
Glad it helped
Wow...
Python has so much potential...
Great tutorial Russ!
Thanks!
Super explanation and awesome effect
Oh that looks great
Elegant thanks for sharing
Thanks!
I hope you will be back soon, you are making great staff.
I've been working on a new game, it should be ready soon :)
Really Awesome. Thank You very much...
I found your channel recently and your content is amazing!
Could you please do a game with full screen so we can learn how to handle that every user might have a different screen size 😅
Thanks! Glad you like it. Yes that's something I'd like to look at because I've noticed sometimes the games I make are too big or too small on other people's screens
Hi, how would you locate and move sprites behind the first layer?
I notice a bit of jitter while scrolling. Have you found a solution for this? Perhaps this approach might not be the best way of doing parallax effects?
I've noticed jittering in a few of my pygame projects where I have continuously moving images and spent a while trying to troubleshoot them but could never figure it out. Not really sure what causes it.
@@CodingWithRuss Good to know! Thanks for your speedy reply!
How would one do an endless scroller? Currently when we hit the last image in the list, we get nothing else. I guess there is a way to wrap these images around
To achieve that, you can combine the parallax logic with the endless scrolling logic from this video: ruclips.net/video/ARt6DLP38-Y/видео.html
@@CodingWithRuss wow great so helpful, do you not understand that it has a delay like it doesnt work like that
Actually I tried to apply the endless scrolling with this parallex logic, but its not continous as compared to a single image
Hi. Do you have a snake game in pygame?
So I make this, do I also code my game in here? I’m still not sure if I’m supposed to use one box of code for my whole game or if I’m breaking it into parts
You can split your project into different files and this background effect can be one of those parts. You can then import it into your main game and use it there.
@@CodingWithRussyou’re amazing and you’ve me helped so much
Absolutely wonderful!
Thanks!
i see that it draws 5 times, i do wonder if it can loop infinately
for x in range(5):
Yes it would be possible to do. I have another video where I explain how to create an infinite scrolling background so the method in there can be combined with this one to give an infinitely scrolling parallax background. This is the other video: ruclips.net/video/ARt6DLP38-Y/видео.html
Is there a way to make this infinite?
Yes, you can combine it with this video to create an infinite parallax background: ruclips.net/video/ARt6DLP38-Y/видео.html
Completed!
jehhueeheyy!
Wow you're getting through them quick. I will need to make more :)
@@CodingWithRuss I will be doing your all videos about python because I think they are really nice and you are very good at sharing your knowledge. Thanks a lot. Ohh also after making that platform game some people tried it and 6 years old a child like it very much and I felt super proud. I just followed all your tutorials and I had change to write the code and I learn a bit of course. Thank you for me feeling good. I really appreciate that.
peak
you guys know how to make the image in a infinit loop.
This video shows how to make an infinite background, so you can apply the same logic here by modifying the code a little bit: ruclips.net/video/ARt6DLP38-Y/видео.html
@@CodingWithRuss i managed to make it, thank you brother
@@half-eye3006 Nice one
@@half-eye3006 Hello, I'm trying to make the same thing. Did you have to make a scroll variable for each background? Or is there a less redundant way to do things?
@@shadowace159 scroll variable for each background i did that
Hello! I am new to programming and am attempting to code a something in Pygame, however I am struggling a lot. Would it be possible if I could contact you somehow and ask for some help?