Skip to main content

run_game

Function run_game 

Source
pub fn run_game(game_root: &str, physical_pixels: bool) -> i32
Expand description

Runs a game in its own window until it ends. With physical_pixels, the window is sized in physical pixels and input is mapped without the display’s HiDPI scale (what the launcher app uses for every engine).