Quote: "Oh my god, the way he gets to call JavaScript functions is a total insecure and slow hack. Use at your own risk.
Apparently, when running Tier 1 in the browser, the `Message` function will call `window.alert`. So what he does is hijacking that function and calling`eval` to run some function. "
Yeah, I thought of the XSS attacks when seeing that , because some people hijack the error messages to run scripts.
Quote: "where Tone.js is "a Web Audio framework for creating interactive music in the browser", i would assume it needs to "listen" to a stream of "real time" audio so i'm not sure cookies would help with the read/write times involved (and it seems it would jackhammer our hard drives while "streaming" the audio data as cookies?) ?
"
My bad.
I missed all that, and I did see the libs part of the original post after I posted, and thought I may have given bad advice.
My mind was still focused on the thread title and was thinking simple values when I posted my suggestion.
I was not even familiar with Tone.js but after a little search..
Tone.js is really cool.
I may have to play around with those myself at some point.
Quote: "Shared variables work! They also work in both directions! Thanks Conjured Entertainment. Ill have to do some proper testing to be sure this is viable. We can also take advantage of this to transfer data between multiple agk apps running in different tabs in the browser."
AWESOME!
Glad I could help, and yeah those shared variables are just for that... sharing between multiple apps running, and I was pleasantly surprised when I ran a few of my first tests for those.
Of course, I was not testing for Tone.js , but I was seeing instant changes in one window when I made them in another, and they definitely served the purpose I was testing for.
Still have some security issues with cookies of course, but I was planning on proprietary encryption/decryption of my data being passed.
I look forward to seeing what you can come up with.
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1