0 votes

I'm fairly new to coding but I haven't had much trouble with Godot due to helpful old forum threads and documentation. I'm working on this project where I'd like to have the ability for players(for now just me and a couple friends) to add custom audio files to the game, to then be called up somehow (maybe via an array or something else) and then played randomly as the game goes on. My issue is i can't figure out how to have Godot generate a list of tracks from the user:// directory. I can't simply define the tracks in advance, because I want to be able to add audio files to the game's folder after I've exported the app and am running it as an app. Is this even possible? And if so, how would I go about it? Perhaps there is relevant documentation on functions and Godot features I can use to do this.

in Engine by (46 points)

1 Answer

0 votes
Best answer

https://www.youtube.com/watch?v=S-8IcHucSNg&t=928s

I've figured it out. This video should help if you would like to know. (He goes into it around the middle)

by (46 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.