Even more improvements

This commit is contained in:
Andras Schmelczer 2026-06-11 21:43:49 +01:00
parent e3c44f775b
commit ec579650d7
5 changed files with 724 additions and 109 deletions

View file

@ -6,39 +6,62 @@ const neutralColor = rgb255(82, 165, 64);
const redColor = rgb255(209, 86, 82);
const q = 2.5;
const declaColorDim = rgb255(64 * q, 105 * q, 165 * q);
const redColorDim = rgb255(209 * q, 8 * q, 82 * q);
const redColorDim = rgb255(209 * q, 86 * q, 82 * q);
const declaPlanetColor = declaColorDim;
const redPlanetColor = redColorDim;
export const settings = {
lightCutoffDistance: 600,
lightOverlapReduction: 0.85,
radiusSteps: 500,
spawnDespawnTime: 0.7,
worldRadius: 10000,
worldRadius: 4000,
objectsOnCircleLength: 0.002,
updateMessageInterval: 1 / 25,
planetEdgeCount: 7,
playerKillPoint: 10,
takeControlTimeInSeconds: 4,
loseControlTimeInSeconds: 24,
playerKillPoint: 25,
takeControlTimeInSeconds: 2.5,
loseControlTimeInSeconds: 16,
planetPointGenerationInterval: 1.5,
planetPointGenerationValue: 1,
planetSizePointMultiplierMax: 4,
captureFlipPointReward: 12,
maxGravityDistance: 800,
minGravityDistance: 1,
maxGravityQ: 5000,
planetControlThreshold: 0.2,
playerMaxHealth: 100,
maxGravityStrength: 50000,
planetMinReferenceRadius: 150,
planetMaxReferenceRadius: 1200,
maxAcceleration: 120000,
playerMaxStrength: 80,
endGameDeltaScaling: 2,
playerDiedTimeout: 5,
playerStrengthRegenerationPerSeconds: 80,
playerOutOfCombatDelaySeconds: 5,
playerHealthRegenerationPerSeconds: 8,
playerKillHealthReward: 25,
spawnInvulnerabilityExtraSeconds: 0.4,
spawnSafetyDistance: 2000,
touchAimRange: 1000,
postureHeadStiffness: 12,
postureFeetStiffness: 10,
planetDetachmentSeconds: 0.5,
planetDetachmentForceThreshold: 100,
climbDotThreshold: 0.8,
climbGravityScale: 0.35,
projectileMaxStrength: 40,
projectileSpeed: 2500,
projectileMaxBounceCount: 2,
projectileTimeout: 3,
projectileFadeSpeed: 20,
projectileCreationInterval: 0.1,
chargeShotFullHoldSeconds: 0.7,
chargeShotStrengthMin: 40,
chargeShotStrengthMax: 100,
chargeShotRadiusMin: 20,
chargeShotRadiusMax: 32,
chargeShotSpeedMin: 2500,
chargeShotSpeedMax: 3400,
playerColorIndexOffset: 3,
backgroundGradient: [rgb255(90, 38, 43), rgb255(43, 39, 73)],
declaColor,
@ -104,4 +127,14 @@ export const settings = {
paletteDim: [declaColorDim, neutralColor, redColorDim],
targetPhysicsDeltaTimeInSeconds: 1 / 200,
inViewAreaSize: 1920 * 1080 * 4,
scoreboardHalfWidthPercent: 50,
scoreboardMinFillPercent: 1.5,
matchPointScoreRatio: 0.9,
lampLerpSeconds: 0.5,
lampMinLightness: 0.4,
lampMaxLightness: 1,
lampFlareIntensity: 1.2,
lampFlareDecaySeconds: 0.6,
maxConcurrentFlipFlares: 3,
announcementVisibleSeconds: 2,
};