Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Rihard | |
Old Version | Published before Godot 3 was released. |
ATTENTION! BAD ENGLISH!
I have sprites for one type wall like that:
Split it by hand - a nightmare. And I want to do it with script.
Question 1: Function “frames” in sprite options.
By default, it ignores borders between sprites. How can I fix that?
Question 2: Global repository for resources.
If I understand this aspect correctly, when I load texture from resourses (load(res://… some.atex)), it is stored in memory in a single copy.
So, can I save objects of new textures like global resource with some function of a game engine, or I need to create Class-container somewhere in main Scene?