AtegonMA to Godot • 2 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 methodmessage-square3arrow-up174arrow-down11
arrow-up173arrow-down1playDaily 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 • 2 months agomessage-square3
minus-squareGammalinkfedilinkEnglish6•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
!