Improve world creation

This commit is contained in:
schmelczerandras 2020-10-22 21:48:13 +02:00
parent dee72440bb
commit dd21c20b3a
5 changed files with 57 additions and 65 deletions

View file

@ -11,8 +11,10 @@ export const settings = {
physicsMaxStep: 2,
maxVelocityX: 1000,
maxVelocityY: 1000,
radiusSteps: 500,
objectsOnCircleLength: 0.002,
planetEdgeCount: 7,
takeControlTimeInSeconds: 10,
takeControlTimeInSeconds: 4,
maxGravityDistance: 700,
maxGravityQ: 180,
planetControlThreshold: 0.2,
@ -27,13 +29,9 @@ export const settings = {
projectileMaxBounceCount: 1,
projectileTimeout: 3,
projectileFadeSpeed: 20,
projectileStartOffset: 150,
projectileCreationInterval: 0.1,
playerColorIndexOffset: 3,
worldTopEdge: 3000,
worldRightEdge: 3000,
worldLeftEdge: -3000,
worldBottomEdge: -3000,
worldRadius: 10000,
backgroundGradient: [rgb255(90, 38, 43), rgb255(43, 39, 73)],
declaColor,
declaPlanetColor,