This commit is contained in:
RandomityGuy 2024-07-16 23:03:19 +05:30
parent 203916bfae
commit 70b4d51943
3 changed files with 7 additions and 5 deletions

View file

@ -2,6 +2,8 @@
-lib heaps -lib heaps
-lib stb_ogg_sound -lib stb_ogg_sound
-lib zip -lib zip
-lib datachannel
-lib colyseus-websocket
-lib uglifyjs -lib uglifyjs
--js marblegame.js --js marblegame.js
-D windowSize=1280x720 -D windowSize=1280x720

View file

@ -2083,7 +2083,7 @@ class MarbleWorld extends Scheduler {
#if js #if js
lock = true; lock = true;
var loadPerTick = 500; // Stack limits??? var loadPerTick = 100; // Stack limits???
var loadedFuncs = 0; var loadedFuncs = 0;
var func = this.resourceLoadFuncs.shift(); var func = this.resourceLoadFuncs.shift();

View file

@ -22,11 +22,11 @@ typedef RemoteServerInfo = {
} }
class MasterServerClient { class MasterServerClient {
// #if js #if js
// static var serverIp = "wss://mbomaster.randomityguy.me:8443"; static var serverIp = "wss://mbpmaster.randomityguy.me:8443";
// #else #else
static var serverIp = "ws://89.58.58.191:8084"; static var serverIp = "ws://89.58.58.191:8084";
// #end #end
public static var instance:MasterServerClient; public static var instance:MasterServerClient;
var ws:WebSocket; var ws:WebSocket;