I’m currently working on a rhythm game, though, it’s a bit more complex than other ones, so I made a tutorial for it in another separate game. Between songs loading, I have a splash screen with the thumbnail of the song, the name of the song, who mapped it, etc. The only problem is, I’m not sure how to change the screen depending on the song data, and If I make a splash screen for every song there is, it’ll cause a lot of unnecessary lag.
My main question is if there is a way to send data between two places, so the main ‘Lobby’ sends the song data to the ‘Tutorial’ place.
When you use :Teleport() function, it has 2 required arguments and 2 optional arguments.
They are: teleportData and customLoadingScreen, just add some data table to the third argument which is teleportData, and access it from the other place using :GetLocalPlayerTeleportData().
Read about it more in this article.
As the teleportData is transmitted by the client it is not secure. For this reason it should only be used for local settings and not sensitive items (such as the users’ score or in-game currency).
Ohhhh, ok, but i’m still confused on what @Badandy11 said about
As the teleportData is transmitted by the client it is not secure. For this reason it should only be used for local settings and not sensitive items (such as the users’ score or in-game currency).
I don’t think it would effect me, because it’s not something like currency or in-game items, it’s just song data…
And if I did switch it to not do this, what would I do then?