You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Change HTML5 start-up API
Rename engine.start() to startGame(), new start() takes string arguments handed directly to main(). Rename Engine.loadEngine() to load(). Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and preloadFile().
This commit is contained in:
@@ -61,7 +61,6 @@ int main(int argc, char *argv[]) {
|
||||
// run the 'main_after_fs_sync' function
|
||||
/* clang-format off */
|
||||
EM_ASM(
|
||||
Module.noExitRuntime = true;
|
||||
FS.mkdir('/userfs');
|
||||
FS.mount(IDBFS, {}, '/userfs');
|
||||
FS.syncfs(true, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user