spoint 0.1.681 → 0.1.682

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ const TERRAIN = {
18
18
  // they stay a single source of truth. Singleplayer (WorkerEntry.js's in-Worker boot of this same world
19
19
  // def) also reads serverAuthoritative, but with no other client to sync to it's a no-op there in
20
20
  // practice -- the local clock behaves identically to before this feature.
21
- timeOfDay: { serverAuthoritative: true, dayLengthSec: 600, startFraction: 0.3 },
21
+ timeOfDay: { serverAuthoritative: true, dayLengthSec: 600, startFraction: 0.27 },
22
22
  // weather-server-driven-state-and-multiplayer-sync: same real-multiplayer-test-world rationale as
23
23
  // timeOfDay.serverAuthoritative immediately above -- every connected client's weather state
24
24
  // (client/core/Weather.js) stays a server-pushed value (src/sdk/ServerWeather.js, MSG.WEATHER_SYNC)
@@ -40,7 +40,7 @@ const KEYFRAMES = [
40
40
  { deg: -90, sunColor: 0x0a1030, sunIntensity: 0.0, ambientColor: 0x0d1428, ambientIntensity: 0.10 }, // deep night
41
41
  { deg: -6, sunColor: 0x1a2550, sunIntensity: 0.0, ambientColor: 0x1a2440, ambientIntensity: 0.14 }, // astronomical twilight, sun still below horizon (no direct light)
42
42
  { deg: 0, sunColor: 0xff7a3c, sunIntensity: 0.55, ambientColor: 0x4a4060, ambientIntensity: 0.22 }, // horizon: warm orange sunrise/sunset
43
- { deg: 8, sunColor: 0xffb266, sunIntensity: 1.05, ambientColor: 0x8a8496, ambientIntensity: 0.28 }, // low sun: golden hour
43
+ { deg: 8, sunColor: 0xffa552, sunIntensity: 1.8, ambientColor: 0xffcf9e, ambientIntensity: 0.55 }, // low sun: golden hour (matches tps-game.js's intended fill-light-visible palette)
44
44
  { deg: 30, sunColor: 0xfff0dc, sunIntensity: 1.45, ambientColor: 0xc9d4e8, ambientIntensity: 0.32 }, // mid-morning/afternoon
45
45
  { deg: 70, sunColor: 0xffffff, sunIntensity: 1.6, ambientColor: 0xfff4d6, ambientIntensity: 0.3 }, // near-noon, matches SceneSetup's original static values
46
46
  { deg: 90, sunColor: 0xffffff, sunIntensity: 1.55, ambientColor: 0xfff4d6, ambientIntensity: 0.3 }, // straight overhead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoint",
3
- "version": "0.1.681",
3
+ "version": "0.1.682",
4
4
  "description": "Physics and netcode SDK for multiplayer game servers",
5
5
  "type": "module",
6
6
  "workspaces": [