Ategon@programming.devM to Godot@programming.dev · 3 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 methodprogramming.devvideomessage-square3fedilinkarrow-up173arrow-down11
arrow-up172arrow-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 methodprogramming.devAtegon@programming.devM to Godot@programming.dev · 3 months agomessage-square3fedilink
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up6·3 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
!