Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallax2D is missing when Repeat Times is bigger then 1 #93204

Closed
roydbt opened this issue Jun 15, 2024 · 2 comments
Closed

Parallax2D is missing when Repeat Times is bigger then 1 #93204

roydbt opened this issue Jun 15, 2024 · 2 comments

Comments

@roydbt
Copy link

roydbt commented Jun 15, 2024

Tested versions

  • Reproducible in: v4.3.beta1.official [a4f2ea9]

System information

Godot v4.3.beta1 - macOS 14.5.0 - Vulkan (Mobile) - integrated Apple M1 - Apple M1 (8 Threads)

Issue description

My background is smaller than my viewport, so I thought that increasing the "Repeat Times" field in my Parallax2D node would solve the issue. Instead, I can no longer see the background at all.

Steps to reproduce

  1. Download the MRP
  2. Run the project, and see that everything works
  3. Increase the "Repeat Times" field to 2
  4. Run the project again and see that the background is missing

Minimal reproduction project (MRP)

MRP.zip

@markdibarry
Copy link
Contributor

Thanks for the report! This is a duplicate of #92705. Luckily, this was fixed recently in #92763, so the fix will be in the next beta release.

Also, while repeat_times will solve the issue, it usually better and more flexible to prepare your backgrounds for your viewport by using the sprite region and repeat flags. repeat_times best use is for when you have a background that already is set up to fit your viewport, but you plan to zoom out at certain points. Good luck, and have fun!

@kleonc
Copy link
Member

kleonc commented Jun 15, 2024

Closing as duplicate of #92705 per the comment above.

@kleonc kleonc closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants