Answer the question
In order to leave comments, you need to log in
How to make cursor chat in real time?
Hello!
I have a question for which I did not find an answer on the Russian web. How to make a cursor-chat in real time. I enter text in the field next to the cursor and it moves with it, and another user can see my text and cursor, how can I do this?
Answer the question
In order to leave comments, you need to log in
As well as any data exchange. Information is transmitted to the server (for example, the position of the cursor), the server transmits to the clients, the client renders
Denis is right. But I’ll add a little:
Sockets must be raised. the server should store sessions of active users and the position of their cursor.
As for the text - similarly, only there should already be a subscription to the "text".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question