AtegonMA to Godot · 4 months agoDaily 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 methodvideomessage-square3fedilinkarrow-up174arrow-down11
arrow-up173arrow-down1videoDaily 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 methodAtegonMA to Godot · 4 months agomessage-square3fedilink
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up6·4 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
!