AGS Website Redesign

Started by Hobbes, Sat 29/05/2021 04:30:08

Previous topic - Next topic

Babar

Just noticed the header up top. I'd be willing to help test as well!
The ultimate Professional Amateur

Now, with his very own game: Alien Time Zone

AGA

The remaining volunteers should now have access to a sekrit "AGS Site Testing" forum.  There's a thread there that gives all the details.  Please head over and give it a go!

tampie85

Quote from: cat on Tue 02/08/2022 20:15:58
As mentioned in the logo thread, I'm not too happy with the secondary colour of the dark theme. I think it is too close to the main colour and the hue too green. When viewing the main page on PC, the secondary headers are not visible, only the menu in the upper left corner. The slightly different colour than the three big main headings made me think the menu colour is a mistake and should be the same as the primary colour.
I think there are two options: use the same colour for both, primary and secondary headings or make the secondary colour more distinct.

Btw, I can easily change the colour of the logo - if necessary, we could even have different colours for light and dark theme.

Thank you for clarifying! I see what you mean with the secondary colour and you're right. What do you think of the new version?
https://new-site.adventuregamestudio.co.uk/?theme=dark

The menu is the same colour as the header colour and the sub-headers are now the dark blue which is used as header colour on the current site. I checked readability and there's enough contrast according to lighthouse.

(and great to hear it's easy to adjust the logo colour!)

cat

Much better! Thanks for all your hard work, tampie85!

eri0o

Hey, the new website is looking really sweet, and lovely to see the new logo there! Awesome work!

kconan

Great job, the new site looks awesome!

cat

If you haven't noticed already, we have one last poll going on to decide on the new logo. Please head over to the thread and vote for your favorite: https://www.adventuregamestudio.co.uk/forums/index.php?topic=60167.0

cat

We have a logo!











I love how this logo was a community effort:

tampie85 made the new site design and decided on the colors
I came up with a first draft
Crimson Wizard had the idea of filling the cup with blue
LimpingFish brought up the small caps
zabnat suggested the rounded cup
The tea label is from one of the previous AGS program icons
And Besh finally came up with the awesome idea of using the cup as "U"

Apart from that so many people provided ideas, drafts and suggestions which inspired further designs, and voted for their favourites. Thanks to everyone who participated in the process!

Nahuel

Hy guys I would love to help testing the new forum  :=
Life isn't a game. Let's develop a life-like-game.

AGA

Quote from: Nahuel on Sat 10/09/2022 05:46:35
Hy guys I would love to help testing the new forum  :=

I've added you to the relevant feedback forum, you should find a post there with all the details.

I was planning to put this live very soon.  Ponch and Kastchey, I just replied to your posts in the test forum about how to use the YouTube tag.  Aside from that there doesn't seem to be any actionable feedback, so I think we might be good to go soon?

eri0o

Accessing the forums unlogged on a different browser showed me the new forums, but it's march there I think, and on my browser, where I am logged, I see the old forums. Very curious!

AGA

I rolled back to the previous version, as the upgrade was unsuccessful.  I'll try again at the weekend when I have more time.

morganw

Quote from: Monsieur OUXX on Tue 02/08/2022 11:10:50
Quote from: AGA on Wed 29/06/2022 20:46:34
it needs the help of someone who can both do coding, and who knows the AGS language well, to implement a new language template.  If anyone is willing to help, instructions are here: https://prismjs.com/extending.html
I'm going to have a look, but is someone else working on this? (asking for coordinated work).

In the meantime, the C-like syntax (provided natively by prism) would probably fit 99% of the need!
I gave it a try and I have something working.

AGA, if I make create a fork of Prism in the AGS GitHub organisation, are you are able to integrate it into the new site from there? That way if someone else wants to improve/replace it they won't have to go through me, and if everything looks OK the patch to add it to the real Prism repository can come from the AGS organisation.

I guess I should also say, I'm not npm expert but it reports a lot of security vulnerabilites when using the package versions that the original Prism repostory is locked against. I'm not sure whether that is a measure of how safe or well maintained it is.

AGA

If you give me a link to the files in the repo, I'd expect I can implement them.  I wouldn't worry about any warnings you see, SMF (and its mods) isn't particularly well maintained, and it hasn't historically been an issue.

morganw

To download and build:
Code: ags
git clone -b ags https://github.com/adventuregamestudio/prism.git
cd prism
npm install && npm run build


The interactive test page should work just by opening the test.html page directly, but the examples.html page requires a web server to dymanically load the example code. I was testing by doing this:
Code: ags
npm install http-server
npx http-server


The highlighting is split into two languages; I don't think it is possible to differentiate a dialog script from the regular game scripting. The dialog script is processed in a stricter way and operates per line, so embedding chunks of the game scripting into the dialog script may lose some highlighting when spanning multiple lines, but in most cases I think it will be OK.

I tried to match to the default tokens that are listed at https://prismjs.com/tokens.html. Looking at the built-in themes, the amount of highlighting seems to vary quite a lot depending on the theme that is chosen, so for test purposes it is probably important to ensure that the chosen theme is actually using all of the syntax matches.

eri0o

@morganw , I think in your above post the new lines are getting removed by the code formatting.

AGA

The new design (light and dark themes) is now live!

I'll take a look at the highlighting thanks, morganw!

eri0o

Hey @AGA , previously, inline code was possible using the tt BBCode tag, do you know if there is anything similar in the new forum?

morganw

Quote from: eri0o on Sun 18/09/2022 20:42:53@morganw , I think in your above post the new lines are getting removed by the code formatting.
There are newlines in what I posted (they are still there now according to the editor) so I think that is an issue on the server side.

eri0o

holy shit the alerts work!

SMF spam blocked by CleanTalk