From b0a639bb46aefdb0819920564b1732a9e405f17c Mon Sep 17 00:00:00 2001 From: Starphee <33707294+Starphee@users.noreply.github.com> Date: Sat, 4 Jan 2025 21:35:11 -0800 Subject: [PATCH] Gameplay modifications - "balanced" speeds and feeds for ships and projectiles. --- public/data/projectileTypes.mjs | 30 +++++++++++++++--------------- public/data/shipTypes.mjs | 32 ++++++++++++++++---------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/public/data/projectileTypes.mjs b/public/data/projectileTypes.mjs index a352273..ca663f6 100644 --- a/public/data/projectileTypes.mjs +++ b/public/data/projectileTypes.mjs @@ -5,8 +5,8 @@ export const projectileTypes = { laser: { name: 'Death Laser', - speed: 1125, - life: 2500, // How many ms till it dies? + speed: 1850, // Reduced by 400 + life: 2500, // Original sound: 3, sounds: { emission: ['laser1'], @@ -25,8 +25,8 @@ export const projectileTypes = { biglaser: { name: 'Super Laser', damage: 40, - speed: 1000, - life: 5000, + speed: 1600, // Reduced by 400 + life: 5000, // Original sound: 1, sounds: { emission: ['laser2'], @@ -44,8 +44,8 @@ export const projectileTypes = { duallaser: { name: 'Dual Laser', damage: 30, - speed: 883.4, - life: 2500, + speed: 1366.8, // Reduced by 400 + life: 2500, // Original sound: 3, sounds: { emission: ['laser2'], @@ -63,8 +63,8 @@ export const projectileTypes = { energy: { name: 'Energy Orb', damage: 30, - speed: 333, - life: 5500, + speed: 1000, // Unchanged + life: 5500, // Original sound: 2, sounds: { emission: ['energy'], @@ -82,8 +82,8 @@ export const projectileTypes = { mine: { name: 'Mine', damage: 100, - speed: 0, - life: 30 * 60 * 1000, // 30 Minutes + speed: 0, // Unchanged + life: 30 * 60 * 1000, // Original sound: 4, sounds: { emission: ['mine'], @@ -99,13 +99,13 @@ export const projectileTypes = { }, fire: { - name: 'Fire', - damage: 40, - speed: 583, - life: 1000, + name: 'Mini Laser', + damage: 15, + speed: 1166, // Unchanged + life: 1000, // Original sound: 5, sounds: { - emission: ['flame'], + emission: ['minilaser'], reception: ['hit1', 'hit2'], }, size: { diff --git a/public/data/shipTypes.mjs b/public/data/shipTypes.mjs index 51f2283..454359d 100644 --- a/public/data/shipTypes.mjs +++ b/public/data/shipTypes.mjs @@ -6,8 +6,8 @@ import { projectileTypes } from './projectileTypes.mjs'; export const shipTypes = { a: { name: 'Legionnaire', - topSpeed: 350, - accelRate: 6.25, // PX Per sec(2) + topSpeed: 525, + accelRate: 9, // PX Per sec(2) drag: 1.5, rotationSpeed: 9, thrusterPositions: { @@ -19,8 +19,8 @@ export const shipTypes = { height: 64, }, shield: { - max: 100, - regenRate: 0.3, + max: 120, + regenRate: 0.4, style: 'yellow', }, weapons: [ @@ -31,8 +31,8 @@ export const shipTypes = { b: { name: 'Cygnuss', - topSpeed: 500, - accelRate: 5.83, + topSpeed: 750, + accelRate: 10, drag: 0.5, rotationSpeed: 8, thrusterPositions: { @@ -56,8 +56,8 @@ export const shipTypes = { c: { name: 'Scimitar', - topSpeed: 375, - accelRate: 15, + topSpeed: 562.5, + accelRate: 19, drag: 1.34, rotationSpeed: 15, thrusterPositions: { @@ -87,8 +87,8 @@ export const shipTypes = { d: { name: 'Mongoose', - topSpeed: 300, - accelRate: 6.25, + topSpeed: 450, + accelRate: 10, drag: 2.34, rotationSpeed: 15, thrusterPositions: { @@ -112,8 +112,8 @@ export const shipTypes = { e: { name: 'Sulaco', - topSpeed: 300, - accelRate: 7.25, + topSpeed: 450, + accelRate: 13, drag: 0.5, rotationSpeed: 18, thrusterPositions: { @@ -137,8 +137,8 @@ export const shipTypes = { f: { name: 'Excalibur', - topSpeed: 200, - accelRate: 20, + topSpeed: 300, + accelRate: 25, drag: 0.5, rotationSpeed: 13, thrusterPositions: { @@ -162,8 +162,8 @@ export const shipTypes = { g: { name: 'Falcon', - topSpeed: 833.4, - accelRate: 18.3, + topSpeed: 500, + accelRate: 23, drag: 1, rotationSpeed: 10, thrusterPositions: {