2.5d test
This commit is contained in:
@@ -2777,18 +2777,7 @@ namespace BumpCombat.Player
|
||||
float definitionRange,
|
||||
bool charged)
|
||||
{
|
||||
float visualScale = GetCycloneVisualScale(
|
||||
definitionRange,
|
||||
charged);
|
||||
return new Vector2(
|
||||
charged
|
||||
? CycloneChargedOrbitRadiusXPixels
|
||||
: CycloneNormalOrbitRadiusXPixels,
|
||||
charged
|
||||
? CycloneChargedOrbitRadiusYPixels
|
||||
: CycloneNormalOrbitRadiusYPixels)
|
||||
/ CycloneOrbitPixelsPerUnit
|
||||
* visualScale;
|
||||
return CycloneGeometry.Radii(definitionRange, charged);
|
||||
}
|
||||
|
||||
private static float GetThunderCrashVisualScale(
|
||||
@@ -2982,14 +2971,14 @@ namespace BumpCombat.Player
|
||||
return true;
|
||||
}
|
||||
|
||||
private static bool IsCycloneOrbitTextureValid(Texture2D texture)
|
||||
internal static bool IsCycloneOrbitTextureValid(Texture2D texture)
|
||||
{
|
||||
return texture != null
|
||||
&& texture.width >= CycloneOrbitFrameSize * CycloneOrbitFrameCount
|
||||
&& texture.height >= CycloneOrbitFrameSize;
|
||||
}
|
||||
|
||||
private static Sprite[] CreateCycloneOrbitFrames(
|
||||
internal static Sprite[] CreateCycloneOrbitFrames(
|
||||
Texture2D texture,
|
||||
string layerName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user