0 votes

I have a large spritesheet which contains various terrain elements.

My understanding was that I could make atlas out of the file, and set the region the atlas uses for each sprite. If I change the region in the atlas, however, it changes for every sprite. Of course, I understand I could remedy this by making all sprites using the atlas unique, but doesn't that eliminate any performance benefits that I'd be trying to accomplish by having everything in one file and having multiple nodes and sprites accessing that resource? If this is not the way this is supposed to be done, what is the proper way to accomplish what I am trying to do (large common spritesheet resource, various sprites and nodes take their textures from it)?

in Engine by (276 points)

1 Answer

0 votes

If under spritesheet which contains various terrain elements you mean tileset then like this https://www.youtube.com/watch?v=V9OoaOlXc_4

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