hoovercj / vscode-power-mode

Your code is powerful, unleash it! The extension made popular by Code in the Dark has finally made its way to VS Code.
MIT License
1.06k stars 85 forks source link

Power mode levels #27

Open tehKaiN opened 6 years ago

tehKaiN commented 6 years ago

Having power mode is cool, but getting into next power levels would be even cooler!

It would be nice to have definiable power levels, say at combo 20 shaking is set to 1, at combo 50 shaking is 5, at 100 and up shaking is 10. If timeout is set to 3, it could either drop to level zero after 3s or one level down every 3s.

"powermode.comboTimeout": 3,
"powermode.levels": [
{"comboThreshold": 20, "maxExplosions": 3, "shakeIntensity": 1},
{"comboThreshold": 50, "maxExplosions": 5, "shakeIntensity": 50},
{"comboThreshold": 100, "maxExplosions": 5, "shakeIntensity": 100}
];

Levels could work as overriding global vars. powermode.comboTimeout var would be global var, but comboTimeout defined in one of levels would override a global starting from level where it was defined.

indfnzo commented 6 years ago

This is great!

As a similar request, I was thinking if it would be possible to override the settings depending on the key pressed. Using @RPuffer's rift explosions, I was thinking that the vertical explosions should play out by default, but the large circular explosions would play when I press special characters like space, enter, and tab. This would also open up a lot of possibilities with new GIFs.