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 stb_ogg_sound
-lib zip
-lib datachannel
-lib colyseus-websocket
-lib uglifyjs
--js marblegame.js
-D windowSize=1280x720

View file

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

View file

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