Page 1 of 1

Web client?

Posted: 07 Oct 2006, 06:19
by Cosmostrator
I was wondering if there was a possibility of creating a web based client for TMW. I play on several different computers with several different OSes, not all of which I can permanantly install TMW on. So half the time I could be playing is spent installing and uninstalling. This may also help with the problem of compiling so many different versions of the client. As I'm not a programmer myself and have no clue how this could be implemented I figured off topic would be a good place to ask.
-DAVe

Posted: 07 Oct 2006, 07:19
by ElvenProgrammer
Sure it is possible, but will be hard I guess, the current client/server development is taking all our time, but it would be cool to have a java applet/webStart version, of course this will require years at least.

Posted: 09 Oct 2006, 20:17
by Bjørn
We'd need to somehow write a Java or Flash implementation of ENet, or code an alternative way of communication. I guess supporting TCP on the side would be easiest for a Java applet.

Posted: 11 Nov 2006, 09:44
by Saphy
There is a java version of enet already

https://jenet.dev.java.net/

Posted: 11 Nov 2006, 21:31
by Bjørn
Saphy wrote:There is a java version of enet already

https://jenet.dev.java.net/
That's interesting.

Re: Web client?

Posted: 04 Jul 2010, 07:38
by Ark74
I know this topic is pretty old, but i had the same question that Cosmostrator and i suppose open a new topic for the same question is not the answer. :o

Is there any plan on the roadmap to implement this feature for TMW :?:
See you around :mrgreen:

Re: Web client?

Posted: 04 Jul 2010, 09:31
by Crush
Ark74 wrote:Is there any plan on the roadmap to implement this feature for TMW :?:
No.

Creating a web-based client would take just as long as it took to create the current one and will be much less fun. I doubt that anyone would volunteer for this task.

Re: Web client?

Posted: 04 Jul 2010, 11:01
by Ark74
Crush wrote: No.

Creating a web-based client would take just as long as it took to create the current one and will be much less fun. I doubt that anyone would volunteer for this task.
Ok, i think remaking a game just to fit another platform isn't fun at all, since TMW is already cross-platform enough. :P
Thanks for the quick answer & info :wink:

Re: Web client?

Posted: 04 Jul 2010, 13:30
by AnonDuck
With LLVM you can compile C/C++ to java bytecode... Would probably have to write your own SDL backend to work with java's screen/keyboard/net I/O but it could otherwise run unmodified in an applet.

Re: Web client?

Posted: 04 Jul 2010, 14:05
by Dark_Mag
Just because of interest. I could miss it in other posts, but what's about flash? Maybe... erm... it can be written on Flash?

Re: Web client?

Posted: 04 Jul 2010, 15:07
by Matt
Dark_Mag wrote:Just because of interest. I could miss it in other posts, but what's about flash? Maybe... erm... it can be written on Flash?
Yeah, that sounds far better than rewriting TMW in Java. :)
I mean, you can do Flash on Mac right? How hard could that be.

A HTML5/JS prototype would be interesting though.

Re: Web client?

Posted: 04 Jul 2010, 15:29
by Crush
Ever wondered why you see so few online multiplayer games made in flash and the few you see are usually round-based and not in real time? Because flash lacks any decent support for real-time client/server communication.

It also is a closed source technology.

And HTML5 is a technology which is still in its beginning. Maybe in a few years it will be mature enough to use but currently it is too early to start any grand-scale project relying on HTML5.

Re: Web client?

Posted: 04 Jul 2010, 15:40
by Rotonen
If someone wants to pick this up in any format ever, websockets are definitely a thing to look into:

http://en.wikipedia.org/wiki/WebSockets

Re: Web client?

Posted: 04 Jul 2010, 20:40
by Matt
Crush wrote:Ever wondered why you see so few online multiplayer games made in flash and the few you see are usually round-based and not in real time? Because flash lacks any decent support for real-time client/server communication.

It also is a closed source technology.

And HTML5 is a technology which is still in its beginning. Maybe in a few years it will be mature enough to use but currently it is too early to start any grand-scale project relying on HTML5.
captain obvious is obvious.