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

@ -21,7 +21,6 @@ public partial class GameCamera : Camera2D
var halfCameraFollowBounds = CameraFollowBounds / 2;
var hardLimit = relativePlayerPosition.Clamp(-halfCameraBounds, halfCameraBounds);
difference = relativePlayerPosition - hardLimit;
//GD.Print($"HardDiff {difference}");
if (difference.IsZeroApprox())
{
float x = 0, y = 0;
@ -36,7 +35,6 @@ public partial class GameCamera : Camera2D
}
difference = new Vector2(x, y);
//GD.Print($"SmoothDiff {difference}");
}
Position = (Position + difference).Round();