Skip to main content

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

Pixelbox

Create 2D games in JavaScript, made easier · By Cedric Stoquer

How to properly full screen

A topic by PlayMek created May 26, 2020 Views: 10,341 Replies: 3
Viewing posts 1 to 3
(+3)(-1)

Is there a way to properly full screen a game with no border? And can you even export the game as a .exe?

you can use nwjs or electron build to build .exe

(+1)(-1)

If you don't care about ratio distortion, in Project > Settings > Screen, check "full screen" and "resizable" checkboxes.
You can also set the screen.keepAspectRation options to true in the project.pixelbox file (this option is currently not exposed in the editor), but this will add black borders.

To have real fullscreen without pixel distortion, a solution would be to resize the $screen texture at runtime.

Pixelbox editor can't export directly an executable directly, but it can make a Electron prebuilt (Project > Electron prebuilt).  This can be build to an executable. You'll need NodeJS and NPM installed on your machine. Follow the instructions in the generated readme.md file. 

(+1)(-3)

no