0 votes

One question about the performance over sprite dimension in Godot. For example, I have an image of 24x24, if I make a sprite 32x32 with pure transparent background, and the image in the centre. Will the 32x32 sprite cost more in terms of performance than using the 24x24 sprite? In another word, will larger sprite even with pure transparent background slow down performance? Thank you.

Godot version v3.3
in Engine by (266 points)

1 Answer

0 votes

I would say that the increased resolution would cost more power and memory anyway whether or not there's transparency. If you want to measure the performance drop, make a test with a few hundred sprites using the Profiler.

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