0 votes

So I've been trying to use a grass texture as a background for a 2D game im trying to desing.

the Node lookes like this:

-Node
-parallaxBackground (as Node child node)
-parallaxLayer (as a PrallaxBackground child node)
-Sprite (as a ParallaxLayer child node )
-camera2D

The problem is when I put the texture in the sprite, the texture is very big and what i see is like a pixel because of the zoom.

am i using a wrong node to use the background? does it have to be .png file instead of .tex?

How can i fit the image to my screen resolution?

Thanks :)

in Engine by (64 points)

1 Answer

0 votes

Never Mind, Found myself a solution!! thanks anyway

Just need to fit the sprite to the screen box in game editor.

by (64 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.