Ategon@programming.devM to Godot@programming.dev · 5 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-up169arrow-down11
arrow-up168arrow-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 · 5 months agomessage-square3fedilink
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up6·5 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
!