The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

+2 votes

When importing a png-image as a sprite texture, the sprite/image gets 5 times larger than its actual size. Scale is still (1,1). My window resolution is 1280x720 and my image is 64x64 pixels and still the sprite gets way bigger than the viewport. I have tried to change the size and dpi of the image, but it doesn't help. Now I have to scale the sprite down a lot to make it the size I want.
Godot version 3.0.6
What can I be doing wrong? Spent way too much time on this :)

in Engine by (14 points)

Also experiencing this - v3.2

I'm having the same problem, I made a player with a Sprite size 32x32 then when I made the enemy sprite size of 64x64 png it "pops" bigger in the scene then resizes.

1 Answer

0 votes

I found a solution to my problem, I scaled the rigid body by half in the editor then when it was added to the screen it was automatically sized to the correct size, I think we found a bug, not sure, but this fixed it for me.

by (14 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.