Gameface is a game UI middleware. It’s powered by the libraries Cohtml (HTML engine) and Renoir (rendering engine). Cohtml is the main component and is responsible for handling the UI’s layout and logic. When done, Cohtml sends commands to Renoir for drawing all of the UI’s elements. Keep this in mind while reading this documentation.
Web development friendly. Gameface runs a standard-compliant HTML5 engine and through it, you can use standard web tools and libraries like React.js, Preact.js, jQuery.
Styling is available through style sheets that allow changing the whole UI visuals quickly and easily.
Automatic scaling and layout. The powerful CSS layout rules will make your UI look great on any resolution and aspect ratio.
Vector-based assets allow adaptable resolution without sacrificing quality. SVG support.
Advanced visual effects - shadows, masking clipping, 9-slice, filters, blend modes, 2D and 3D transformations, particle effects through transparent videos, etc.
High-performance. Gameface was created from the ground up with games and real-time applications in mind.
Scalable. Gameface makes use of multiple cores on the client device.
Easy interaction with the gameplay code
Whitebox. Ability to control as much as possible of Gameface’s subsystems - rendering, task system, logging, memory allocations, resource loading.
Support for multiple image formats - DDS, TGA, JPEG, PSD, BMP, PNG, ASTC, PKM, KTX