Daily Godot Tip #4: If you have an array of items that you need to pick a random thing from, Godot has a built in pick_random methodprogramming.dev Ategon ( @Ategon@programming.dev ) M Godot@programming.dev • 2 months ago message-square3fedilinkarrow-up145
arrow-up145playDaily Godot Tip #4: If you have an array of items that you need to pick a random thing from, Godot has a built in pick_random methodprogramming.dev Ategon ( @Ategon@programming.dev ) M Godot@programming.dev • 2 months ago message-square3fedilink
minus-square Gamma ( @GammaGames@beehaw.org ) linkfedilinkEnglish6•2 months agoAnd in case you’re trying to play random sounds: you can use AudioStreamRandomizer!
And in case you’re trying to play random sounds: you can use
AudioStreamRandomizer
!