Change Project ID while playing
See original GitHub issueI was thinking about implementing multiplayer in my game, and as I thought about how to do this, I thought about the project ID provided by the Packager, which identifies the project when it connects to a cloud variables server.
I was thinking of being able to create 4-player mini rooms in which, thanks to a unique 8-10 digit code generated by TurboWarp, the project ID can change keeping the original ID (for example: Asteroid-
) and adding the generated unique code (for example: 841829346
) and then connecting to the project ID Asteroid-841829346
.
This would allow all players to connect to the same project ID (and so on the same virtual server) without having to create a variable for each existing player as this could be occupied by others on the original project ID and would only create conflicts.
With this method instead it will be sufficient to create P1, P2, P3 and P4, correlated to the position variables etc.
The question is: can you then create a cloud ☁️server
variable that can change this parameter within the game?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top GitHub Comments
I support this!
A blank string is one that has a length of 0
A string that just contains a space is a valid room ID