Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Directory of rive files while running on the web #300

Open
hark444 opened this issue Jan 23, 2019 · 2 comments
Open

Add a Directory of rive files while running on the web #300

hark444 opened this issue Jan 23, 2019 · 2 comments

Comments

@hark444
Copy link

hark444 commented Jan 23, 2019

How do I add an entire directory of rive files while running on the web.

There are " .rive " files being created through a UI.
I want my mainScript.js to add these files itself.
I saw that I cannot use loadDirectory() while running on the web.
I can't stop the tomcat server each time and manually enter each file name in loadFile().

@dcsan
Copy link
Contributor

dcsan commented Jan 23, 2019

save the .rive files to a database
concatenate all the 'files' together into one big rivescript
then load that
you would of course have to load it via another api to your DB content

@hark444
Copy link
Author

hark444 commented Jan 23, 2019

Oh thanks. Lets see if it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants