Map Making Pages
-
I have some great news to share!
The TripleA Website will soon have a dedicated webpage per map!
Currently the Website is generated using the description provided in the triplea_maps.yaml.
I want to encourage you to update the html so it looks nicer.
You don't need to know any HTML if you understand how markdown works. (Markdown is used to write every post in this forum, in case you didn't knew).
I found 2 markdown online editors which might help you:
https://stackedit.io/editor
http://dillinger.io/
All you finally need to do is to insert the html code in the description of your map and to submit a Pull Request.A small Teaser what your page could look like:
(Title, category, "thumbnail" and the download part will be added automatically)
-
@RoiEX Agree that this should be a great addition. The one point I'd like to add is that as the developers and mods/admins we should probably make an effort to update the descriptions of the most popular maps (those in the BEST category). This will help make them look good as well as provide examples for other map makers on what the description should include and look like.
-
@theredbaron Planned on upgrading some of the desciptions himself after the Pr gets merged.
https://github.com/triplea-game/triplea-game.github.io/pull/186/ -
@RoiEX said in Map Making Pages:
Currently the Website is generated using the description provided in the triplea_maps.yaml.
Will the website also update its description if the description is edited in the yaml file?
-
Of course!
Otherwhise this would make little sense ^^ -
I would be willing to fix the HTML for any maps that are currently maintained by the project. Basically, we need cleaner formatting and updated information for just about all of the maps. Maybe I can fix the formatting for all of the maps and then update the content only for the project-maintained ones. Any thoughts?
-
12 Hours ago those page-prototypes went live...
Have a look yourself: http://www.triplea-game.org/maps-list/
(click on download to display the page) -
Neat addition, but:
Some images does not display for me, for example I can't see the image for Middle Earth, and many others.
I definitely suggest to remove the "v1" etc. from displaying anywhere, and surely not right beside the map name. It would be not clear to most what that means and it is very confusing, anyways, due to the fact that "v1" etc. is the way TripleA categorise rulesets.
I mean not:
Big World v3
Middle Earth v1but just:
Big World
Middle Earth(another item might be explaining how to manual install the maps; meaning where to paste the zips)
-
I've never noticed it before, but why is the Tutorial in download list? Isn't it supposed to be pre-installed anymore? If not, I think it would be better keeping it pre-installed. If yes, I can't see why to have it both pre-installed and downloadable?
If it has to be downloadable, maybe having its own category ("Tutorial", instead of "High Quality"). -
@Cernel Thanks for your feedback! Nothing is final as this is just a prototype.
I thought about removing the v[version_Number] as well, but now I know where to put it instead!
(I will put it near the download button)
The reason you are not seeing images for some maps is that there are none. The website uses the same image the engine uses and therefore Big World hasn't an image on the website either.
@theredbaron or myself will care about this in the near future. (Uploading some screenshots shouldn't be too difficult ^^)
The Tutorial map is displayed because it's available in triplea. Every map you can install via the download maps dialog will be available on the website...
Good Idea to have a guide on how to install maps, I will keep that in mind -
Oh, I see. It has been some time since I've gone in Download Maps.
Another thing I pointed out in the past (this is a related off topic) is that in the old sourceforge, when you were navigating Download Maps (I mean the one in the engine, after you click on "Download Maps" in "TripleA", not the website), all was almost instantaneous; instead, now I see I have to wait a few seconds to see each image. This is not a big deal, if you want to look at a specific map, but it makes not possible anymore to skim through maps, as you (or at least me) have to wait at least 2 or 3 seconds to start seeing the image of each map (while I recall it was almost no time when it was in sourceforge; duno if you can still test the difference).
I duno why the old sourceforge display was so much faster (for me), but I'm guessing maybe a more compact image format for the images in the maps descriptions? I think a lossy JPG would be just fine here, or maybe WebP, if it can be supported for all, in the engine (but in the website would, then, display only for browser that support it, like Chrome). -
@Cernel
For example, if I click on Civil War in Download Maps (where you auto-install the maps, not the website), it takes 4 seconds to show the 400 pixels wide pic of the map, for me.
It just seems strange to wait 4 seconds to see such a small image, as in a broswer an image like that would take close to no time to display (and I recally it took close to no time before 1.9 too, in the old thing to auto install maps).So, I was thinking, if it has to be so slow (or maybe it's just me), maybe you want to use JPG for all such pics, while you are doing it.