Skip to content

Window Component

Twarit Waikar edited this page Dec 13, 2018 · 5 revisions

Rubeus: Window Component

Created by SDSLabs with ❤️

The Rubeus Engine's Window Component works as a wrapper outside GLFW's windows generation system. Since Awerere (Rubeus' physics engine) also uses the screen aspect ratio of the generated window, we always expect users to use 16:9 aspect ratio setting. However, in the future support will be added for the user to handle the window generation themselves if they need to.

Currently, Rubeus defaults to a 720p window which is non-resizeable and runs strictly at 60 fps. Multiple monitors are currently not supported.

How to use the Window Component?

As of now, window generation is completely on the REngine constructor. Support will be added in the future for a more customized control over the window. All basic manipulations possible on the window as of v1.0 are documented here.

Contributor's Guide

The Window Component present in Rubeus is subjectively "hard-coded" in the Rubeus engine because Awerere expects the window to be present in a specific state before it starts calculating collision. More information on this: Awerere: The Physics Engine