Auto scaling and zooming in by Godot

Godot Version

4.3

Question

I was just following some tutorials to create a game. So I got that right, so I was just trying to change texture packs.

Owing to the fact that I couldn’t really draw, I took a background and added it to the game. It was 1080p

I found that they zoomed in on the area of the character was and enlarged the 16x 16 sample sprite.

I was trying to do an attack animation, and found the sample sprite was abit off so I replaced it with a 54x54 one.

After that I found it instead shrank from the default background I resized so that 3/4 of the window was now empty.

I think there was some scaling done, but a a newbie, I don’t know what it was. Can someone advise and help me?

You need to describe the problem more precisely. Also it’d be good to provide some screenshots.

Basically what happens is that with a 16x16 image, it actually zooms in I think, and when I change the character to a 52 x 52, It displays the whole background and alot of empty space.

I am wondering how I can get the background to just fill the GotDotPlayer, and there’s also the problem of sourcing the textures and trying fun stuff.

I am not sure if there’s a way to somehow make the zooming in and scaling abit more consistent.

is the background part of the player scene?

if it is don’t do that.

In the images provided i have the background the the level:

and not in the player:

Everything I am suggesting is an assumption as I don’t have enough information

It is still really hard to help with so little information, we have no idea what the code is doing or why.

what does ?changing characters? mean.

What I meant was the attack animation for one of the sprites messed up.

So I was using another sprite with a different pixel. I think it might be the camera. I might have set the zoom for one, but not the other because I was just following a youtube tutorial

Which tutorial?