Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a5b1d61951 | |||
19fd585416 |
@@ -8,7 +8,7 @@ import { encode, decode } from "https://esm.sh/@msgpack/msgpack@3.1.2?bundle";
|
||||
if (window.__threePS1Campfire) return;
|
||||
window.__threePS1Campfire = true;
|
||||
|
||||
const MODEL_URL = "https://seppjm.com/3js/models/scene.fbx";
|
||||
const MODEL_URL = "https://world.seppjm.com/3js/models/scene.fbx";
|
||||
const NORMALIZE_SCALE = false;
|
||||
const USE_FOG = true;
|
||||
|
||||
@@ -39,7 +39,7 @@ import { encode, decode } from "https://esm.sh/@msgpack/msgpack@3.1.2?bundle";
|
||||
const FIRE_DECAY = 1.2;
|
||||
|
||||
/* --- WS spectator (minimal) --- */
|
||||
const WS_URL = "wss://ws.world.seppjm.com/ws"; // adjust if you proxy to wss
|
||||
const WS_URL = "wss://ws.world.seppjm.com/ws";
|
||||
const REMOTE_SPRITE_HEIGHT = 120;
|
||||
const REMOTE_SPRITE_ASPECT = 0.55;
|
||||
const players = new Map(); // id -> {group, target, rotY}
|
||||
@@ -579,7 +579,7 @@ import { encode, decode } from "https://esm.sh/@msgpack/msgpack@3.1.2?bundle";
|
||||
});
|
||||
});
|
||||
|
||||
const audio = new Audio("https://seppjm.com/3js/audio/stalker.mp3");
|
||||
const audio = new Audio("https://world.seppjm.com/3js/audio/stalker.mp3");
|
||||
audio.loop = true;
|
||||
audio.preload = "auto";
|
||||
audio.crossOrigin = "anonymous";
|
||||
|
@@ -594,7 +594,7 @@ function startPlay(){
|
||||
addEventListener("keyup",(e)=> keys.delete(e.code));
|
||||
}
|
||||
|
||||
/* join hooks — match your exact buttons and href */
|
||||
/* join hooks */
|
||||
(function hookJoin(){
|
||||
const candidates=[
|
||||
'#join-btn', '#spectate-btn',
|
||||
|
Reference in New Issue
Block a user