Web client for Wesnoth, like Freeciv.
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
-
- Posts: 1
- Joined: January 24th, 2010, 10:22 pm
Web client for Wesnoth, like Freeciv.
Hello,
Here's an idea for Wesnoth: create a client for Wesnoth which is playable in
a web browser. This will give more people easy access to playing Wesnoth.
What do you think of this idea? Would it even be possible, given Wesnoth's architecture?
Since Wesnoth uses clients and servers, I would think it's possible.
Freeciv has created a web client, which can be played here: http://www.freeciv.net/.
It renders an isometric map using the HTML5 canvas element.
Something similar should be possible for the Battle for Wesnoth.
Would there be any interest in such a client for Wesnoth?
Roeschdal
Here's an idea for Wesnoth: create a client for Wesnoth which is playable in
a web browser. This will give more people easy access to playing Wesnoth.
What do you think of this idea? Would it even be possible, given Wesnoth's architecture?
Since Wesnoth uses clients and servers, I would think it's possible.
Freeciv has created a web client, which can be played here: http://www.freeciv.net/.
It renders an isometric map using the HTML5 canvas element.
Something similar should be possible for the Battle for Wesnoth.
Would there be any interest in such a client for Wesnoth?
Roeschdal
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Re: Web client for Wesnoth, like Freeciv.
I'm sure such a thing would see use, but there are no coders available to make it work, if it is even possible to do with web based media (something which I, in my limited knowledge of programming, am decidedly doubtful of). If you wanted it done, you'd have to either do it yourself, or find someone with the time, ability and drive to make it work.
It ain't gonna happen any other way.
It ain't gonna happen any other way.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
-
- Art Contributor
- Posts: 1700
- Joined: December 7th, 2006, 8:08 pm
Re: Web client for Wesnoth, like Freeciv.
http://forums.wesnoth.org/viewtopic.php?f=13&t=21807
Mind the name, it was pretty much a multiplayer web client for Wesnoth that got only the most basic stuff implemented (more than just an UI for the original cpp program - it redid everything from scratch). Wesnoth has a level of detail vastly higher than that of FreeCiv; to implement actually all the stuff in Wesnoth in a web client is silly. Making a web client compatible with the Default era Wesnoth multiplayer, but nothing more, does sound sort of feasible though, in my newb opinion. Go ahead if you want to give a try.
Mind the name, it was pretty much a multiplayer web client for Wesnoth that got only the most basic stuff implemented (more than just an UI for the original cpp program - it redid everything from scratch). Wesnoth has a level of detail vastly higher than that of FreeCiv; to implement actually all the stuff in Wesnoth in a web client is silly. Making a web client compatible with the Default era Wesnoth multiplayer, but nothing more, does sound sort of feasible though, in my newb opinion. Go ahead if you want to give a try.
Re: Web client for Wesnoth, like Freeciv.
I could be wrong, but if the game was on the web, it would not be as customizable. When it's installed, you can go into its archive and change the data.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
Re: Web client for Wesnoth, like Freeciv.
I would take it easy at first.
A good first step would be a to just render a map (with transitions *shudders*). Preferably reading data directly from WML (or a preprocessed version of it). Then being able to show a replay would be nice (forum embeddable replays? yes, please ). Then local player interaction. And finally login into multiplayer and such.
It would be a long process though.
A good first step would be a to just render a map (with transitions *shudders*). Preferably reading data directly from WML (or a preprocessed version of it). Then being able to show a replay would be nice (forum embeddable replays? yes, please ). Then local player interaction. And finally login into multiplayer and such.
It would be a long process though.
- Viliam
- Translator
- Posts: 1341
- Joined: January 30th, 2004, 11:07 am
- Location: Bratislava, Slovakia
- Contact:
Re: Web client for Wesnoth, like Freeciv.
It means writing the game again, in a different programming language, doesn't it?
The only good thing about it, is that you would have clear specification of what needs to be done. And your data files are already made. Still a lot of work, though.
The only good thing about it, is that you would have clear specification of what needs to be done. And your data files are already made. Still a lot of work, though.
Re: Web client for Wesnoth, like Freeciv.
It's possible... but it's a major undertaking... you would indeed have to rewrite literally everything, except maybe wesnothd. And to do it for free? :/ I'm not sure anyone would have that much free time...
Proud creator of the :whistle: smiley | I prefer the CC-0 license.
Re: Web client for Wesnoth, like Freeciv.
Sorry resurrecting this old thread, but i stumbled onto it by a google search for a webclient.
I suppose there is nothing new in this field?
I lack proper knowledge, however wouldn't it be possible to enhance the c-client in such a way that it:
a) provides a http (soap/rest) interface to be able to receive low level interactions (mouse clicks essentially)
b) delivers rendering information (a rendered image at the basic level to start with)
This way the webclient could only deal with the basic web stuff: creating a fresh client instance, showing the rendered images, tunneling user input to the client, which then results in an updated image...
Maybe suchba c-to-web wrapper already exists?
I suppose there is nothing new in this field?
I lack proper knowledge, however wouldn't it be possible to enhance the c-client in such a way that it:
a) provides a http (soap/rest) interface to be able to receive low level interactions (mouse clicks essentially)
b) delivers rendering information (a rendered image at the basic level to start with)
This way the webclient could only deal with the basic web stuff: creating a fresh client instance, showing the rendered images, tunneling user input to the client, which then results in an updated image...
Maybe suchba c-to-web wrapper already exists?
NEW LoW Linux automated friends script: GitHub project site | Forums post
Re: Web client for Wesnoth, like Freeciv.
Where would the C code run? It sounds like it would need to be on a server somewhere, as if it's on the player's PC then there's no need for the browser to be involved; that would take a lot more processing power than the existing Wesnoth server.
The ability to run the whole client in the browser might be possible with Vultraz's Wesnoth-on-Godot project. The Godot project itself has an article about their attempts to run in a browser: https://godotengine.org/article/webassembly-godot-web
The ability to run the whole client in the browser might be possible with Vultraz's Wesnoth-on-Godot project. The Godot project itself has an article about their attempts to run in a browser: https://godotengine.org/article/webassembly-godot-web
Re: Web client for Wesnoth, like Freeciv.
Someone tried to get Wesnoth working in the browser with Emscripten a few years ago. It was able to load the main screen but I don't think it ever got beyond that.
Re: Web client for Wesnoth, like Freeciv.
Consider how important the www became, I think that should be a todo-check in the future. But I guess it is also a lot of work ... don't think there is a trivial way to add this.
Good to know at one point it was possible to play it via Emscripten. Perhaps if someone could try to get that running again, just to showcase that it were possible ... that might help.
Good to know at one point it was possible to play it via Emscripten. Perhaps if someone could try to get that running again, just to showcase that it were possible ... that might help.
-
- Posts: 13
- Joined: April 17th, 2020, 2:46 pm
- Location: null
Re: Web client for Wesnoth, like Freeciv.
Haldric could possibly support something like a web client