Search found 9 matches

by dagnelies
July 20th, 2018, 6:51 pm
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

...and why would we need a "Turing-complete procedural language"? I have the feeling that exactly this makes the WML needlessly complex. Every time I see for loops and such things in WML, I think it's something that should be inside the code, while instead providing a simple declarative tag for WML ...
by dagnelies
July 18th, 2018, 7:14 pm
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

OMG, lua is way more complex! I don't want to interpret a whole programming language, I just want to parse some data! ;) I have no grudge with the WML format itself. The basics are even quite good IMHO. It's more that parts of the macros is abused. Like having macros in macros in macros. Then, you a...
by dagnelies
July 7th, 2018, 7:40 pm
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

Hey guys, take it easy! I wouldn't like this thread to derail into a fist fight. ;) It would be nice to keep a courteous tone. I'm clearly realizing rewriting Wesnoth is a herculean task. It's always difficult to assess such big projects, and for now it was just an idea I toyed with. I made a mini p...
by dagnelies
July 2nd, 2018, 7:32 pm
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

No worries, I don't mind. Constructive criticism and a dose of skepticism is healthy. :) I totally agree with the second point that almost no one with a desktop version would switch to an online version, which is certain to be inferior. However, I would indeed challenge the first point. I think ther...
by dagnelies
June 16th, 2018, 8:32 am
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

Well, the multiplayer compatibility would be a challenge. I'd already be happy with a trimmed down single player version ;P. I've already tried to "just" parse the WML itself, but the pre-processing and macros are fairly convoluted/tricky. The WML itself also has a really huge scope, with tons of di...
by dagnelies
June 2nd, 2018, 7:48 pm
Forum: Coder’s Corner
Topic: How does wesnoth tiling system work?
Replies: 2
Views: 1209

Re: How does wesnoth tiling system work?

Thanks for the prompt responses! This tiling system is indeed a challenge!
by dagnelies
June 2nd, 2018, 7:46 pm
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Re: Making a browser version of wesnoth?

Ah, I've already seen both. I must confess I'm actually a bit skeptical about the "transpiling" of the c++ codebase directly into js. The other one looked surprisingly good! It is rather well done. While I was toying around with my prototype, I haven't achieved such well done maps yet. However, I'd ...
by dagnelies
June 2nd, 2018, 8:01 am
Forum: Coder’s Corner
Topic: How does wesnoth tiling system work?
Replies: 2
Views: 1209

How does wesnoth tiling system work?

As an experiment, I attempted to display wesnoth maps in the browser. As I was doing this, I was surprised by the involved complexity. This WML graphics with all its macros look crazy! ;P What I don't understand though is why some tile transitions are "border based", like most terrain. While others ...
by dagnelies
June 2nd, 2018, 7:51 am
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 36
Views: 5037

Making a browser version of wesnoth?

Hi guys, I was toying around with the idea of making a browser based version of wesnoth. This lead me to wonder if there is even interest in the community about such an endeavor. So, bluntly speaking, would *you* like to see such a project realized? This is of course a herculean task, so such a proj...