I know it sounds like the stupidest idea.. or at least contrary to what we usually want.
Hope I can make myself clear, It´s hard enough when speaking another language, imagine when I´m not really sure what I am talking about. Lol!
My question is, can we share data to be loaded as a variable in all pcs playing without having to think this as a multiplayer game? It doesnt doesn´t need to be in real time, but, maybe every minute or so.
Maybe I am looking at this from a dumb angle and you guys can help me out.
My project/idea: (I´m ok with this, so far so good)
We will be having a donation day, with physical bins where you can donate a) food, b) toys.
They will be placed in different places, so no chance of sharing a local network
Each bin will have 4 arcade buttons attached, pc, screen, etc.
When you enter food (cans), the button triggers a keystroke "7" when you enter toys it will trigger a keystroke "9"
When you take something out, will trigger "1" or "3" Each keystroke adds or subtracts to each global variable.
For the next steps, I have a workaround. I will teamview all pcs to one, so... problem solved. They will all be playing the same game, on the same pc. :P
But, to make things right and learn in the meantime... Questions time!
Everything is working perfect on each "station", however, I´d like to be capable of updating each other
1) Is it possible to store this local variables on a server, so they can share the same data without going through the process of setting a multiplayer server, or... whatever that takes more time than what can be afforded here?
I have tried to set data to google spreadsheet using this amazing tutorial: construct.net/en/tutorials/sending-data-from-construct-23-to-google-spreadsheet-1447
I can write data, but don´t know how to retrieve it. (or if it´d be useful in this case)
I have tried following firebase tutorials, but I don´t even know if I´m peeing in the right bucket. way beyond my scope.
CAn I get this data from a txt file or something online and just read it and update it every x amount of time?
2) Question 2 When I save this on a localstorage, the numbers are ok, but I´d like to know if there is a way to regenerate the sprites on screen that were generated on each keystroke.
My capx: drive.google.com/file/d/1NB8CfPCOtbBhKs3LEEPldRro96RJE09E/view
Thank you very much!