Main menu, ZX Spectrum-like font, Death screen, Fixed typo, Game Manager
This commit is contained in:
parent
602df1ed1d
commit
b0caf99373
24 changed files with 497 additions and 17 deletions
|
@ -80,7 +80,7 @@ public partial class Flashlight : Node
|
|||
if (Input.IsActionJustPressed("flashlight_charge") && FlashlightChargeTimeout <= 0)
|
||||
{
|
||||
FlashlightChargeTimeout = 1;
|
||||
FlashlightEnergy += Constants.FlashlightEneregyPerCharge;
|
||||
FlashlightEnergy += Constants.FlashlightEnergyPerCharge;
|
||||
var rng = new RandomNumberGenerator();
|
||||
CrankSoundPlayer.PitchScale = rng.RandfRange(1f, 1.15f);
|
||||
CrankSoundPlayer.Play();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue