Replies: 2 comments 1 reply
-
Hi @vfx1b! Thanks for opening a discussion! I'll spend some time today to update the documentation around the possible engine options/customizing the loader. I think you might be able to use the engine option const game = new ex.Engine({
suppressPlayButton: true
}); As for the loading bar, you could build a custom loader with a transparent background or whatever look and feel you want. A few folks have had some success and some examples in this thread #2464 Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
-
You can create a custom loader like this to make the loader draw nothing and automatically start: class Loader extends ex.Loader {
showPlayButton() {
return Promise.resolve();
}
draw() {}
}
const loader = new Loader() I typically use something like this during development so I dont have to click play after making changes. However @eonarheim makes a good point that the play button allows audio to be enabled once clicked, so that is something to consider if you use audio. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm building a widget in a transparent electron window and was wondering if its possible to skip the initial menu/loader ? I couldn't find anything in the docs, issues and by googling.
Beta Was this translation helpful? Give feedback.
All reactions