Can you make the window not resizable? If so, how?
Thanks
Can you make the window not resizable? If so, how?
Thanks
I don’t think it is currently supported by GD5 out of the box.
What you can do, is choose the manual export for WIndows/Mac/Linux and then in the folder of the exported project open main.js and edit the following part:
mainWindow = new BrowserWindow({
width: 800,
height: 600,
title: "Project",
backgroundColor: '#000000',
resizable: false,
});
Add to the bottom the line resizable: false as you can see above and then use Electron to package your game manually.
Ohh! I see, I haven’t tried exporting yet so I haven’t checked on the files that can be changed; Thank you for your help.