Ategon@programming.devM to Godot@programming.dev · 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 methodprogramming.devvideomessage-square3fedilinkarrow-up11arrow-down10
arrow-up11arrow-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 · 4 months agomessage-square3fedilink
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up0·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
!