hyper-unlimited-power

1.0.4 • Public • Published


🎉

hyper-unlimited-power


A configurable hyper power-mode plugin



hyper i hyper-unlimited-power

Installation

Add the following to your ~/.hyper.js plugin array.

module.exports = {
  ...
  plugins: [
    'hyper-unlimited-power'
  ]
  ...
};

Config Options

Add any of the following to your ~/.hyper.js config object.

Enable Rainbow Particle Colors

Type: bool
Default value: true

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      isRainbowEnabled: true
    }
    ...
  }
};

Enable Combo Mode

Type: bool
Default value: true

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      isComboEnabled: true
    }
    ...
  }
};

Enable Permanent Screen Shake

Type: bool
Default value: false

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      isEarthquakeEnabled: true
    }
    ...
  }
};

Static Particle Colors

Type: "false"|string|string[]
Default value: false

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      isRainbowEnabled: false,
      staticParticleColors: ['red', 'yellow']
    }
    ...
  }
};

Maximum Number of Particles

Type: number
Default value: 20

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      maxParticleCount: 50
    }
    ...
  }
};

Particle Velocity Range

Type: object
Default value: { x: [-1, 1], y: [-2, -0.5] }

module.exports = {
  config: {
    ...
    hyperUnlimitedPower: {
      particleVelocityRange: {
        x: [-1, 1],
        y: [-2.5, -1.5]
      }
    }
    ...
  }
};

Secret Config Options

comboActivationThreshold

Type: number
Default value: 15

comboTimeUntilDecay

Type: number
Default value: 2000

particleAlphaFadeout

Type: number
Default value: 0.92

particleAlphaMinThreshold

Type: number
Default value: 0.1

particleGravity

Type: number
Default value: 0.075

shakeIntensity

Type: number
Default value: 1

License

MIT - see the LICENSE.md file for details

Acknowledgments & Credits

Package Sidebar

Install

npm i hyper-unlimited-power

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

20.8 kB

Total Files

7

Last publish

Collaborators

  • hwll