Hey guys,
I started creating a game with multiplayer and got into a little problem.
I made a game where peers listen for a broadcast, when they receive it, they go to another layout. (This can be done with multiple layouts) I tested this myself with different tabs in my browser and realised when I do the broadcast twice (or more) with the host (so the peers should change layout twice), the peers don't seem to change their layout. Are they not receiving the broadcast from the host because their tab isn't open or active? And is there any way to fix this problem?
I know it's just a detail and will not happen a lot with actual players but this project is for school and my teacher is one of the kind that loves digging into code to find bugs...
Thanks in advance!