MasterOX 水
MasterOX 水
NNormal
Created by MasterOX 水 on 7/4/2024 in #🤝ask-a-question
how to handle code server side
how do i run a timer for example on the server and get a signal sent to all the clients when that timer reaches 0
9 replies
NNormal
Created by MasterOX 水 on 6/13/2024 in #🤝ask-a-question
error when syncing custom int
Failed to set model on component (1:score2 (score2)).
7 replies
NNormal
Created by MasterOX 水 on 6/8/2024 in #🤝ask-a-question
realtime.destroy problem
Realtime: Could not find RealtimeViewModel for RealtimeView in the datastore. Unable to destroy RealtimeView. UnityEngine.Debug:LogError (object)
5 replies
NNormal
Created by MasterOX 水 on 6/7/2024 in #🤝ask-a-question
normcore pricing question
is the 120GB of data per month or forever (for the free plan)
7 replies
NNormal
Created by MasterOX 水 on 6/7/2024 in #🤝ask-a-question
show lobbies
how would i make a system that shows all of the current active games?
6 replies
NNormal
Created by MasterOX 水 on 6/7/2024 in #🤝ask-a-question
realtime.destroy
how do you use realtime.destroy
4 replies
NNormal
Created by MasterOX 水 on 6/7/2024 in #🤝ask-a-question
instantiate at specific coords
how can i instantiate something with Realtime.Instantiate at a specific position
9 replies
NNormal
Created by MasterOX 水 on 6/4/2024 in #🤝ask-a-question
request ownership
i forgot how to request ownership can u please tell me
5 replies
NNormal
Created by MasterOX 水 on 5/14/2024 in #🤝ask-a-question
webgl
do i have to do something to make webgl work or will it work as it is?
10 replies
NNormal
Created by MasterOX 水 on 4/29/2024 in #🤝ask-a-question
keep track of score
how do i keep track of each player's score on a leaderboard?
28 replies
NNormal
Created by MasterOX 水 on 4/27/2024 in #🤝ask-a-question
custom sync question
what is this for and is it required to have it in your script?
protected override void OnRealtimeModelReplaced(ColorSyncModel previousModel, ColorSyncModel currentModel) {
if (previousModel != null) {
// Unregister from events
previousModel.colorDidChange -= ColorDidChange;
}

if (currentModel != null) {
// If this is a model that has no data set on it, populate it with the current mesh renderer color.
if (currentModel.isFreshModel)
currentModel.color = _meshRenderer.material.color;

// Update the mesh render to match the new model
UpdateMeshRendererColor();

// Register for events so we'll know if the color changes later
currentModel.colorDidChange += ColorDidChange;
}
}
protected override void OnRealtimeModelReplaced(ColorSyncModel previousModel, ColorSyncModel currentModel) {
if (previousModel != null) {
// Unregister from events
previousModel.colorDidChange -= ColorDidChange;
}

if (currentModel != null) {
// If this is a model that has no data set on it, populate it with the current mesh renderer color.
if (currentModel.isFreshModel)
currentModel.color = _meshRenderer.material.color;

// Update the mesh render to match the new model
UpdateMeshRendererColor();

// Register for events so we'll know if the color changes later
currentModel.colorDidChange += ColorDidChange;
}
}
13 replies
NNormal
Created by MasterOX 水 on 4/27/2024 in #🤝ask-a-question
joining empty rooms
how do i stop users from joining empty rooms (rooms that havent been hosted yet)
19 replies
NNormal
Created by MasterOX 水 on 4/26/2024 in #🤝ask-a-question
realtime instantiate
how can i instantiate something under a parent with realtime
7 replies
NNormal
Created by MasterOX 水 on 4/26/2024 in #🤝ask-a-question
sync game states
i want to sync game states (game started, ended,etc...) between the clients. whats the best way of doing this
32 replies
NNormal
Created by MasterOX 水 on 4/26/2024 in #🤝ask-a-question
mark the first user that joins as the room owner
how do i mark the first user that joins as a room owner
16 replies
NNormal
Created by MasterOX 水 on 4/26/2024 in #🤝ask-a-question
multiplayer party game like kahoot
i want to know if a multiplayer party game like kahoot is doable, the idea is that the server is a screen and the clients are phones that act as controllers for the screen
6 replies
NNormal
Created by MasterOX 水 on 4/19/2024 in #🤝ask-a-question
how to see if player is connected to room
how can i get a bool that tells me if the player is connected to a room or not
4 replies
NNormal
Created by MasterOX 水 on 4/9/2024 in #🤝ask-a-question
How to get local player?
How can i get the local player and assign it to a variable?
7 replies