▲ | scq 3 months ago | ||||||||||||||||||||||
Many game UIs are built using HTML/CSS under the hood, so it has come full circle! | |||||||||||||||||||||||
▲ | CreepGin 3 months ago | parent | next [-] | ||||||||||||||||||||||
[OneJS](https://onejs.com/) for Unity is a more modern entry in this space (Disclaimer: I'm the creator). Instead of embedding a browser/webview, it lets you use web techs and directly integrates with UI Toolkit (Unity's native UI solution). A general drawback of using web UIs in games is the lack of support for performant 2D vfx. It's something I'd like to tackle in 2025 with [Spark2D](https://github.com/Singtaa/Spark2D). | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | tyleo 3 months ago | parent | prev | next [-] | ||||||||||||||||||||||
I was part of an investigation which considered Coherent products for one of the Forza titles. We didn't go with it at the time, and I haven't had the opportunity to use it on a title at other companies, but it looks rad. Forza used a custom UI system based on XAML and the acrylic elements at the top of the article were largely implemented in a custom shader. For a custom system it was pretty solid. We also built a lot of tech into it related to 3D placement of elements to support diagetic UI. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | OptionOfT 3 months ago | parent | prev | next [-] | ||||||||||||||||||||||
Lots of games used to use [Scaleform](https://en.m.wikipedia.org/wiki/Scaleform_GFx) for their UI. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | lyu07282 3 months ago | parent | prev | next [-] | ||||||||||||||||||||||
The ones that don't are also interesting, like baldurs gate 3 uses this: | |||||||||||||||||||||||
▲ | djmips 3 months ago | parent | prev [-] | ||||||||||||||||||||||
Including Minecraft (Bedrock / consoles) :) |