added gamescreen UI and simple start menu

This commit is contained in:
Mausham
2026-01-04 16:41:13 -08:00
parent dcf3bead16
commit 589260292c
508 changed files with 247792 additions and 516 deletions

View File

@@ -8,5 +8,6 @@ namespace Darkmatter.Core
public void PlayMovementAnim(Vector2 velocity);
public void PlayReloadAnim(IReloadableWeapon reloadableWeapon);
void PlayShootAnim();
void PlayDeadAnim();
}
}

View File

@@ -2,7 +2,7 @@ using UnityEngine;
namespace Darkmatter.Core
{
public interface IPlayerPawn
public interface IPlayerPawn : IDamageable
{
bool isGrounded { get; }

View File

@@ -11,5 +11,8 @@ namespace Darkmatter.Core
public Vector2 moveInput { get; }
public Vector2 lookInput { get; }
public bool isShooting { get; }
public void DisableInput();
public void EnableInput();
}
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fb18939ec56040244812046623bfe046
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,14 @@
using UnityEngine;
namespace Darkmatter.Core
{
public interface IGameScreenController
{
void UpdateFireableBulletCount(int bulletCount);
void UpdateRemainingZombiesCount(int zombiesCount);
void UpdateTotalZombiesCount(int totalZombiesCount);
void ShowGameOverText();
void ShowPlayerHealth(int health);
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e6871718dd9c3244eac4e4eed90a289f