Hi!
As many of you know I am currently building a machine to project visuals synchronised with music. This means I need a defold app with two windows: One window with the visuals which would projected behind the band or DJ, and another with the user interface, which the public won’t see.
To avoid latency, the user needs to interact with the visuals app, and read the information from the UI. That means the visuals app needs to send info to the UI app, NOT vice versa (It’s not a problem if the UI has a delay, but the visuals need to respond to button presses the instant the button is pressed).
All of this will be done on one machine - my macbook pro - without the need to connect to the internet. Just to give you an example of a perfectly working set up i have right now, I control the visuals and use the debug read out as a UI.
my new improved solution is to simply build two apps, a visualiser and a UI, and both apps would share the same save file. The UI could, for example, check the save file every 0.2 seconds to see if any changes have been made, and show them to the user. Think of it as a messaging system between the two apps.
I’d like to put this forward to the community because it will take me a long time to build this solution (i am not a very good programmer) and it would save me a lot of time if some genius could say “that won’t work because defold save files are only readable by the app that saved them” or “loading a save file every 0.2 seconds is unworkable” or something like that.
Thank you so much for your time.