added temp scene and wave based enemy

This commit is contained in:
Mausham
2026-01-01 17:48:58 -08:00
parent eeea619790
commit 15a7bed129
623 changed files with 15683 additions and 1206 deletions

View File

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

View File

@@ -10,11 +10,12 @@ namespace Darkmatter.Core
GameObject GameObject { get; }
void InitializeFromFactory(Transform player,List<Transform> patrolPoints);
bool isDead { get; }
bool isDead { get; set; }
NavMeshAgent EnemyAI { get; }
List<Transform> PatrolPoints { get; }
void SetDestination(Vector3 destination);
Vector3 ReturnMyPos();
Transform PlayerTarget { get; }
void Reset();
}
}

View File

@@ -0,0 +1,13 @@
using UnityEngine;
namespace Darkmatter.Core
{
public interface IAudioService
{
void PlayMusic(AudioId id);
void StopMusic();
void PlaySFX(AudioId id,float volume);
void PlaySFXAt(AudioId id, UnityEngine.Vector3 position);
}
}

View File

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

View File

@@ -14,5 +14,5 @@ MonoBehaviour:
m_EditorClassIdentifier: CoreAssembly::Darkmatter.Core.EnemyConfigSO
walkSpeed: 1
chaseSpeed: 2
visionRange: 15
visionRange: 50
attackRange: 2

View File

@@ -7,4 +7,18 @@ namespace Darkmatter.Core
Fat,
slim
}
public enum AudioId
{
Music_Gameplay,
Music_Menu,
Gun_Fire,
Gun_Reload,
Zombie_Growl,
Zombie_Death,
UI_Click
}
}