slavidodo / OpenTibia-Unity

A collection of projects to boost OpenTibia development!
https://slavi.gitbook.io/opentibiaunity/
MIT License
104 stars 45 forks source link

WEBGL #15

Open boberski666 opened 5 years ago

boberski666 commented 5 years ago

Is your project support WebGl build?

slavidodo commented 4 years ago

It should be, but that was never tested..

I also believe, there should be a mechanism to store otus/otud files in some other way for webgl to function with the least network usage.

MUN1Z commented 4 years ago

@MBoberski, @slavidodo Even if you can compile to webgl, the socket connection will not work in the browser, you would have to implement all communication between the client and server using web sockets to be able to work in the browser, this modification would have to be done on both the client and server side. on the server side.

boberski666 commented 4 years ago

You can also build proxy app to translate communication I think... Also a socket.io kinda library would done a job od this.

MUN1Z commented 4 years ago

@MBoberski Yes, it would be very interesting to implement this proxy on the client and server itself, allowing the developer to alternate which one he wants to use tcp / websocket / rudp, you could give a refactor in tfs and otu, creating this level of abstraction / proxy in sending and receipt of packages. the packages would continue with the same current structure, just the way they would be changed that would change depending on what the guy wants to use on his server.

boberski666 commented 4 years ago

@Mun1z or just create third party software only to translate calls