Hello,
First of all, i 'm foreigner (korean) so my english skill is bad. please understand my situation. thank you
i wanna make a game like chess. actually i wanna make a game like Heroes of might and magic series game.
and it can be network.
My plan is that 1server , 2 client connected to it. and each client can play a game.
what i have done is that i used MasterServer and register a server ( because i 'm making game so i think 2 server is not needed).
and A client ( it is bulided, so i can run window), connected well.
A Object i created, this is like a piece in chess( is this right word? like Knight,Queen,KIng ),
if i press my space bar in client, RPC is called and server make a object. so server has Object control
so if, i mouse click in client, object is moving to destination.
(object has Network view Component and Synchronization is Reliable)
when object moved, this moved smoothly. i mean not teleport to destination.
you know what i mean? not teleport, move smoothly
but, this is synchronization is Reliable… so there is a delay of time…
so i think.
when you see Server window, this object teleport to destination.
but when you see client window, this obeject move to destination smoothly.
this is more efficient i think.
but this is not worked…
i wanna to say so much things but my english skill is so bad that i can’t say collectly…
but i keep doing.
so i do many things to run what i wanted…
this object is only exist in server. because i do like that… using RPC.
so in client, i can’t control this obejct ( and i think this is good for security i think i heard of that)
but, i really can’t do that. so i think
client has also a List which stored object(server has a list before).
but i realize this is not good…
when i control server, i can’t access client list,
when i control client, i can’t access server list.
this make same problem… adding a list to client or not…
this is turn based so i think synchronization doesn’t need to be very soon.
how can i do that?
my question isn’t clearly i think… but help me.
i have searched korean cumunity, but no one can tell me that… or make me confused…
thank you for reading my bad word