Main menu, ZX Spectrum-like font, Death screen, Fixed typo, Game Manager

This commit is contained in:
Иван Кузьменко 2023-08-18 18:57:25 +03:00
parent 602df1ed1d
commit b0caf99373
24 changed files with 497 additions and 17 deletions

View file

@ -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();