start work on implementing gameplay

This commit is contained in:
Sylvia 2026-06-25 15:15:16 -07:00
parent 94f5a5e209
commit 274af1e5a1
42 changed files with 3054 additions and 371 deletions

View file

@ -0,0 +1,19 @@
using System;
using Core.Extensions;
using UnityEngine;
using Random = UnityEngine.Random;
public class EnemyShootBasic : EnemyAbility
{
// i think this will just be a debug script since a regular singular bullet attack is kinda boring lol
//or atleast i'd need to figure out cool bullet patterns
[SerializeField] private Projectile projectile;
protected override void AbilityEffects()
{
Projectile newProjectile = Instantiate(projectile, origin.position, Quaternion.identity);
newProjectile.transform.Lookat2D(direction);
newProjectile.damage = power;
newProjectile.tag = tag;
}
}