Godot: Platform support suggestion

Created on 11 Jun 2019  路  4Comments  路  Source: godotengine/godot

platforms
I think it could be useful adding platform support icons next to classes. In most cases the platforms a class supports isn't even documented and this could be a straight forward way to address this.

archived documentation feature proposal

Most helpful comment

Instead of displaying them just for the selected item or for all items, you could display them for all classes that have a platform restriction and not for those that don't. This way, classes that are generic would never display any icons, while the presence of one or more icons next to a class name would immediately indicate that the class is supported on a limited subset of platforms. It's like the icons list said "Only available on", without really spelling it out (which could be a hint when the mouse hovers over).

All 4 comments

Which classes can be considered fully OS-specific? (Also, I don't think displaying more icons is a good idea, unless we display icons only for the currently-selected item.)

Which classes can be considered fully OS-specific? (Also, I don't think displaying more icons is a good idea, unless we display icons only for the currently-selected item.)

TCP_Server is only for desktops for example, while WebSockets is for HTML. They don't have to be fully OS-specific. You're right, the icons could either be visible only for the selected item or be visible only inside the documentation page.

Instead of displaying them just for the selected item or for all items, you could display them for all classes that have a platform restriction and not for those that don't. This way, classes that are generic would never display any icons, while the presence of one or more icons next to a class name would immediately indicate that the class is supported on a limited subset of platforms. It's like the icons list said "Only available on", without really spelling it out (which could be a hint when the mouse hovers over).

So many classes are not available for HTML by the way. I'm currently lost as to what breaks the HTML version of my app.

Was this page helpful?
0 / 5 - 0 ratings