hyper-unlimited-power
v1.0.4
Published
Extended particle effects power mode for Hyper
Downloads
12
Maintainers
Readme
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
- Inspired by the original hyperpower plugin
- Which in turn was based on power-mode and RagePower
- With additional fixes from MajorBreakfast in (#75)