Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Regarding the F4 toggle: if you want to disable the F4 key from toggling fullscreen mode, you can remove the following code from index.js:

const isF4 =     input.key === "F4" &&     !input.alt &&     !input.control &&     !input.meta;  if (isF4) {     event.preventDefault();     toggleGameFullscreen();     return; } 

Then, if you want to trigger fullscreen yourself, you can use the following code:

require("electron").ipcRenderer.send("setFullscreen"); 

or:

require("electron").ipcRenderer.send("toggleFullscreen");