Nucleus handler tools β€Ί Docs β€Ί Game β€Ί DPIHandling

Game.DPIHandling

Open in the workbench (search, and try it in a handler)

Game.DPIHandling: Nucleus.DPIHandling | number | boolean

The way the games handles DPI scaling. Modify this if the game is presenting different sizing behaviour after the Windows 10 Creators Update. Values: True: True tries to send the correct width and height to the game's window. Nucleus.DPIHandling.Scaled: Scaled will scale the width and height by the DPI of the system (see that it's not per-monitor). Nucleus.DPIHandling.InvScaled: InvScaled will scale the width and height by 1 / DPI of the system (see that it's not per-monitor).

Default: DPIHandling.True

Example: From Hub handlers

Game.DPIHandling = Nucleus.DPIHandling.InvScaled;
Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop