Adventure Game Studio | Forums

AGS Support => Modules & Plugins => Topic started by: Rulaman on 24 Mar 2019, 10:20

Title: AGS ThemeEditor
Post by: Rulaman on 24 Mar 2019, 10:20
Hi,

I present you a Theme editor for AGS.

At the moment it is only a PropertyGrid which shows the Elements you can edit and save. (Plain and simple)
https://bitbucket.org/rulaman/ags-themeeditor/src (https://bitbucket.org/rulaman/ags-themeeditor/src)
Edit: Now with the compiled app: https://bitbucket.org/rulaman/ags-themeeditor/downloads/

Planned (unordered):
- Visual attractive editor like VS2017 Color theme editor
- Plugin and stand alone versions
- Change ags sources to interact with editor and instant takeover of the settings.


Greetings
Rulaman
Title: Re: AGS ThemeEditor
Post by: Crimson Wizard on 24 Mar 2019, 10:47
If my understanding is correct, this is for AGS 3.5.0 themes, right?
Title: Re: AGS ThemeEditor
Post by: eri0o on 24 Mar 2019, 13:41
I get an error when trying to read VisualStudioDark.json (https://gist.github.com/ericoporto/89918e5e7eab075448964446145eaf86):

Newtonsoft.Json.JsonReaderException: Error parsing comment. Expected: *. Line 732, position 31.

It appears it doesn't support comments. AGS itself uses the same json parser, so maybe it's just a missing option.
Title: Re: AGS ThemeEditor
Post by: Rulaman on 26 Mar 2019, 19:40
Maybe a missing option. I look into it.
Its only a preview at the moment.

Do you have an example file?

----

Yes. It is for the new themable editor.
Title: Re: AGS ThemeEditor
Post by: eri0o on 26 Mar 2019, 20:41
I linked the file on the previous comment  ;)
Title: Re: AGS ThemeEditor
Post by: Rulaman on 01 Apr 2019, 20:13
Hi eri0o,

I have uploaded a new version. (.NET Framework 4.5 and a new version of Newtonsoft.Json which supports comments)

Now with a better layout (the PropertyGrid is still online and updated only, if you click in it, when you made changes in the other side.

Btw. The spec says, comments are not allowed in json files.
Title: Re: AGS ThemeEditor
Post by: eri0o on 21 May 2019, 03:00
Hey, shouldn't this editor offer some sort of preview? Maybe capture a print screen of ags with many panels loaded at same time (for preview image), and have it's colors be filled dynamically per the settings.