-
Notifications
You must be signed in to change notification settings - Fork 2
TOC rework #24
Comments
Poll : Split |
Poll : Moving |
Will player color get its own tag? How many methods simultaneously accept player colors and team names? |
I'm a bit worried about making player color a formal type. In general, I think it's a good idea. However, it's edge cases that worry me. Like places where team names are accepted as well as colors, or places where "Black" and/or "Grey" are forbidden etc. |
i don't know if team names are used anywhere in the api except in functions that explicitly deal with teams. |
I know Visibility Targets accept combinations of colors, team names etc. However, it's XML and might be a singular exception. |
Poll : Have a Player Color type |
We have received complaints about the new table of contents so I am reopening this issue |
What about keep 3 level ( |
I don't understand what you mean here |
When I click on Scripting API, he open all the sub list too |
What do you mean with What about keep 3 level (Scripting API / Game Component / Grid)? |
Scripting API is level 1 |
So If I understand you correectly. What you;re saying is, keep the grouping, but unfold it all always? Then what is the point of grouping? |
To keep them organized into categories |
I think it would jsut become confusing.
You'd go to
I'm sorry, but I really fail to see why that would be better... |
Hmm, I don't mind the 3 levels, however I don't think the way things are currently categorised is all that intuitive. I'd steer clear of the term "Component" unless referring to the Component API. Also, I don't think the 3 chosen categories are the best way to break things up. Take for example, "Lighting", it is under "Game Component", whilst "Physics" is under "Scripting Component". To me, they'd both be better categorised as under something like "Scene Configuration". |
Ok i drop it, do as you want |
Althought the most important and used function in Physics is |
@Eldinnie Yeah, I was just writing a follow-up to that... Even Configuration doesn't sound right actually, because there's both |
Ok so we mix everything in the same bag while waiting for better |
Umm, if it can be cleanly reverted, sure. It doesn't seem urgent to me though, think it could just be improved upon, so if it won't cleanly revert, don't waste any time on it. |
I will just make a commit on master do groupe everything back if it's ok for you |
Sure, go for it. |
So just spit-balling here. This isn't so much a TOC overhaul, as an entire structure overhaul, however what about something like...
Why?Discoverability is a major issue with the current docs. To be clear, I'm not talking about having everything directly accessible at once. A flat hierarchy does that. I'm more thinking about how a brand new user is going to try find information i.e. grouping by functionality, BaseThe current Base really doesn't convey anything meaningful. If you want to know what global functions exist, you'll be looking for the word "Global". If you want a message to appear in the chat pane, then you're going to be looking for "Chat" (or something similar). I propose we add the method descriptions to other pages where the logically make sense. Like
It's reasonable to keep a reference of all the Global functions ( EventsSplit up into Global and Object, as above. I would suggest in the Object & Global ScriptI know it's in the intro, but I don't think users get this. I think it needs to be more explicitly called out in the API structure. Given that all object events are now accessible as global events as well, we can even make the suggestion that if you're building "Redistributable Component", use an Object Script, if you're building a mod, use the Global Script. In the TurnsThis is a tough one, I somewhat wanted to put it under |
Doing the above, we could probably ditch the "Scripting API" category altogether, pull everything up one, and then move "UI API" to "XML UI" under "User Interface". Would just need to rejig the "Scripting API" -> "Introduction" a little bit seems as there's already a "Getting Started" category. |
This seems good but I would like to put Player Color under Player. Edit : And probably group Utility Types and Utilities |
The reason I didn't do this is because Player Color is its own top-level "type" (really a
Yes.
Please see my initial comment below the TOC layout, both of these are explained. However, just to clarify on
There's already a Because
Do you mean hosting our own copy? The knowledge base has some useful info, however it's both very out of date and unusual in that it contains content for both regular gamers and modders in the one place. Rather than invest any time in it, I'd rather work on https://tts-community.github.io instead. Unlike Berserk, we have more freedom to include guides for third-party libraries and tooling. Rather than everyone reinventing the wheel all the time, I'd like to give this (hypothetical) content as much visibility as possible. So if anything I'd like to add a bunch of links to the TTS Community main site. However, the TTS Community main site should itself link out to the knowledge base. Basically I just don't want users thinking the knowledge base is all there is. |
OK I see, this seems fair for me. Let see what other think about this. |
i responded to benjamin's suggestions inline. https://dynalist.io/d/ywVFIPTkH-zevM2Ka1RIdsTk#z=LIL0lQeZvP83hld_2mbPy7x6 |
Looks good in base, but I would still really appreciate it if this wouldn't fold by default, only when users fold it. Some specific things: I would love to see When this would go through I would expect If you're splitting the events. You should at least cross-reference the ones that are global and object specific. So The utility types should be a subsection of the basic types. (it extends the basic types with types with functionality. Either way it's a type and should fall under that heading. I suggest combining |
Actually, come to think of it. I think
|
@Eldinnie The reason I like |
@Benjamin-Dobell Yes. Just preference maybe. Object is so big it should be seperate imo. |
The goal is to cleanup the TOC and sort / edit somes pages.
#23
The text was updated successfully, but these errors were encountered: