50 lines
2.1 KiB
C#
50 lines
2.1 KiB
C#
using System.Collections.Generic;
|
|
using BumpCombat.Combat;
|
|
using BumpCombat.Player;
|
|
|
|
namespace BumpCombat.Constants
|
|
{
|
|
/// <summary>Existing authored feedback timings and paths used by the 2.5D presentation.</summary>
|
|
public static class Defense25DCombatFeedbackConstants
|
|
{
|
|
public const string ChargeResourceRoot = "Artifacts/ThreeColor-v1/Charge/";
|
|
public const string ChargeAuraSuffix = "-Aura-v1";
|
|
public const string ChargeReadyAuraSuffix = "-ReadyAura-v1";
|
|
public const string ChargeFlashSuffix = "-Flash-v1";
|
|
public const string ChargeReleaseSuffix = "-Release-v1";
|
|
public const string BlockedBumpResource = "Combat/BlockedBump-Wizard-v1";
|
|
public const float PulseGatherDuration = .1f;
|
|
public const float InteractionStreakDuration = .11f;
|
|
|
|
public static IReadOnlyList<float> BumpFrames { get; } = new[]
|
|
{
|
|
CombatFeedback.GetBumpImpactFrameDuration(0),
|
|
CombatFeedback.GetBumpImpactFrameDuration(1),
|
|
CombatFeedback.GetBumpImpactFrameDuration(2),
|
|
CombatFeedback.GetBumpImpactFrameDuration(3),
|
|
};
|
|
|
|
public static IReadOnlyList<float> ArtifactFrames { get; } = new[]
|
|
{
|
|
CombatFeedback.GetArtifactImpactFrameDuration(0),
|
|
CombatFeedback.GetArtifactImpactFrameDuration(1),
|
|
CombatFeedback.GetArtifactImpactFrameDuration(2),
|
|
CombatFeedback.GetArtifactImpactFrameDuration(3),
|
|
};
|
|
|
|
public static IReadOnlyList<float> PlayerHurtFrames { get; } = new[]
|
|
{
|
|
CombatFeedback.GetPlayerHurtImpactFrameDuration(0),
|
|
CombatFeedback.GetPlayerHurtImpactFrameDuration(1),
|
|
CombatFeedback.GetPlayerHurtImpactFrameDuration(2),
|
|
};
|
|
|
|
public static IReadOnlyList<float> ChargeAuraFrames { get; } = new[]
|
|
{ .06f, .06f, .06f, .06f, .06f, .06f };
|
|
public static IReadOnlyList<float> ChargeFlashFrames { get; } = new[]
|
|
{ .03f, .04f, .04f, .03f };
|
|
public static IReadOnlyList<float> ChargeReleaseFrames { get; } = new[]
|
|
{ .03f, .04f, .04f, .04f, .04f, .05f };
|
|
}
|
|
}
|