Godot: alias for rset and rpc to be more clear

Created on 16 Aug 2019  路  4Comments  路  Source: godotengine/godot

rset and rpc are confusingly named I suggest a better name for them

net_call()
net_set()
mayber a net_get() as well?

archived

Most helpful comment

remote_call() / remote_set()?
Those methods have really short names as well, not sure if an alias is enough. You gotta really do multiplayer a lot with tons of these calls per script to justify 3-character identifiers (which I'm sure majority of games don't).

All 4 comments

Linking to tracker: #16863

Keep in mind that multiplayer does not need to be over a network. For example, you might have multiplayer over bluetooth. Should the functions be called blue_call and blue_set then?

net_get is probably a bad idea, as it would have a high latency before the response is received, while being mostly useless in both server-authoritative and peer-to-peer games.

remote_call() / remote_set()?
Those methods have really short names as well, not sure if an alias is enough. You gotta really do multiplayer a lot with tons of these calls per script to justify 3-character identifiers (which I'm sure majority of games don't).

I like Zylann's idea
whatever to make them more clear.

Closing in favor of #16863.

Was this page helpful?
0 / 5 - 0 ratings