Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions public/data/projectileTypes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -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'],
Expand All @@ -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'],
Expand All @@ -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'],
Expand All @@ -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'],
Expand All @@ -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: {
Expand Down
32 changes: 16 additions & 16 deletions public/data/shipTypes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -19,8 +19,8 @@ export const shipTypes = {
height: 64,
},
shield: {
max: 100,
regenRate: 0.3,
max: 120,
regenRate: 0.4,
style: 'yellow',
},
weapons: [
Expand All @@ -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: {
Expand All @@ -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: {
Expand Down Expand Up @@ -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: {
Expand All @@ -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: {
Expand All @@ -137,8 +137,8 @@ export const shipTypes = {

f: {
name: 'Excalibur',
topSpeed: 200,
accelRate: 20,
topSpeed: 300,
accelRate: 25,
drag: 0.5,
rotationSpeed: 13,
thrusterPositions: {
Expand All @@ -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: {
Expand Down