0 votes


I am creating a multiplayer game where players join a lobby. When a player joins, I want a random Animated Sprite from a list to become their sprite.

I have a parent node I'm calling Party. Could I preload all the sprites in that node and then assign them to players as they join? I'm not sure the best way to go about this.


in Engine by (53 points)

1 Answer

0 votes

simplest solution that come to my mind: move the sprite around the game tree using

by (1,499 points)

I like this idea. I think I could preload the sprites as PackedScenes and then add them as children to the Player nodes when the players join.

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.