HTML/CSS GUI

HTML/CSS GUI

Postby MoLAoS » 21 Sep 2012, 09:00

I am currently working on a project and I am attempting to implement libRocket into the engine.
I was wondering how much the ability to edit the GUI in HTML and CSS and Python/JS would improve modding interest.
A lot of open source games use complex and unknown and poorly documented markup languages for instance as well as have limited GUI capabilities in the engine. At best maybe you can skin them.
Would contributors/modders/players/scenaio makers feel that a GUI based on HTML would be easier to use and encourage people to get involved?

I am already planning to get this done because I personally was initially a web designer and so it would be super easy for me. But I was wondering if other people had an opinion?
MoLAoS
 
Posts: 8
Joined: 21 Sep 2012, 08:54

Re: HTML/CSS GUI

Postby Arthur » 21 Sep 2012, 20:37

You say "the engine". What engine is it?
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: HTML/CSS GUI

Postby MoLAoS » 21 Sep 2012, 20:59

Arthur {l Wrote}:You say "the engine". What engine is it?


That wasn't the question. I just wanted to know if people considered web like GUI useful.

But since it looks like no one cares, its my own heavily modified version of the Glest Advanced Engine.
MoLAoS
 
Posts: 8
Joined: 21 Sep 2012, 08:54

Re: HTML/CSS GUI

Postby KroArtem » 21 Sep 2012, 21:34

Well, for those who are familiar with html/css this would be an easy way to create gui, but I'm not sure you'll meet a lot of such people during the time your engine is not advertised.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: HTML/CSS GUI

Postby MoLAoS » 22 Sep 2012, 03:18

KroArtem {l Wrote}:Well, for those who are familiar with html/css this would be an easy way to create gui, but I'm not sure you'll meet a lot of such people during the time your engine is not advertised.


True but I was just wondering if people preferred it to the typical method of engine specific languages.
MoLAoS
 
Posts: 8
Joined: 21 Sep 2012, 08:54

Re: HTML/CSS GUI

Postby hc » 22 Sep 2012, 08:15

In my opinion using established standards is a good thing from many point of views.
As you mentioned, one of the good points is that others will instantly understand what to do and the less surprise the better.
But I would possibly try to support just a subset of the features of large standards - or adjust it slightly to your needs.

Talking about frontends one would have to consider interaction with the game code.
That's where topics and technologies from dynamic web pages come to mind (templates, xsl, jsp, jsf, ...) or markup to define non web guis like on android.
Which is possibly where it drifts of from your topic and towards why custom markups are used where there is no standard.

Back to the topic I think it isn't a bad idea to have html/css to style game guis to begin with.
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: HTML/CSS GUI

Postby charlie » 22 Sep 2012, 09:17

It would be great if HTML wasn't a butchered document markup with foundations based in flowing text, thus has so many layout nuances that many basic layout mechanisms are just a total pain in the ass.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: HTML/CSS GUI

Postby MoLAoS » 22 Sep 2012, 10:11

Yeah well, what computer standards are not a total pain in the ass? C++ is a bitch for a lot of reasons and its the standard game language. Life just hates us I guess.
MoLAoS
 
Posts: 8
Joined: 21 Sep 2012, 08:54

Re: HTML/CSS GUI

Postby Tranberry » 22 Sep 2012, 10:26

Charlie, HTML5 kind of makes it less a pain in the arse. But I agree it is somewhat stupid, but I have never encountered anything that is as easy to learn as HTML and CSS anyhow.
I agree with Q until I post differently.
User avatar
Tranberry
Community Moderator
 
Posts: 140
Joined: 08 Dec 2009, 21:46
Location: Hjo, Sweden

Re: HTML/CSS GUI

Postby hc » 22 Sep 2012, 13:58

@charlie: I agree. I could see two "clean" subsets of html to be utilised either the only-html-tables way, or only-div-and-css - both plus some few formatting-tags plus form-tags.

@MolAos: I'm not talking about Programming-Language-Standards-used-often-for-something, I'm talking about: DIN, ISO, Conventions, Procedures, Defaults...
Pick what you need - the idea is to reuse what others built before through years of trial and error what may be good for the purpose.
I try to see the ways and possibilities not barriers. Whatever.


Edit: xhtml or html5 would be preferable over old grown html of course - I prefer what-you-get-is-what-you-mean anyways...then again when it's all about the looks...?
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Who is online

Users browsing this forum: No registered users and 1 guest