Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | nioaps |
1.About load image,texture resources: I have imported all of my *.png inside my project
2.Then inside a *.gd file, i have a for loop. Inside that for loop, i call:
Example: var a = load(“res://item/potion.png”)
So, the detail questions are:
q1: How this load process work?
q2: Does this load method good or bad? In case it contain a lot of resources files (maybe 10k or even 100k resources files)
q3: Does this resources was load one time and cached or keep load again whenever enter that iterate?