+1 vote

In my game, the bullet Node contains all the information regarding how fast it is, how innacurate the bullet is and what sound is played. This is because in my game, the type of bullet changes, not the gun. I was just wondering if it is very inefficient for every bullet node to be preloading their gunshot sound

in Engine by (20 points)

1 Answer

+3 votes
Best answer

Resources are shared. Once a resource has been loaded, additional instances will use the same resource.

https://docs.godotengine.org/en/latest/getting_started/step_by_step/resources.html

by (20,379 points)
selected by

thank you this is exactly what i was hoping for

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 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 webmaster@godotengine.org with your username.