How do I control 2 differents app?

Get help using Construct 2

Post » Sun Apr 10, 2016 4:44 pm

hi
in i would like to make this in construct2

the first app hosted on a server on the index.htm is the app the user see
i would like to control the elements of that app with an admin app.
for example in the admin app i add a sprite and that sprite appears in the user app index.htm
it is feseable?
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Sun Apr 10, 2016 9:09 pm

You should be able to do this by using the multiplayer plugin. You would have to use a signalling server (You can use the Scirra signalling server for free) and connect the apps with each other. Then you can sync objects and send other data. I don't know very much about the multiplayer plugin but you can learn how it works here: https://www.scirra.com/tutorials/892/mu ... 1-concepts .
I hope this helps! :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Apr 10, 2016 9:17 pm

If it has to be a real time, then WebRTC (you need socet server) or WebSockets (you need to build server in JAVA for instance). If not then it can be done even by AJAX. Then one app updates some database/file with TODO information and second app frequently checks if there are any news in the database.
ImageImageImage
B
28
S
17
G
82
Posts: 1,033
Reputation: 45,910

Post » Sun Apr 10, 2016 10:11 pm

the app i want to test is in fact some kind of viewer for the user, no need of interactivity, just watching what appears on the screen. i have to do the chanegs with an admin app who send the infos to the user app like, moving sprites or text, but the user has nothing to do, just watch :D
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests