There are 2 ways to start in full-screen.
1. Edit the package.json file in your project. I don't recommend doing this one, because once you deploy your game, you'll get a completely different package.json, which you'll need to edit as well. You'll very likely forget to do it eventually. If you want to use this method, you'll have to Google it or wait for someone else to provide it, because I no longer remember how to do it exactly.
2. Use a plugin.
I've made a plugin that allows you to start in fullscreen. Unfortunately, it does not provide any options for the player to start either in fullscreen or in windowed mode. If you use my plugin, your game will always start in fullscreen.
Code:
(function() {
let window_onload = window.onload;
window.onload = function() {
Graphics._requestFullScreen();
window_onload.apply(this, arguments);
};
})();
Terms of Use: Do whatever you want with it.
Copy the code to a .js file and put it into the
js\plugins folder of your project.
If you want to let the player choose how to start the game, you'll need to find a plugin of your own.