Compare commits
11 Commits
RenamingDo
...
engine-rew
| Author | SHA1 | Date | |
|---|---|---|---|
| e76952cd0d | |||
| 2207116d0a | |||
| 201b13f80f | |||
| e3f9c1cc52 | |||
| a657d6ed1c | |||
|
|
74e1cbc7d9 | ||
| 3e99c7eb30 | |||
|
|
31ed0b26a3 | ||
|
|
24b0d68e7e | ||
|
|
0da26b0478 | ||
|
|
f34795a82d |
@@ -9,7 +9,7 @@ namespace _2DGAMELIB
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class BodyTemplate
|
public class BodyTemplate
|
||||||
{
|
{
|
||||||
public string Tag = "";
|
public string Tag = ""; // I didn't remove this, but it has been removed on merging my changes? What? - REDCODE
|
||||||
|
|
||||||
public OrderedDictionary<string, VariantGrid> Difss = new OrderedDictionary<string, VariantGrid>();
|
public OrderedDictionary<string, VariantGrid> Difss = new OrderedDictionary<string, VariantGrid>();
|
||||||
|
|
||||||
@@ -19,8 +19,6 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public IEnumerable<string> Keys => Difss.Keys;
|
public IEnumerable<string> Keys => Difss.Keys;
|
||||||
|
|
||||||
public IEnumerable<VariantGrid> Values => Difss.Values;
|
|
||||||
|
|
||||||
public VariantGrid this[string Name]
|
public VariantGrid this[string Name]
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -45,46 +43,13 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double PositionSize
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.PositionSize = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Vector2D PositionVector
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.PositionVector = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double AngleBase
|
public double AngleBase
|
||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
foreach (VariantGrid value2 in Difss.Values)
|
||||||
{
|
{
|
||||||
value2.AngleBase = value;
|
value2.SetAngleBase(value);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double AngleCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.AngleCont = value;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -95,84 +60,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
foreach (VariantGrid value2 in Difss.Values)
|
||||||
{
|
{
|
||||||
value2.SizeBase = value;
|
value2.SetSizeBase(value);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.SizeCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.SizeXBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.SizeXCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.SizeYBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.SizeYCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Dra
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.Dra = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Hit
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (VariantGrid value2 in Difss.Values)
|
|
||||||
{
|
|
||||||
value2.Hit = value;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -227,8 +115,8 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (difs.EnumJoinRoot.All(delegate(ShapePart p0)
|
if (difs.EnumJoinRoot.All(delegate(ShapePart p0)
|
||||||
{
|
{
|
||||||
p = p0.Position;
|
p = p0.GetPosition();
|
||||||
return pa.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance)));
|
return pa.All((ShapePart p1) => p0 == p1 || p1.GetJP().All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance)));
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
return difs;
|
return difs;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart item in partGroup.EnumAllPar())
|
foreach (ShapePart item in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
BaseColors.Add(item.BrushColor);
|
BaseColors.Add(item.GetBrushColor());
|
||||||
OverColors.Add(BaseColors.Last().FuncHSV(delegate(Hsv hsv)
|
OverColors.Add(BaseColors.Last().FuncHSV(delegate(Hsv hsv)
|
||||||
{
|
{
|
||||||
hsv.Hue += 30;
|
hsv.Hue += 30;
|
||||||
@@ -40,17 +40,17 @@ namespace _2DGAMELIB
|
|||||||
hsv.Val += 100;
|
hsv.Val += 100;
|
||||||
return hsv;
|
return hsv;
|
||||||
}));
|
}));
|
||||||
TextColors.Add(item.IsParT() ? item.ToParT().TextColor : Color.Empty);
|
TextColors.Add(item.IsParT() ? item.ToParT().GetTextColor() : Color.Empty);
|
||||||
}
|
}
|
||||||
Over = delegate
|
Over = delegate
|
||||||
{
|
{
|
||||||
int num4 = 0;
|
int num4 = 0;
|
||||||
foreach (ShapePart item2 in partGroup.EnumAllPar())
|
foreach (ShapePart item2 in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item2.BrushColor = OverColors[num4];
|
item2.SetBrushColor(OverColors[num4]);
|
||||||
if (item2.IsParT())
|
if (item2.IsParT())
|
||||||
{
|
{
|
||||||
item2.ToParT().TextColor = TextColors[num4].Reverse();
|
item2.ToParT().SetTextColor(TextColors[num4].Reverse());
|
||||||
}
|
}
|
||||||
num4++;
|
num4++;
|
||||||
}
|
}
|
||||||
@@ -60,10 +60,10 @@ namespace _2DGAMELIB
|
|||||||
int num3 = 0;
|
int num3 = 0;
|
||||||
foreach (ShapePart item3 in partGroup.EnumAllPar())
|
foreach (ShapePart item3 in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item3.BrushColor = PushColors[num3];
|
item3.SetBrushColor(PushColors[num3]);
|
||||||
if (item3.IsParT())
|
if (item3.IsParT())
|
||||||
{
|
{
|
||||||
item3.ToParT().TextColor = TextColors[num3].Reverse();
|
item3.ToParT().SetTextColor(TextColors[num3].Reverse());
|
||||||
}
|
}
|
||||||
num3++;
|
num3++;
|
||||||
}
|
}
|
||||||
@@ -73,10 +73,10 @@ namespace _2DGAMELIB
|
|||||||
int num2 = 0;
|
int num2 = 0;
|
||||||
foreach (ShapePart item4 in partGroup.EnumAllPar())
|
foreach (ShapePart item4 in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item4.BrushColor = OverColors[num2];
|
item4.SetBrushColor(OverColors[num2]);
|
||||||
if (item4.IsParT())
|
if (item4.IsParT())
|
||||||
{
|
{
|
||||||
item4.ToParT().TextColor = TextColors[num2].Reverse();
|
item4.ToParT().SetTextColor(TextColors[num2].Reverse());
|
||||||
}
|
}
|
||||||
num2++;
|
num2++;
|
||||||
}
|
}
|
||||||
@@ -86,10 +86,10 @@ namespace _2DGAMELIB
|
|||||||
int num = 0;
|
int num = 0;
|
||||||
foreach (ShapePart item5 in partGroup.EnumAllPar())
|
foreach (ShapePart item5 in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item5.BrushColor = BaseColors[num];
|
item5.SetBrushColor(BaseColors[num]);
|
||||||
if (item5.IsParT())
|
if (item5.IsParT())
|
||||||
{
|
{
|
||||||
item5.ToParT().TextColor = TextColors[num];
|
item5.ToParT().SetTextColor(TextColors[num]);
|
||||||
}
|
}
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,11 +121,11 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart item in partGroup.EnumAllPar())
|
foreach (ShapePart item in partGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
if (item.HitColor != Color.Transparent)
|
if (item.GetHitColor() != Color.Transparent)
|
||||||
{
|
{
|
||||||
Med.RemUniqueColor(item.HitColor);
|
Med.RemUniqueColor(item.GetHitColor());
|
||||||
}
|
}
|
||||||
item.HitColor = Med.GetUniqueColor();
|
item.SetHitColor(Med.GetUniqueColor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,6 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
public static class GeometryUtils
|
public static class GeometryUtils
|
||||||
{
|
{
|
||||||
private static double s1;
|
|
||||||
|
|
||||||
private static double s0;
|
|
||||||
|
|
||||||
public static Color Reverse(this Color c)
|
public static Color Reverse(this Color c)
|
||||||
{
|
{
|
||||||
return Color.FromArgb(c.A, 255 - c.R, 255 - c.G, 255 - c.B);
|
return Color.FromArgb(c.A, 255 - c.R, 255 - c.G, 255 - c.B);
|
||||||
@@ -50,7 +46,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, Color Color1, Color Color2)
|
public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, Color Color1, Color Color2)
|
||||||
{
|
{
|
||||||
return new LinearGradientBrush((MM[0] * Unit * s0).ToPointF(), (MM[1] * Unit * s1).ToPointF(), Color1, Color2)
|
return new LinearGradientBrush((MM[0] * Unit * 1.01.Reciprocal()).ToPointF(), (MM[1] * Unit * 1.01).ToPointF(), Color1, Color2)
|
||||||
{
|
{
|
||||||
GammaCorrection = true
|
GammaCorrection = true
|
||||||
};
|
};
|
||||||
@@ -58,7 +54,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, ref Color Color1, ref Color Color2)
|
public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, ref Color Color1, ref Color Color2)
|
||||||
{
|
{
|
||||||
return new LinearGradientBrush((MM[0] * Unit * s0).ToPointF(), (MM[1] * Unit * s1).ToPointF(), Color1, Color2)
|
return new LinearGradientBrush((MM[0] * Unit * 1.01.Reciprocal()).ToPointF(), (MM[1] * Unit * 1.01).ToPointF(), Color1, Color2)
|
||||||
{
|
{
|
||||||
GammaCorrection = true
|
GammaCorrection = true
|
||||||
};
|
};
|
||||||
@@ -66,7 +62,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private static void GetMinMaxX(ShapePart ShapePart, ref double MinX, ref double MaxX)
|
private static void GetMinMaxX(ShapePart ShapePart, ref double MinX, ref double MaxX)
|
||||||
{
|
{
|
||||||
foreach (CurveOutline item in ShapePart.OP)
|
foreach (CurveOutline item in ShapePart.GetOP())
|
||||||
{
|
{
|
||||||
foreach (Vector2D p in item.ps)
|
foreach (Vector2D p in item.ps)
|
||||||
{
|
{
|
||||||
@@ -85,7 +81,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private static void GetMinMaxY(ShapePart ShapePart, ref double MinY, ref double MaxY)
|
private static void GetMinMaxY(ShapePart ShapePart, ref double MinY, ref double MaxY)
|
||||||
{
|
{
|
||||||
foreach (CurveOutline item in ShapePart.OP)
|
foreach (CurveOutline item in ShapePart.GetOP())
|
||||||
{
|
{
|
||||||
foreach (Vector2D p in item.ps)
|
foreach (Vector2D p in item.ps)
|
||||||
{
|
{
|
||||||
@@ -112,7 +108,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static void GetMiX_MaX(this ShapePart ShapePart, out Vector2D[] MM)
|
public static void GetMiX_MaX(this ShapePart ShapePart, out Vector2D[] MM)
|
||||||
{
|
{
|
||||||
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First());
|
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.GetOP().First().ps.First());
|
||||||
MM = new Vector2D[2];
|
MM = new Vector2D[2];
|
||||||
MM[0].X = vector2D.X;
|
MM[0].X = vector2D.X;
|
||||||
MM[1].X = vector2D.X;
|
MM[1].X = vector2D.X;
|
||||||
@@ -121,7 +117,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static void GetMaX_MiX(this ShapePart ShapePart, out Vector2D[] MM)
|
public static void GetMaX_MiX(this ShapePart ShapePart, out Vector2D[] MM)
|
||||||
{
|
{
|
||||||
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First());
|
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.GetOP().First().ps.First());
|
||||||
MM = new Vector2D[2];
|
MM = new Vector2D[2];
|
||||||
MM[0].X = vector2D.X;
|
MM[0].X = vector2D.X;
|
||||||
MM[1].X = vector2D.X;
|
MM[1].X = vector2D.X;
|
||||||
@@ -130,7 +126,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static void GetMiY_MaY(this ShapePart ShapePart, out Vector2D[] MM)
|
public static void GetMiY_MaY(this ShapePart ShapePart, out Vector2D[] MM)
|
||||||
{
|
{
|
||||||
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First());
|
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.GetOP().First().ps.First());
|
||||||
MM = new Vector2D[2];
|
MM = new Vector2D[2];
|
||||||
MM[0].Y = vector2D.Y;
|
MM[0].Y = vector2D.Y;
|
||||||
MM[1].Y = vector2D.Y;
|
MM[1].Y = vector2D.Y;
|
||||||
@@ -140,7 +136,7 @@ namespace _2DGAMELIB
|
|||||||
public static void GetMiY_MaY(this ShapePart[] Pars, out Vector2D[] MM)
|
public static void GetMiY_MaY(this ShapePart[] Pars, out Vector2D[] MM)
|
||||||
{
|
{
|
||||||
ShapePart shapePart = Pars.First();
|
ShapePart shapePart = Pars.First();
|
||||||
Vector2D vector2D = shapePart.ToGlobal(shapePart.OP.First().ps.First());
|
Vector2D vector2D = shapePart.ToGlobal(shapePart.GetOP().First().ps.First());
|
||||||
MM = new Vector2D[2];
|
MM = new Vector2D[2];
|
||||||
MM[0].Y = vector2D.Y;
|
MM[0].Y = vector2D.Y;
|
||||||
MM[1].Y = vector2D.Y;
|
MM[1].Y = vector2D.Y;
|
||||||
@@ -149,7 +145,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public static void GetMaY_MiY(this ShapePart ShapePart, out Vector2D[] MM)
|
public static void GetMaY_MiY(this ShapePart ShapePart, out Vector2D[] MM)
|
||||||
{
|
{
|
||||||
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First());
|
Vector2D vector2D = ShapePart.ToGlobal(ShapePart.GetOP().First().ps.First());
|
||||||
MM = new Vector2D[2];
|
MM = new Vector2D[2];
|
||||||
MM[0].Y = vector2D.Y;
|
MM[0].Y = vector2D.Y;
|
||||||
MM[1].Y = vector2D.Y;
|
MM[1].Y = vector2D.Y;
|
||||||
@@ -198,7 +194,7 @@ public static BodyTemplate ObjLoad(this byte[] bd)
|
|||||||
|
|
||||||
public static Encoding GetEncoding(this byte[] Bytes)
|
public static Encoding GetEncoding(this byte[] Bytes)
|
||||||
{
|
{
|
||||||
byte[] array = null;
|
byte[] array;
|
||||||
if (Bytes.Length > 4000)
|
if (Bytes.Length > 4000)
|
||||||
{
|
{
|
||||||
array = new byte[4000];
|
array = new byte[4000];
|
||||||
@@ -351,8 +347,6 @@ public static BodyTemplate ObjLoad(this byte[] bd)
|
|||||||
|
|
||||||
static GeometryUtils()
|
static GeometryUtils()
|
||||||
{
|
{
|
||||||
s1 = 1.01;
|
|
||||||
s0 = s1.Reciprocal();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SaveExMod<T>(this T Obj, string Path)
|
public static void SaveExMod<T>(this T Obj, string Path)
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public void JoinP()
|
public void JoinP()
|
||||||
{
|
{
|
||||||
Difs0.Current.GetPar(Path0).SetJointP(Index, Difs1.CurJoinRoot);
|
Difs0.GetCurrent().GetPar(Path0).SetJointP(Index, Difs1.GetCurJoinRoot());
|
||||||
Difs1.JoinPA();
|
Difs1.JoinPA();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JoinPA()
|
public void JoinPA()
|
||||||
{
|
{
|
||||||
Difs0.Current.GetPar(Path0).SetJointPA(Index, Difs1.CurJoinRoot);
|
Difs0.GetCurrent().GetPar(Path0).SetJointPA(Index, Difs1.GetCurJoinRoot());
|
||||||
Difs1.JoinPA();
|
Difs1.JoinPA();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace _2DGAMELIB
|
|||||||
int num = 0;
|
int num = 0;
|
||||||
List<int> list = new List<int>();
|
List<int> list = new List<int>();
|
||||||
List<ShapePart> list2 = EnumPar.ToList();
|
List<ShapePart> list2 = EnumPar.ToList();
|
||||||
foreach (JointPoint item in JoinRoot.JP)
|
foreach (JointPoint item in JoinRoot.GetJP())
|
||||||
{
|
{
|
||||||
Vector2D v = JoinRoot.ToGlobal(item.Joint);
|
Vector2D v = JoinRoot.ToGlobal(item.Joint);
|
||||||
int num2 = 0;
|
int num2 = 0;
|
||||||
@@ -23,7 +23,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (JoinRoot != item2)
|
if (JoinRoot != item2)
|
||||||
{
|
{
|
||||||
if (v.DistanceSquared(item2.Position) <= IdentityDistance)
|
if (v.DistanceSquared(item2.GetPosition()) <= IdentityDistance)
|
||||||
{
|
{
|
||||||
joints.Joins.Add(new Joint(JoinRoot, num, item2));
|
joints.Joins.Add(new Joint(JoinRoot, num, item2));
|
||||||
if (!list.Contains(num2))
|
if (!list.Contains(num2))
|
||||||
@@ -59,7 +59,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
ShapePart shapePart = js.Joins[i].Par1;
|
ShapePart shapePart = js.Joins[i].Par1;
|
||||||
int num3 = 0;
|
int num3 = 0;
|
||||||
foreach (JointPoint item in shapePart.JP)
|
foreach (JointPoint item in shapePart.GetJP())
|
||||||
{
|
{
|
||||||
Vector2D v = shapePart.ToGlobal(item.Joint);
|
Vector2D v = shapePart.ToGlobal(item.Joint);
|
||||||
int num4 = 0;
|
int num4 = 0;
|
||||||
@@ -68,7 +68,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (shapePart != item2)
|
if (shapePart != item2)
|
||||||
{
|
{
|
||||||
if (v.DistanceSquared(item2.Position) <= IdentityDistance)
|
if (v.DistanceSquared(item2.GetPosition()) <= IdentityDistance)
|
||||||
{
|
{
|
||||||
js.Joins.Add(new Joint(shapePart, num3, item2));
|
js.Joins.Add(new Joint(shapePart, num3, item2));
|
||||||
if (!del.Contains(num4))
|
if (!del.Contains(num4))
|
||||||
@@ -108,12 +108,12 @@ namespace _2DGAMELIB
|
|||||||
if (JoinRoot != item2)
|
if (JoinRoot != item2)
|
||||||
{
|
{
|
||||||
int num2 = 0;
|
int num2 = 0;
|
||||||
foreach (JointPoint item3 in item.JP)
|
foreach (JointPoint item3 in item.GetJP())
|
||||||
{
|
{
|
||||||
Vector2D v = item.ToGlobal(item3.Joint);
|
Vector2D v = item.ToGlobal(item3.Joint);
|
||||||
foreach (ShapePart item4 in item2.EnumJoinRoot)
|
foreach (ShapePart item4 in item2.EnumJoinRoot)
|
||||||
{
|
{
|
||||||
if (v.DistanceSquared(item4.Position) <= IdentityDistance)
|
if (v.DistanceSquared(item4.GetPosition()) <= IdentityDistance)
|
||||||
{
|
{
|
||||||
jointsD.Joins.Add(new JointD(JoinRoot, item, num2, item2));
|
jointsD.Joins.Add(new JointD(JoinRoot, item, num2, item2));
|
||||||
if (!list.Contains(num))
|
if (!list.Contains(num))
|
||||||
@@ -160,12 +160,12 @@ namespace _2DGAMELIB
|
|||||||
if (variantGrid != item2)
|
if (variantGrid != item2)
|
||||||
{
|
{
|
||||||
int num4 = 0;
|
int num4 = 0;
|
||||||
foreach (JointPoint item3 in item.JP)
|
foreach (JointPoint item3 in item.GetJP())
|
||||||
{
|
{
|
||||||
Vector2D v = item.ToGlobal(item3.Joint);
|
Vector2D v = item.ToGlobal(item3.Joint);
|
||||||
foreach (ShapePart item4 in item2.EnumJoinRoot)
|
foreach (ShapePart item4 in item2.EnumJoinRoot)
|
||||||
{
|
{
|
||||||
if (v.DistanceSquared(item4.Position) <= IdentityDistance)
|
if (v.DistanceSquared(item4.GetPosition()) <= IdentityDistance)
|
||||||
{
|
{
|
||||||
jsd.Joins.Add(new JointD(variantGrid, item, num4, item2));
|
jsd.Joins.Add(new JointD(variantGrid, item, num4, item2));
|
||||||
if (!del.Contains(num3))
|
if (!del.Contains(num3))
|
||||||
|
|||||||
@@ -57,62 +57,60 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
_shapePartT = new ShapePartT
|
_shapePartT = new ShapePartT
|
||||||
{
|
{
|
||||||
InitializeOP = array,
|
|
||||||
BasePointBase = array[0].ps[0],
|
|
||||||
PositionBase = Position,
|
|
||||||
SizeBase = Size,
|
|
||||||
Closed = true,
|
|
||||||
|
|
||||||
|
|
||||||
Tag = Name,
|
Tag = Name,
|
||||||
BrushColor = BackColor,
|
|
||||||
PenColor = FramColor,
|
|
||||||
Font = Font,
|
|
||||||
FontSize = TextSize,
|
|
||||||
TextColor = TextColor,
|
|
||||||
Text = "A"
|
Text = "A"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_shapePartT.SetFont(Font);
|
||||||
|
_shapePartT.SetFontSize(TextSize);
|
||||||
|
_shapePartT.SetTextColor(TextColor);
|
||||||
|
_shapePartT.SetInitializeOP(array);
|
||||||
|
_shapePartT.SetBasePointBase(array[0].ps[0]);
|
||||||
|
_shapePartT.SetPositionBase(Position);
|
||||||
|
_shapePartT.SetSizeBase(Size);
|
||||||
|
_shapePartT.SetClosed(true);
|
||||||
|
_shapePartT.SetBrushColor(BackColor);
|
||||||
|
_shapePartT.SetPenColor(FramColor);
|
||||||
|
|
||||||
if (ShadColor != Color.Empty)
|
if (ShadColor != Color.Empty)
|
||||||
{
|
{
|
||||||
_shapePartT.ShadBrush = new SolidBrush(ShadColor);
|
_shapePartT.SetShadBrush(new SolidBrush(ShadColor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SetRect();
|
SetRect();
|
||||||
Min = _shapePartT.RectSize.Y;
|
Min = _shapePartT.GetRectSize().Y;
|
||||||
SetText(Text);
|
SetText(Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetHitColor(ModeEventDispatcher Med)
|
public void SetHitColor(ModeEventDispatcher Med)
|
||||||
{
|
{
|
||||||
if (_shapePartT.HitColor != Color.Transparent)
|
if (_shapePartT.GetHitColor() != Color.Transparent)
|
||||||
{
|
{
|
||||||
Med.RemUniqueColor(_shapePartT.HitColor);
|
Med.RemUniqueColor(_shapePartT.GetHitColor());
|
||||||
}
|
}
|
||||||
_shapePartT.HitColor = Med.GetUniqueColor();
|
_shapePartT.SetHitColor(Med.GetUniqueColor());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetRect()
|
private void SetRect()
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(_shapePartT.Text))
|
if (!string.IsNullOrEmpty(_shapePartT.Text))
|
||||||
{
|
{
|
||||||
_shapePartT.RectSize = new Vector2D(Width, 10.0);
|
_shapePartT.SetRectSize(new Vector2D(Width, 10.0));
|
||||||
Vector2D_2 stringRect = _shapePartT.GetStringRect(Are.DisplayUnitScale, Are.DisplayGraphics);
|
double[] stringRect = _shapePartT.GetStringRect(Are.DisplayUnitScale, Are.DisplayGraphics);
|
||||||
double x = ((stringRect.v2.X > Min) ? stringRect.v2.X : Min) + 0.07;
|
double x = ((stringRect[2] > Min) ? stringRect[2] : Min) + 0.07;
|
||||||
_shapePartT.RectSize = new Vector2D(x, stringRect.v2.Y);
|
_shapePartT.SetRectSize(new Vector2D(x, stringRect[3]));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
double x2 = Min + 0.07;
|
double x2 = Min + 0.07;
|
||||||
_shapePartT.RectSize = new Vector2D(x2, Min);
|
_shapePartT.SetRectSize(new Vector2D(x2, Min));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_shapePartT.GetOP()[0].ps[0] = new Vector2D(0.0, 0.0);
|
||||||
_shapePartT.OP[0].ps[0] = new Vector2D(0.0, 0.0);
|
_shapePartT.GetOP()[0].ps[1] = new Vector2D(_shapePartT.GetRectSize().X, 0.0);
|
||||||
_shapePartT.OP[0].ps[1] = new Vector2D(_shapePartT.RectSize.X, 0.0);
|
_shapePartT.GetOP()[0].ps[2] = new Vector2D(_shapePartT.GetRectSize().X, _shapePartT.GetRectSize().Y);
|
||||||
_shapePartT.OP[0].ps[2] = new Vector2D(_shapePartT.RectSize.X, _shapePartT.RectSize.Y);
|
_shapePartT.GetOP()[0].ps[3] = new Vector2D(0.0, _shapePartT.GetRectSize().Y);
|
||||||
_shapePartT.OP[0].ps[3] = new Vector2D(0.0, _shapePartT.RectSize.Y);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ namespace _2DGAMELIB
|
|||||||
//TODO: Find a better name...
|
//TODO: Find a better name...
|
||||||
public class ManagedArea : RenderArea
|
public class ManagedArea : RenderArea
|
||||||
{
|
{
|
||||||
private double strength;
|
|
||||||
|
|
||||||
private double unitS;
|
private double unitS;
|
||||||
|
|
||||||
public ManagedArea(double Unit, double XRatio, double YRatio, double Size, double DisMag, double HitMag, double Strength) :
|
public ManagedArea(double Unit, double XRatio, double YRatio, double Size, double DisMag, double HitMag, double Strength) :
|
||||||
@@ -16,7 +14,6 @@ namespace _2DGAMELIB
|
|||||||
SetXYRatio(XRatio, YRatio);
|
SetXYRatio(XRatio, YRatio);
|
||||||
base.Size = Size;
|
base.Size = Size;
|
||||||
unitScale = Unit;
|
unitScale = Unit;
|
||||||
strength = Strength;
|
|
||||||
displayUnitScale = Unit * DisMag;
|
displayUnitScale = Unit * DisMag;
|
||||||
double num = 1.0 - Strength;
|
double num = 1.0 - Strength;
|
||||||
unitS = displayUnitScale * num;
|
unitS = displayUnitScale * num;
|
||||||
|
|||||||
@@ -57,5 +57,6 @@ namespace _2DGAMELIB
|
|||||||
this.M43 = M43;
|
this.M43 = M43;
|
||||||
this.M44 = M44;
|
this.M44 = M44;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart p in ps)
|
foreach (ShapePart p in ps)
|
||||||
{
|
{
|
||||||
p.HitColor = GetUniqueColor();
|
p.SetHitColor(GetUniqueColor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -383,7 +383,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart p in ps)
|
foreach (ShapePart p in ps)
|
||||||
{
|
{
|
||||||
HitColors.Remove(p.HitColor);
|
HitColors.Remove(p.GetHitColor());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,135 +27,27 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double PositionSize
|
public void SetAngleBase(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (PartGroup item in parss)
|
foreach (PartGroup item in parss)
|
||||||
{
|
{
|
||||||
item.PositionSize = value;
|
item.SetAngleBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D PositionVector
|
public void SetSizeBase(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (PartGroup item in parss)
|
foreach (PartGroup item in parss)
|
||||||
{
|
{
|
||||||
item.PositionVector = value;
|
item.SetSizeBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleBase
|
public void SetSizeYCont(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (PartGroup item in parss)
|
foreach (PartGroup item in parss)
|
||||||
{
|
{
|
||||||
item.AngleBase = value;
|
item.SetSizeYCont(value);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double AngleCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.AngleCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeXBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeXCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeYBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.SizeYCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Dra
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.Dra = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Hit
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (PartGroup item in parss)
|
|
||||||
{
|
|
||||||
item.Hit = value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,222 +16,49 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public PartGroup Parent => parent;
|
public PartGroup Parent => parent;
|
||||||
|
|
||||||
public IEnumerable<string> Keys => pars.Keys;
|
|
||||||
|
|
||||||
public IEnumerable<object> Values => pars.Values;
|
public IEnumerable<object> Values => pars.Values;
|
||||||
|
|
||||||
public double PositionSize
|
public void SetAngleBase(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (object value2 in pars.Values)
|
foreach (object value2 in pars.Values)
|
||||||
{
|
{
|
||||||
if (value2 is PartGroup)
|
if (value2 is PartGroup)
|
||||||
{
|
{
|
||||||
((PartGroup)value2).PositionSize = value;
|
((PartGroup)value2).SetAngleBase(value);
|
||||||
}
|
}
|
||||||
else if (value2 is ShapePart)
|
else if (value2 is ShapePart)
|
||||||
{
|
{
|
||||||
((ShapePart)value2).PositionSize = value;
|
((ShapePart)value2).SetAngleBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D PositionVector
|
public void SetSizeBase(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (object value2 in pars.Values)
|
foreach (object value2 in pars.Values)
|
||||||
{
|
{
|
||||||
if (value2 is PartGroup)
|
if (value2 is PartGroup)
|
||||||
{
|
{
|
||||||
((PartGroup)value2).PositionVector = value;
|
((PartGroup)value2).SetSizeBase(value);
|
||||||
}
|
}
|
||||||
else if (value2 is ShapePart)
|
else if (value2 is ShapePart)
|
||||||
{
|
{
|
||||||
((ShapePart)value2).PositionVector = value;
|
((ShapePart)value2).SetSizeBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleBase
|
public void SetSizeYCont(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (object value2 in pars.Values)
|
foreach (object value2 in pars.Values)
|
||||||
{
|
{
|
||||||
if (value2 is PartGroup)
|
if (value2 is PartGroup)
|
||||||
{
|
{
|
||||||
((PartGroup)value2).AngleBase = value;
|
((PartGroup)value2).SetSizeYCont(value);
|
||||||
}
|
}
|
||||||
else if (value2 is ShapePart)
|
else if (value2 is ShapePart)
|
||||||
{
|
{
|
||||||
((ShapePart)value2).AngleBase = value;
|
((ShapePart)value2).SetSizeYCont(value);
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double AngleCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).AngleCont = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).AngleCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeBase = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeCont = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeXBase = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeXBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeXCont = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeXCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeYBase = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeYBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).SizeYCont = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).SizeYCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Dra
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).Dra = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).Dra = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Hit
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (object value2 in pars.Values)
|
|
||||||
{
|
|
||||||
if (value2 is PartGroup)
|
|
||||||
{
|
|
||||||
((PartGroup)value2).Hit = value;
|
|
||||||
}
|
|
||||||
else if (value2 is ShapePart)
|
|
||||||
{
|
|
||||||
((ShapePart)value2).Hit = value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,7 +285,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
list.AddRange(((PartGroup)value).GetHitTags(ref HitColor));
|
list.AddRange(((PartGroup)value).GetHitTags(ref HitColor));
|
||||||
}
|
}
|
||||||
else if (value is ShapePart && (shapePart = (ShapePart)value).HitColor == HitColor)
|
else if (value is ShapePart && (shapePart = (ShapePart)value).GetHitColor() == HitColor)
|
||||||
{
|
{
|
||||||
list.Add(shapePart.Tag);
|
list.Add(shapePart.Tag);
|
||||||
}
|
}
|
||||||
@@ -476,7 +303,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
list.AddRange(((PartGroup)value).GetHitPars(ref HitColor));
|
list.AddRange(((PartGroup)value).GetHitPars(ref HitColor));
|
||||||
}
|
}
|
||||||
else if (value is ShapePart && (item = (ShapePart)value).HitColor == HitColor)
|
else if (value is ShapePart && (item = (ShapePart)value).GetHitColor() == HitColor)
|
||||||
{
|
{
|
||||||
list.Add(item);
|
list.Add(item);
|
||||||
}
|
}
|
||||||
@@ -492,7 +319,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (value is ShapePart && ((ShapePart)value).HitColor == HitColor)
|
if (value is ShapePart && ((ShapePart)value).GetHitColor() == HitColor)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,29 +81,29 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector2D TL1 => frame1.OP[0].ps[0];
|
private Vector2D TL1 => frame1.GetOP()[0].ps[0];
|
||||||
|
|
||||||
private Vector2D TR1 => frame1.OP[0].ps[1];
|
private Vector2D TR1 => frame1.GetOP()[0].ps[1];
|
||||||
|
|
||||||
private Vector2D BR1 => frame1.OP[0].ps[2];
|
private Vector2D BR1 => frame1.GetOP()[0].ps[2];
|
||||||
|
|
||||||
private Vector2D BL1 => frame1.OP[0].ps[3];
|
private Vector2D BL1 => frame1.GetOP()[0].ps[3];
|
||||||
|
|
||||||
private Vector2D TL2 => frame2.OP[0].ps[0];
|
private Vector2D TL2 => frame2.GetOP()[0].ps[0];
|
||||||
|
|
||||||
private Vector2D TR2 => frame2.OP[0].ps[1];
|
private Vector2D TR2 => frame2.GetOP()[0].ps[1];
|
||||||
|
|
||||||
private Vector2D BR2 => frame2.OP[0].ps[2];
|
private Vector2D BR2 => frame2.GetOP()[0].ps[2];
|
||||||
|
|
||||||
private Vector2D BL2 => frame2.OP[0].ps[3];
|
private Vector2D BL2 => frame2.GetOP()[0].ps[3];
|
||||||
|
|
||||||
private Vector2D TLG => gauge.OP[0].ps[0];
|
private Vector2D TLG => gauge.GetOP()[0].ps[0];
|
||||||
|
|
||||||
private Vector2D TRG => gauge.OP[0].ps[1];
|
private Vector2D TRG => gauge.GetOP()[0].ps[1];
|
||||||
|
|
||||||
private Vector2D BRG => gauge.OP[0].ps[2];
|
private Vector2D BRG => gauge.GetOP()[0].ps[2];
|
||||||
|
|
||||||
private Vector2D BLG => gauge.OP[0].ps[3];
|
private Vector2D BLG => gauge.GetOP()[0].ps[3];
|
||||||
|
|
||||||
private void SetLimit()
|
private void SetLimit()
|
||||||
{
|
{
|
||||||
@@ -133,15 +133,15 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (Open == Open.Top || Open == Open.Bot)
|
if (Open == Open.Top || Open == Open.Bot)
|
||||||
{
|
{
|
||||||
gauge.SizeYCont = val;
|
gauge.SetSizeYCont(val);
|
||||||
}
|
}
|
||||||
else if (Open == Open.Lef || Open == Open.Rig)
|
else if (Open == Open.Lef || Open == Open.Rig)
|
||||||
{
|
{
|
||||||
gauge.SizeXCont = val;
|
gauge.SetSizeXCont(val);
|
||||||
}
|
}
|
||||||
if (knob != null)
|
if (knob != null)
|
||||||
{
|
{
|
||||||
knob.PositionBase = GetKnobPosition();
|
knob.SetPositionBase(GetKnobPosition());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -161,7 +161,7 @@ namespace _2DGAMELIB
|
|||||||
return (TR1 + BR1) * 0.5;
|
return (TR1 + BR1) * 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return frame1.OP.GetCenter();
|
return frame1.GetOP().GetCenter();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector2D GetBasePoint2()
|
private Vector2D GetBasePoint2()
|
||||||
@@ -180,7 +180,7 @@ namespace _2DGAMELIB
|
|||||||
return (TL2 + BL2) * 0.5;
|
return (TL2 + BL2) * 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return frame2.OP.GetCenter();
|
return frame2.GetOP().GetCenter();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector2D GetBasePoint()
|
private Vector2D GetBasePoint()
|
||||||
@@ -199,7 +199,7 @@ namespace _2DGAMELIB
|
|||||||
return (TRG + BRG) * 0.5;
|
return (TRG + BRG) * 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return frame1.BasePoint;
|
return frame1.GetBasePoint();
|
||||||
}
|
}
|
||||||
|
|
||||||
private double GetWidthMag()
|
private double GetWidthMag()
|
||||||
@@ -286,71 +286,82 @@ namespace _2DGAMELIB
|
|||||||
base_ = new ShapePart
|
base_ = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_ベース",
|
Tag = Name + "_ベース",
|
||||||
InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() },
|
|
||||||
PositionBase = Position,
|
|
||||||
SizeBase = Size,
|
|
||||||
SizeXBase = Width,
|
|
||||||
SizeYBase = Height,
|
|
||||||
Closed = true,
|
|
||||||
Pen = null,
|
|
||||||
BrushColor = BackColor
|
|
||||||
};
|
};
|
||||||
base_.BasePointBase = base_.OP.GetCenter();
|
|
||||||
|
base_.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() });
|
||||||
|
base_.SetPositionBase(Position);
|
||||||
|
base_.SetSizeBase(Size);
|
||||||
|
base_.SetSizeXBase(Width);
|
||||||
|
base_.SetSizeYBase(Height);
|
||||||
|
base_.SetClosed(true);
|
||||||
|
base_.SetPen(null);
|
||||||
|
base_.SetBrushColor(BackColor);
|
||||||
|
|
||||||
|
|
||||||
|
base_.SetBasePointBase(base_.GetOP().GetCenter());
|
||||||
_partGroup.Add(base_.Tag, base_);
|
_partGroup.Add(base_.Tag, base_);
|
||||||
frame1 = new ShapePart
|
frame1 = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_フレーム1",
|
Tag = Name + "_フレーム1",
|
||||||
InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() },
|
|
||||||
PositionBase = Position,
|
|
||||||
SizeBase = Size,
|
|
||||||
SizeXBase = Width * GetWidthMag(),
|
|
||||||
SizeYBase = Height * GetHeightMag(),
|
|
||||||
Closed = true,
|
|
||||||
Brush = null
|
|
||||||
};
|
};
|
||||||
frame1.BasePointBase = GetBasePoint1();
|
|
||||||
|
frame1.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() });
|
||||||
|
frame1.SetPositionBase(Position);
|
||||||
|
frame1.SetSizeBase(Size);
|
||||||
|
frame1.SetSizeXBase(Width * GetWidthMag());
|
||||||
|
frame1.SetSizeYBase(Height * GetHeightMag());
|
||||||
|
frame1.SetClosed(true);
|
||||||
|
frame1.SetBrush(null);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
frame1.SetBasePointBase(GetBasePoint1());
|
||||||
_partGroup.Add(frame1.Tag, frame1);
|
_partGroup.Add(frame1.Tag, frame1);
|
||||||
if (Range == Range.MinusPlus)
|
if (Range == Range.MinusPlus)
|
||||||
{
|
{
|
||||||
frame2 = new ShapePart
|
frame2 = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_フレーム2",
|
Tag = Name + "_フレーム2",
|
||||||
InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() },
|
|
||||||
PositionBase = Position,
|
|
||||||
SizeBase = Size,
|
|
||||||
SizeXBase = Width * GetWidthMag(),
|
|
||||||
SizeYBase = Height * GetHeightMag(),
|
|
||||||
Closed = true,
|
|
||||||
Brush = null
|
|
||||||
};
|
};
|
||||||
frame2.BasePointBase = GetBasePoint2();
|
|
||||||
|
frame2.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() });
|
||||||
|
frame2.SetPositionBase(Position);
|
||||||
|
frame2.SetSizeBase(Size);
|
||||||
|
frame2.SetSizeXBase(Width * GetWidthMag());
|
||||||
|
frame2.SetSizeYBase(Height * GetHeightMag());
|
||||||
|
frame2.SetClosed(true);
|
||||||
|
frame2.SetBrush(null);
|
||||||
|
frame2.SetBasePointBase(GetBasePoint2());
|
||||||
_partGroup.Add(frame2.Tag, frame2);
|
_partGroup.Add(frame2.Tag, frame2);
|
||||||
}
|
}
|
||||||
gauge = new ShapePart
|
gauge = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_ゲージ",
|
Tag = Name + "_ゲージ",
|
||||||
InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() },
|
|
||||||
PositionBase = GetGaugePosition(),
|
|
||||||
SizeBase = Size,
|
|
||||||
SizeXBase = Width * GetWidthMag() * GetGaugeWidthMag(Margin),
|
|
||||||
SizeYBase = Height * GetHeightMag() * GetGaugeHeightMag(Margin),
|
|
||||||
Closed = true
|
|
||||||
};
|
};
|
||||||
gauge.BasePointBase = GetBasePoint();
|
gauge.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() });
|
||||||
|
gauge.SetPositionBase(GetGaugePosition());
|
||||||
|
gauge.SetSizeBase(Size);
|
||||||
|
gauge.SetSizeXBase(Width * GetWidthMag() * GetGaugeWidthMag(Margin));
|
||||||
|
gauge.SetSizeYBase(Height * GetHeightMag() * GetGaugeHeightMag(Margin));
|
||||||
|
gauge.SetClosed(true);
|
||||||
|
|
||||||
|
|
||||||
|
gauge.SetBasePointBase(GetBasePoint());
|
||||||
_partGroup.Add(gauge.Tag, gauge);
|
_partGroup.Add(gauge.Tag, gauge);
|
||||||
if (knob)
|
if (knob)
|
||||||
{
|
{
|
||||||
this.knob = new ShapePart
|
this.knob = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_ノブ",
|
Tag = Name + "_ノブ",
|
||||||
InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() },
|
|
||||||
SizeBase = Size,
|
|
||||||
SizeXBase = GetKnobWidthMag(Width),
|
|
||||||
SizeYBase = GetKnobHeightMag(Height),
|
|
||||||
Closed = true,
|
|
||||||
BrushColor = Color.FromArgb(128, Color.White)
|
|
||||||
};
|
};
|
||||||
this.knob.BasePointBase = this.knob.OP.GetCenter();
|
|
||||||
|
this.knob.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() });
|
||||||
|
this.knob.SetSizeBase(Size);
|
||||||
|
this.knob.SetSizeXBase(GetKnobWidthMag(Width));
|
||||||
|
this.knob.SetSizeYBase(GetKnobHeightMag(Height));
|
||||||
|
this.knob.SetClosed(true);
|
||||||
|
this.knob.SetBrushColor(Color.FromArgb(128, Color.White));
|
||||||
|
this.knob.SetBasePointBase(this.knob.GetOP().GetCenter());
|
||||||
_partGroup.Add(this.knob.Tag, this.knob);
|
_partGroup.Add(this.knob.Tag, this.knob);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -474,10 +485,10 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
return Open switch
|
return Open switch
|
||||||
{
|
{
|
||||||
Open.Top => (0.0 - gauge.SizeY) * gauge.Size,
|
Open.Top => (0.0 - gauge.GetSizeY()) * gauge.GetSize(),
|
||||||
Open.Bot => gauge.SizeY * gauge.Size,
|
Open.Bot => gauge.GetSizeY() * gauge.GetSize(),
|
||||||
Open.Rig => gauge.SizeX * gauge.Size,
|
Open.Rig => gauge.GetSizeX() * gauge.GetSize(),
|
||||||
Open.Lef => (0.0 - gauge.SizeX) * gauge.Size,
|
Open.Lef => (0.0 - gauge.GetSizeX()) * gauge.GetSize(),
|
||||||
_ => 0.0,
|
_ => 0.0,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -507,7 +518,7 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public bool Down(ref Color HitColor, ref Vector2D CursorPosition)
|
public bool Down(ref Color HitColor, ref Vector2D CursorPosition)
|
||||||
{
|
{
|
||||||
if (knob != null && knob.HitColor == HitColor)
|
if (knob != null && knob.GetHitColor() == HitColor)
|
||||||
{
|
{
|
||||||
Grip = true;
|
Grip = true;
|
||||||
op = CursorPosition;
|
op = CursorPosition;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart item in but.PartGroup.EnumAllPar())
|
foreach (ShapePart item in but.PartGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item.BrushColor = but.OverColors[i];
|
item.SetBrushColor(but.OverColors[i]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@@ -84,7 +84,7 @@ namespace _2DGAMELIB
|
|||||||
j = 0;
|
j = 0;
|
||||||
foreach (ShapePart item2 in but.PartGroup.EnumAllPar())
|
foreach (ShapePart item2 in but.PartGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item2.BrushColor = but.OverColors[j];
|
item2.SetBrushColor(but.OverColors[j]);
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -122,7 +122,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
foreach (ShapePart item in but.PartGroup.EnumAllPar())
|
foreach (ShapePart item in but.PartGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item.BrushColor = but.BaseColors[i];
|
item.SetBrushColor(but.BaseColors[i]);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@@ -155,7 +155,7 @@ namespace _2DGAMELIB
|
|||||||
j = 0;
|
j = 0;
|
||||||
foreach (ShapePart item2 in but.PartGroup.EnumAllPar())
|
foreach (ShapePart item2 in but.PartGroup.EnumAllPar())
|
||||||
{
|
{
|
||||||
item2.BrushColor = but.BaseColors[j];
|
item2.SetBrushColor(but.BaseColors[j]);
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using System.Drawing;
|
|||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Numerics;
|
||||||
|
|
||||||
namespace _2DGAMELIB
|
namespace _2DGAMELIB
|
||||||
{
|
{
|
||||||
@@ -12,19 +13,6 @@ namespace _2DGAMELIB
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class ShapePart
|
public class ShapePart
|
||||||
{
|
{
|
||||||
//FOR TESTS
|
|
||||||
public static long TCalc;
|
|
||||||
public static long TCalcH;
|
|
||||||
public static long TFill;
|
|
||||||
public static long TOutline;
|
|
||||||
public static long THitFill;
|
|
||||||
|
|
||||||
public static int NCalc;
|
|
||||||
public static int NCalcH;
|
|
||||||
public static int NFill;
|
|
||||||
public static int NOutline;
|
|
||||||
public static int NHitFill;
|
|
||||||
|
|
||||||
private PartGroup parent;
|
private PartGroup parent;
|
||||||
|
|
||||||
public string Tag = "";
|
public string Tag = "";
|
||||||
@@ -35,7 +23,6 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
protected Vector2D basePointBase = DataConsts.Vec2DZero;
|
protected Vector2D basePointBase = DataConsts.Vec2DZero;
|
||||||
|
|
||||||
//cont short for contract?
|
|
||||||
protected Vector2D basePointCont = DataConsts.Vec2DZero;
|
protected Vector2D basePointCont = DataConsts.Vec2DZero;
|
||||||
|
|
||||||
protected Vector2D positionBase = DataConsts.Vec2DZero;
|
protected Vector2D positionBase = DataConsts.Vec2DZero;
|
||||||
@@ -66,406 +53,226 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
protected double ySizeCont = 1.0;
|
protected double ySizeCont = 1.0;
|
||||||
|
|
||||||
public bool Dra = true;
|
protected double penWidth;
|
||||||
|
|
||||||
private bool closed;
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
protected Pen pen = new Pen(Color.Black, 1f);
|
protected Pen pen = new Pen(Color.Black, 1f);
|
||||||
|
|
||||||
protected double penWidth;
|
|
||||||
|
|
||||||
private bool EditP = true;
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
protected Brush brush = new SolidBrush(Color.LightGray);
|
protected Brush brush = new SolidBrush(Color.LightGray);
|
||||||
|
|
||||||
public bool Hit = true;
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
protected SolidBrush HitBrush = new SolidBrush(Color.Transparent);
|
protected SolidBrush HitBrush = new SolidBrush(Color.Transparent);
|
||||||
|
|
||||||
private double us;
|
|
||||||
|
|
||||||
private double usx;
|
|
||||||
|
|
||||||
private double usy;
|
|
||||||
|
|
||||||
private Vector2D bp;
|
|
||||||
|
|
||||||
private Vector2D mv;
|
|
||||||
|
|
||||||
private double angle;
|
|
||||||
|
|
||||||
private double M11;
|
|
||||||
|
|
||||||
private double M12;
|
|
||||||
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
private GraphicsPath Path = new GraphicsPath();
|
private GraphicsPath Path = new GraphicsPath();
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
private GraphicsPath OutlinePath = new GraphicsPath();
|
private GraphicsPath OutlinePath = new GraphicsPath();
|
||||||
|
|
||||||
private Vector2D p;
|
|
||||||
|
|
||||||
private Vector2D v;
|
|
||||||
|
|
||||||
private PointF[] points;
|
|
||||||
|
|
||||||
protected bool Edit = true;
|
|
||||||
|
|
||||||
protected bool EditS = true;
|
|
||||||
|
|
||||||
protected bool EditPS = true;
|
|
||||||
|
|
||||||
private double ush;
|
|
||||||
|
|
||||||
private double usxh;
|
|
||||||
|
|
||||||
private double usyh;
|
|
||||||
|
|
||||||
private Vector2D bph;
|
|
||||||
|
|
||||||
private Vector2D mvh;
|
|
||||||
|
|
||||||
private double ah;
|
|
||||||
|
|
||||||
private double M11h;
|
|
||||||
|
|
||||||
private double M12h;
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
private GraphicsPath gph = new GraphicsPath();
|
private GraphicsPath gph = new GraphicsPath();
|
||||||
|
|
||||||
private Vector2D ph;
|
|
||||||
|
|
||||||
private Vector2D vh;
|
public bool Dra = true;
|
||||||
|
public bool Hit = true;
|
||||||
|
private bool closed;
|
||||||
|
public bool IsClosed => closed;
|
||||||
|
|
||||||
private PointF[] psh;
|
public PartGroup GetParent()
|
||||||
|
|
||||||
private bool EditH = true;
|
|
||||||
|
|
||||||
public PartGroup Parent => parent;
|
|
||||||
|
|
||||||
public List<CurveOutline> OP
|
|
||||||
{
|
{
|
||||||
get
|
return parent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<CurveOutline> GetOP()
|
||||||
{
|
{
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
return op;
|
return op;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
{
|
|
||||||
op = value;
|
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public IEnumerable<CurveOutline> InitializeOP
|
public void SetInitializeOP(IEnumerable<CurveOutline> value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
op.Clear();
|
op.Clear();
|
||||||
op.AddRange(value);
|
op.AddRange(value);
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<JointPoint> JP
|
public List<JointPoint> GetJP()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return jp;
|
return jp;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
{
|
|
||||||
jp = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public IEnumerable<JointPoint> InitializeJP
|
public Vector2D GetBasePointBase()
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
jp.Clear();
|
|
||||||
jp.AddRange(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Vector2D BasePointBase
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return basePointBase;
|
return basePointBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetBasePointBase(Vector2D value)
|
||||||
{
|
{
|
||||||
basePointBase = value;
|
basePointBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D BasePointCont
|
public Vector2D GetBasePointCont()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return basePointCont;
|
return basePointCont;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetBasePointCont(Vector2D value)
|
||||||
{
|
{
|
||||||
basePointCont = value;
|
basePointCont = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D BasePoint => basePointBase + basePointCont;
|
public Vector2D GetBasePoint()
|
||||||
|
|
||||||
public Vector2D PositionBase
|
|
||||||
{
|
{
|
||||||
get
|
return basePointBase + basePointCont;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector2D GetPositionBase()
|
||||||
{
|
{
|
||||||
return positionBase;
|
return positionBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetPositionBase(Vector2D value)
|
||||||
{
|
{
|
||||||
positionBase = value;
|
positionBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D PositionCont
|
public Vector2D GetPositionCont()
|
||||||
{
|
{
|
||||||
get
|
return positionCont;
|
||||||
{
|
|
||||||
return positionContO;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
positionContO = value;
|
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D Position
|
public void SetPositionCont(Vector2D value)
|
||||||
{
|
{
|
||||||
get
|
positionCont = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vector2D GetPosition()
|
||||||
{
|
{
|
||||||
double d = System.Math.PI * AngleParent / 180.0;
|
double d = System.Math.PI * anglePare / 180.0;
|
||||||
double num = System.Math.Cos(d);
|
double num = System.Math.Cos(d);
|
||||||
double num2 = System.Math.Sin(d);
|
double num2 = System.Math.Sin(d);
|
||||||
positionCont.X = positionContO.X * num + positionContO.Y * (0.0 - num2);
|
Vector2D positionCont;
|
||||||
positionCont.Y = positionContO.X * num2 + positionContO.Y * num;
|
positionCont.X = this.positionCont.X * num - this.positionCont.Y * num2;
|
||||||
return (positionBase + positionCont) * positionSize + positionVector;
|
positionCont.Y = this.positionCont.X * num2 + this.positionCont.Y * num;
|
||||||
}
|
return (positionBase + positionCont) * positionSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D Position_nc
|
public void SetAngleParent(double value)
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
double d = System.Math.PI * AngleParent / 180.0;
|
|
||||||
System.Math.Cos(d);
|
|
||||||
System.Math.Sin(d);
|
|
||||||
return positionBase * positionSize + positionVector;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double PositionSize
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return positionSize;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
positionSize = value;
|
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
EditPS = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Vector2D PositionVector
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return positionVector;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
positionVector = value;
|
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double AngleParent
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return anglePare;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
anglePare = value;
|
anglePare = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleBase
|
public double GetAngleBase()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return angleBase;
|
return angleBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetAngleBase(double value)
|
||||||
{
|
{
|
||||||
angleBase = value;
|
angleBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleCont
|
public double GetAngleCont()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return angleCont;
|
return angleCont;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetAngleCont(double value)
|
||||||
{
|
{
|
||||||
angleCont = value;
|
angleCont = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double Angle => anglePare + angleBase + angleCont;
|
public double GetAngle()
|
||||||
|
|
||||||
public double SizeBase
|
|
||||||
{
|
{
|
||||||
get
|
return anglePare + angleBase + angleCont;
|
||||||
|
}
|
||||||
|
|
||||||
|
public double GetSizeBase()
|
||||||
{
|
{
|
||||||
return sizeBase;
|
return sizeBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeBase(double value)
|
||||||
{
|
{
|
||||||
sizeBase = value;
|
sizeBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
EditS = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double SizeCont
|
public double GetSizeCont()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return sizeCont;
|
return sizeCont;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeCont(double value)
|
||||||
{
|
{
|
||||||
sizeCont = value;
|
sizeCont = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
EditS = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double Size => sizeBase * sizeCont * positionSize;
|
public double GetSize()
|
||||||
|
|
||||||
public double SizeXBase
|
|
||||||
{
|
{
|
||||||
get
|
return sizeBase * sizeCont * positionSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public double GetSizeXBase()
|
||||||
{
|
{
|
||||||
return xSizeBase;
|
return xSizeBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeXBase(double value)
|
||||||
{
|
{
|
||||||
xSizeBase = value;
|
xSizeBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double SizeXCont
|
public double GetSizeXCont()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return xSizeCont;
|
return xSizeCont;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeXCont(double value)
|
||||||
{
|
{
|
||||||
xSizeCont = value;
|
xSizeCont = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double SizeX => xSizeBase * xSizeCont;
|
public double GetSizeX()
|
||||||
|
|
||||||
public double SizeYBase
|
|
||||||
{
|
{
|
||||||
get
|
return xSizeBase * xSizeCont;
|
||||||
|
}
|
||||||
|
|
||||||
|
public double GetSizeYBase()
|
||||||
{
|
{
|
||||||
return ySizeBase;
|
return ySizeBase;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeYBase(double value)
|
||||||
{
|
{
|
||||||
ySizeBase = value;
|
ySizeBase = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double SizeYCont
|
public double GetSizeYCont()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return ySizeCont;
|
return ySizeCont;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetSizeYCont(double value)
|
||||||
{
|
{
|
||||||
ySizeCont = value;
|
ySizeCont = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double SizeY => ySizeBase * ySizeCont;
|
public double GetSizeY()
|
||||||
|
|
||||||
public bool Closed
|
|
||||||
{
|
{
|
||||||
get
|
return ySizeBase * ySizeCont;
|
||||||
{
|
|
||||||
return closed;
|
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetClosed(bool value)
|
||||||
{
|
{
|
||||||
closed = value;
|
closed = value;
|
||||||
Edit = true;
|
|
||||||
EditH = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[JsonIgnore]
|
public Pen GetPen()
|
||||||
public Pen Pen
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return pen;
|
return pen;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetPen(Pen value)
|
||||||
{
|
{
|
||||||
if (pen != value && pen != null)
|
if (pen != value && pen != null)
|
||||||
{
|
{
|
||||||
@@ -477,43 +284,34 @@ namespace _2DGAMELIB
|
|||||||
pen.StartCap = LineCap.Round;
|
pen.StartCap = LineCap.Round;
|
||||||
pen.EndCap = LineCap.Round;
|
pen.EndCap = LineCap.Round;
|
||||||
}
|
}
|
||||||
EditP = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double PenWidth
|
public double GetPenWidth()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return penWidth;
|
return penWidth;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetPenWidth(double value)
|
||||||
{
|
{
|
||||||
penWidth = value;
|
penWidth = value;
|
||||||
EditP = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Color PenColor
|
public Color GetPenColor()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return pen.Color;
|
return pen.Color;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetPenColor(Color value)
|
||||||
{
|
{
|
||||||
pen.Color = value;
|
pen.Color = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
[JsonIgnore]
|
public Brush GetBrush1()
|
||||||
public Brush Brush
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return brush;
|
return brush;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetBrush1(Brush value)
|
||||||
{
|
{
|
||||||
if (brush != value && brush != null)
|
if (brush != value && brush != null)
|
||||||
{
|
{
|
||||||
@@ -521,31 +319,26 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
brush = value;
|
brush = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Color BrushColor
|
public Color GetBrushColor()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return ((SolidBrush)brush).Color;
|
return ((SolidBrush)brush).Color;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetBrushColor(Color value)
|
||||||
{
|
{
|
||||||
((SolidBrush)brush).Color = value;
|
((SolidBrush)brush).Color = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Color HitColor
|
public Color GetHitColor()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
return HitBrush.Color;
|
return HitBrush.Color;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetHitColor(Color value)
|
||||||
{
|
{
|
||||||
HitBrush.Color = value;
|
HitBrush.Color = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
public void SetParent(PartGroup Parent)
|
public void SetParent(PartGroup Parent)
|
||||||
{
|
{
|
||||||
parent = Parent;
|
parent = Parent;
|
||||||
@@ -598,7 +391,6 @@ namespace _2DGAMELIB
|
|||||||
positionBase = ShapePart.positionBase;
|
positionBase = ShapePart.positionBase;
|
||||||
positionContO = ShapePart.positionContO;
|
positionContO = ShapePart.positionContO;
|
||||||
positionCont = ShapePart.positionCont;
|
positionCont = ShapePart.positionCont;
|
||||||
positionSize = ShapePart.positionSize;
|
|
||||||
positionVector = ShapePart.positionVector;
|
positionVector = ShapePart.positionVector;
|
||||||
anglePare = ShapePart.anglePare;
|
anglePare = ShapePart.anglePare;
|
||||||
angleBase = ShapePart.angleBase;
|
angleBase = ShapePart.angleBase;
|
||||||
@@ -614,11 +406,11 @@ namespace _2DGAMELIB
|
|||||||
closed = ShapePart.closed;
|
closed = ShapePart.closed;
|
||||||
if (ShapePart.pen != null)
|
if (ShapePart.pen != null)
|
||||||
{
|
{
|
||||||
Pen = ShapePart.pen.Copy();
|
SetPen(ShapePart.pen.Copy());
|
||||||
}
|
}
|
||||||
if (ShapePart.brush != null)
|
if (ShapePart.brush != null)
|
||||||
{
|
{
|
||||||
Brush = ShapePart.brush.Copy();
|
SetBrush1(ShapePart.brush.Copy());
|
||||||
}
|
}
|
||||||
Hit = ShapePart.Hit;
|
Hit = ShapePart.Hit;
|
||||||
if (ShapePart.HitBrush != null)
|
if (ShapePart.HitBrush != null)
|
||||||
@@ -629,56 +421,35 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private void Calculation(double Unit)
|
private void Calculation(double Unit)
|
||||||
{
|
{
|
||||||
|
double us = Unit * (sizeBase * sizeCont * positionSize);
|
||||||
|
double usx = us * (xSizeBase * xSizeCont);
|
||||||
|
double usy = us * (ySizeBase * ySizeCont);
|
||||||
|
|
||||||
/*
|
Vector2D bp = basePointBase + basePointCont;
|
||||||
things that affect where this part is drawn
|
|
||||||
|
|
||||||
Size, SizeX, SizeY, BasePoint, Position, Angle, Unit
|
|
||||||
|
|
||||||
Size = sizeBase * sizeCont * positionSize
|
|
||||||
SizeX = xSizeBase * xSizeCont
|
|
||||||
SizeY = ySizeBase * ySizeCont
|
|
||||||
BasePoint = basePointBase + basePointCont
|
|
||||||
Position (AnglePare, positionContO, positionBase, positionCont, positionSize, positionVector)
|
|
||||||
Angle = anglePare + angleBase + angleCont
|
|
||||||
AnglePare = anglePare
|
|
||||||
|
|
||||||
sizeBase, sizeCont, positionSize, xSizeBase, xSizeCont, ySizeBase, ySizeCont,
|
|
||||||
basePointBase, basePointCont, positionContO, positionBase, positionCont,
|
|
||||||
positionVector, anglePare, angleBase, angleCont
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
us = Unit * Size;
|
|
||||||
usx = us * SizeX;
|
|
||||||
usy = us * SizeY;
|
|
||||||
|
|
||||||
bp = BasePoint;
|
|
||||||
bp.X *= usx;
|
bp.X *= usx;
|
||||||
bp.Y *= usy;
|
bp.Y *= usy;
|
||||||
|
|
||||||
mv = Position * Unit - bp;
|
Vector2D mv = GetPosition() * Unit - bp;
|
||||||
|
|
||||||
double a = System.Math.PI * Angle / 180.0;
|
double a = System.Math.PI * (anglePare + angleBase + angleCont) / 180.0;
|
||||||
M11 = System.Math.Cos(a);
|
|
||||||
M12 = System.Math.Sin(a);
|
|
||||||
|
|
||||||
Path.Reset();
|
Path.Reset();
|
||||||
OutlinePath.Reset();
|
OutlinePath.Reset();
|
||||||
foreach (CurveOutline item in op)
|
foreach (CurveOutline item in op)
|
||||||
{
|
{
|
||||||
points = new PointF[item.ps.Count];
|
PointF[] points = new PointF[item.ps.Count];
|
||||||
for (int i = 0; i < item.ps.Count; i++)
|
for (int i = 0; i < item.ps.Count; i++)
|
||||||
{
|
{
|
||||||
|
Vector2D p;
|
||||||
p.X = item.ps[i].X * usx;
|
p.X = item.ps[i].X * usx;
|
||||||
p.Y = item.ps[i].Y * usy;
|
p.Y = item.ps[i].Y * usy;
|
||||||
p = Rotate(ref p) + mv;
|
p = Rotate(ref p, bp, a) + mv;
|
||||||
|
|
||||||
points[i].X = (float)p.X;
|
points[i].X = (float)p.X;
|
||||||
points[i].Y = (float)p.Y;
|
points[i].Y = (float)p.Y;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Closed)
|
if (closed)
|
||||||
Path.AddClosedCurve(points, item.Tension);
|
Path.AddClosedCurve(points, item.Tension);
|
||||||
else
|
else
|
||||||
Path.AddCurve(points, item.Tension);
|
Path.AddCurve(points, item.Tension);
|
||||||
@@ -687,7 +458,7 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
OutlinePath.StartFigure();
|
OutlinePath.StartFigure();
|
||||||
|
|
||||||
if (Closed)
|
if (closed)
|
||||||
OutlinePath.AddClosedCurve(points, item.Tension);
|
OutlinePath.AddClosedCurve(points, item.Tension);
|
||||||
else
|
else
|
||||||
OutlinePath.AddCurve(points, item.Tension);
|
OutlinePath.AddCurve(points, item.Tension);
|
||||||
@@ -695,11 +466,15 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector2D Rotate(ref Vector2D p)
|
private Vector2D Rotate(ref Vector2D p, Vector2D bp, double a)
|
||||||
{
|
{
|
||||||
|
double M11 = System.Math.Cos(a);
|
||||||
|
double M12 = System.Math.Sin(a);
|
||||||
|
|
||||||
p.X -= bp.X;
|
p.X -= bp.X;
|
||||||
p.Y -= bp.Y;
|
p.Y -= bp.Y;
|
||||||
|
|
||||||
|
Vector2D v;
|
||||||
v.X = p.X * M11 + p.Y * (0.0 - M12);
|
v.X = p.X * M11 + p.Y * (0.0 - M12);
|
||||||
v.Y = p.X * M12 + p.Y * M11;
|
v.Y = p.X * M12 + p.Y * M11;
|
||||||
|
|
||||||
@@ -713,67 +488,46 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (Dra)
|
if (Dra)
|
||||||
{
|
{
|
||||||
if (Edit)
|
|
||||||
{
|
|
||||||
long t0 = Stopwatch.GetTimestamp();
|
|
||||||
Calculation(Unit);
|
Calculation(Unit);
|
||||||
TCalc += Stopwatch.GetTimestamp() - t0;
|
|
||||||
NCalc++;
|
|
||||||
Edit = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pen != null && (EditP || EditPS))
|
|
||||||
{
|
|
||||||
pen.Width = (float)(Unit * penWidth * positionSize);
|
|
||||||
EditP = false;
|
|
||||||
EditPS = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (brush != null)
|
if (brush != null)
|
||||||
{
|
{
|
||||||
long t0 = Stopwatch.GetTimestamp();
|
|
||||||
Graphics.FillPath(brush, Path);
|
Graphics.FillPath(brush, Path);
|
||||||
TFill += Stopwatch.GetTimestamp() - t0;
|
|
||||||
NFill++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pen != null)
|
if (pen != null)
|
||||||
{
|
{
|
||||||
long t0 = Stopwatch.GetTimestamp();
|
pen.Width = (float)(Unit * penWidth * positionSize);
|
||||||
Graphics.DrawPath(pen, OutlinePath);
|
Graphics.DrawPath(pen, OutlinePath);
|
||||||
TOutline += Stopwatch.GetTimestamp() - t0;
|
|
||||||
NOutline++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CalculationH(double Unit)
|
private void CalculationH(double Unit)
|
||||||
{
|
{
|
||||||
ush = Unit * Size;
|
double ush = Unit * (sizeBase * sizeCont * positionSize);
|
||||||
usxh = ush * SizeX;
|
double usxh = ush * (xSizeBase * xSizeCont);
|
||||||
usyh = ush * SizeY;
|
double usyh = ush * (ySizeBase * ySizeCont);
|
||||||
|
|
||||||
bph = BasePoint;
|
Vector2D bph = basePointBase + basePointCont;
|
||||||
bph.X *= usxh;
|
bph.X *= usxh;
|
||||||
bph.Y *= usyh;
|
bph.Y *= usyh;
|
||||||
|
|
||||||
mvh = Position;
|
Vector2D mvh = GetPosition();
|
||||||
mvh.X = mvh.X * Unit - bph.X;
|
mvh.X = mvh.X * Unit - bph.X;
|
||||||
mvh.Y = mvh.Y * Unit - bph.Y;
|
mvh.Y = mvh.Y * Unit - bph.Y;
|
||||||
ah = System.Math.PI * Angle / 180.0;
|
double ah = System.Math.PI * GetAngle() / 180.0;
|
||||||
M11h = System.Math.Cos(ah);
|
|
||||||
M12h = System.Math.Sin(ah);
|
|
||||||
gph.Reset();
|
gph.Reset();
|
||||||
if (Closed)
|
if (closed)
|
||||||
{
|
{
|
||||||
foreach (CurveOutline item in op)
|
foreach (CurveOutline item in op)
|
||||||
{
|
{
|
||||||
psh = new PointF[item.ps.Count];
|
PointF[] psh = new PointF[item.ps.Count];
|
||||||
for (int i = 0; i < item.ps.Count; i++)
|
for (int i = 0; i < item.ps.Count; i++)
|
||||||
{
|
{
|
||||||
|
Vector2D ph;
|
||||||
ph.X = item.ps[i].X * usxh;
|
ph.X = item.ps[i].X * usxh;
|
||||||
ph.Y = item.ps[i].Y * usyh;
|
ph.Y = item.ps[i].Y * usyh;
|
||||||
RotateH(ref ph);
|
RotateH(ref ph, bph, ah);
|
||||||
ph.X += mvh.X;
|
ph.X += mvh.X;
|
||||||
ph.Y += mvh.Y;
|
ph.Y += mvh.Y;
|
||||||
psh[i].X = (float)ph.X;
|
psh[i].X = (float)ph.X;
|
||||||
@@ -786,12 +540,13 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
foreach (CurveOutline item2 in op)
|
foreach (CurveOutline item2 in op)
|
||||||
{
|
{
|
||||||
psh = new PointF[item2.ps.Count];
|
PointF[] psh = new PointF[item2.ps.Count];
|
||||||
for (int j = 0; j < item2.ps.Count; j++)
|
for (int j = 0; j < item2.ps.Count; j++)
|
||||||
{
|
{
|
||||||
|
Vector2D ph;
|
||||||
ph.X = item2.ps[j].X * usxh;
|
ph.X = item2.ps[j].X * usxh;
|
||||||
ph.Y = item2.ps[j].Y * usyh;
|
ph.Y = item2.ps[j].Y * usyh;
|
||||||
RotateH(ref ph);
|
RotateH(ref ph, bph, ah);
|
||||||
ph.X += mvh.X;
|
ph.X += mvh.X;
|
||||||
ph.Y += mvh.Y;
|
ph.Y += mvh.Y;
|
||||||
psh[j].X = (float)ph.X;
|
psh[j].X = (float)ph.X;
|
||||||
@@ -801,11 +556,15 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RotateH(ref Vector2D ph)
|
private void RotateH(ref Vector2D ph, Vector2D bph, double ah)
|
||||||
{
|
{
|
||||||
|
double M11h = System.Math.Cos(ah);
|
||||||
|
double M12h = System.Math.Sin(ah);
|
||||||
|
|
||||||
ph.X -= bph.X;
|
ph.X -= bph.X;
|
||||||
ph.Y -= bph.Y;
|
ph.Y -= bph.Y;
|
||||||
|
|
||||||
|
Vector2D vh;
|
||||||
vh.X = ph.X * M11h + ph.Y * (0.0 - M12h);
|
vh.X = ph.X * M11h + ph.Y * (0.0 - M12h);
|
||||||
vh.Y = ph.X * M12h + ph.Y * M11h;
|
vh.Y = ph.X * M12h + ph.Y * M11h;
|
||||||
|
|
||||||
@@ -817,19 +576,8 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (Hit)
|
if (Hit)
|
||||||
{
|
{
|
||||||
if (EditH)
|
|
||||||
{
|
|
||||||
long t0 = Stopwatch.GetTimestamp();
|
|
||||||
CalculationH(Unit);
|
CalculationH(Unit);
|
||||||
TCalcH += Stopwatch.GetTimestamp() - t0;
|
|
||||||
NCalcH++;
|
|
||||||
EditH = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
long t1 = Stopwatch.GetTimestamp();
|
|
||||||
Graphics.FillPath(HitBrush, gph);
|
Graphics.FillPath(HitBrush, gph);
|
||||||
THitFill += Stopwatch.GetTimestamp() - t1;
|
|
||||||
NHitFill++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -837,35 +585,31 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (Index < jp.Count)
|
if (Index < jp.Count)
|
||||||
{
|
{
|
||||||
ShapePart.PositionBase = ToGlobal(jp[Index].Joint);
|
ShapePart.SetPositionBase(ToGlobal(jp[Index].Joint));
|
||||||
}
|
}
|
||||||
ShapePart.Edit = true;
|
|
||||||
ShapePart.EditH = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetJointPA(int Index, ShapePart ShapePart)
|
public void SetJointPA(int Index, ShapePart ShapePart)
|
||||||
{
|
{
|
||||||
if (Index < jp.Count)
|
if (Index < jp.Count)
|
||||||
{
|
{
|
||||||
ShapePart.PositionBase = ToGlobal(jp[Index].Joint);
|
ShapePart.SetPositionBase(ToGlobal(jp[Index].Joint));
|
||||||
}
|
}
|
||||||
ShapePart.AngleParent = Angle;
|
ShapePart.SetAngleParent(anglePare + angleBase + angleCont);
|
||||||
ShapePart.Edit = true;
|
|
||||||
ShapePart.EditH = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D ToGlobal(Vector2D Local)
|
public Vector2D ToGlobal(Vector2D Local)
|
||||||
{
|
{
|
||||||
double size = Size;
|
double size = sizeBase * sizeCont * positionSize;
|
||||||
double xsz = size * SizeX;
|
double xsz = size * (xSizeBase * xSizeCont);
|
||||||
double ysz = size * SizeY;
|
double ysz = size * (ySizeBase * ySizeCont);
|
||||||
Vector2D basePoint = BasePoint;
|
Vector2D basePoint = basePointBase + basePointCont;
|
||||||
basePoint.X *= xsz;
|
basePoint.X *= xsz;
|
||||||
basePoint.Y *= ysz;
|
basePoint.Y *= ysz;
|
||||||
Vector2D position = Position;
|
Vector2D position = GetPosition();
|
||||||
position.X -= basePoint.X;
|
position.X -= basePoint.X;
|
||||||
position.Y -= basePoint.Y;
|
position.Y -= basePoint.Y;
|
||||||
double d = System.Math.PI * Angle / 180.0;
|
double d = System.Math.PI * GetAngle() / 180.0;
|
||||||
double num3 = System.Math.Cos(d);
|
double num3 = System.Math.Cos(d);
|
||||||
double num4 = System.Math.Sin(d);
|
double num4 = System.Math.Sin(d);
|
||||||
double num5 = 0.0 - num4;
|
double num5 = 0.0 - num4;
|
||||||
@@ -888,16 +632,16 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public Vector2D ToGlobal_nc(Vector2D Local)
|
public Vector2D ToGlobal_nc(Vector2D Local)
|
||||||
{
|
{
|
||||||
double size = Size;
|
double size = sizeBase * sizeCont * positionSize;
|
||||||
double num = size * SizeX;
|
double num = size * (xSizeBase * xSizeCont);
|
||||||
double num2 = size * SizeY;
|
double num2 = size * (ySizeBase * ySizeCont);
|
||||||
Vector2D basePoint = BasePoint;
|
Vector2D basePoint = basePointBase + basePointCont;
|
||||||
basePoint.X *= num;
|
basePoint.X *= num;
|
||||||
basePoint.Y *= num2;
|
basePoint.Y *= num2;
|
||||||
Vector2D position_nc = Position_nc;
|
Vector2D position_nc = positionBase * positionSize;
|
||||||
position_nc.X -= basePoint.X;
|
position_nc.X -= basePoint.X;
|
||||||
position_nc.Y -= basePoint.Y;
|
position_nc.Y -= basePoint.Y;
|
||||||
double d = System.Math.PI * Angle / 180.0;
|
double d = System.Math.PI * (anglePare + angleBase + angleCont) / 180.0;
|
||||||
double num3 = System.Math.Cos(d);
|
double num3 = System.Math.Cos(d);
|
||||||
double num4 = System.Math.Sin(d);
|
double num4 = System.Math.Sin(d);
|
||||||
double num5 = 0.0 - num4;
|
double num5 = 0.0 - num4;
|
||||||
@@ -920,18 +664,18 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public Vector2D ToLocal(Vector2D Global)
|
public Vector2D ToLocal(Vector2D Global)
|
||||||
{
|
{
|
||||||
double size = Size;
|
double size = sizeBase * sizeCont * positionSize;
|
||||||
double num = size * SizeX;
|
double num = size * (xSizeBase * xSizeCont);
|
||||||
double num2 = size * SizeY;
|
double num2 = size * (ySizeBase * ySizeCont);
|
||||||
Vector2D basePoint = BasePoint;
|
Vector2D basePoint = basePointBase + basePointCont;
|
||||||
basePoint.X *= num;
|
basePoint.X *= num;
|
||||||
basePoint.Y *= num2;
|
basePoint.Y *= num2;
|
||||||
Vector2D position = Position;
|
Vector2D position = GetPosition();
|
||||||
position.X = basePoint.X - position.X;
|
position.X = basePoint.X - position.X;
|
||||||
position.Y = basePoint.Y - position.Y;
|
position.Y = basePoint.Y - position.Y;
|
||||||
num = num.Reciprocal();
|
num = num.Reciprocal();
|
||||||
num2 = num2.Reciprocal();
|
num2 = num2.Reciprocal();
|
||||||
double d = System.Math.PI * (0.0 - Angle) / 180.0;
|
double d = System.Math.PI * (0.0 - (anglePare + angleBase + angleCont)) / 180.0;
|
||||||
double num3 = System.Math.Cos(d);
|
double num3 = System.Math.Cos(d);
|
||||||
double num4 = System.Math.Sin(d);
|
double num4 = System.Math.Sin(d);
|
||||||
double num5 = 0.0 - num4;
|
double num5 = 0.0 - num4;
|
||||||
@@ -1011,42 +755,6 @@ namespace _2DGAMELIB
|
|||||||
return System.Math.Abs(num * 0.5);
|
return System.Math.Abs(num * 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ScalingXY(double Scale)
|
|
||||||
{
|
|
||||||
op.ScalingXY(ref basePointBase, Scale);
|
|
||||||
jp.ScalingXY(ref basePointBase, Scale);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ScalingX(double Scale)
|
|
||||||
{
|
|
||||||
op.ScalingX(ref basePointBase, Scale);
|
|
||||||
jp.ScalingX(ref basePointBase, Scale);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ScalingY(double Scale)
|
|
||||||
{
|
|
||||||
op.ScalingY(ref basePointBase, Scale);
|
|
||||||
jp.ScalingY(ref basePointBase, Scale);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ExpansionXY(double Rate)
|
|
||||||
{
|
|
||||||
op.ExpansionXY(ref basePointBase, Rate);
|
|
||||||
jp.ExpansionXY(ref basePointBase, Rate);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ExpansionX(double Rate)
|
|
||||||
{
|
|
||||||
op.ExpansionX(ref basePointBase, Rate);
|
|
||||||
jp.ExpansionX(ref basePointBase, Rate);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ExpansionY(double Rate)
|
|
||||||
{
|
|
||||||
op.ExpansionY(ref basePointBase, Rate);
|
|
||||||
jp.ExpansionY(ref basePointBase, Rate);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
if (pen != null)
|
if (pen != null)
|
||||||
|
|||||||
@@ -9,19 +9,15 @@ namespace _2DGAMELIB
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class ShapePartT : ShapePart
|
public class ShapePartT : ShapePart
|
||||||
{
|
{
|
||||||
[NonSerialized, JsonIgnore]
|
|
||||||
private Font font = new Font("", 1f);
|
|
||||||
|
|
||||||
private double fontSize = 1.0;
|
private double fontSize = 1.0;
|
||||||
|
|
||||||
private bool EditF = true;
|
[NonSerialized, JsonIgnore]
|
||||||
|
private Font font = new Font("", 1f);
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
private Brush brusht = new SolidBrush(Color.Black);
|
private Brush brusht = new SolidBrush(Color.Black);
|
||||||
|
|
||||||
//unused
|
|
||||||
private const double Shift = 1.0;
|
|
||||||
|
|
||||||
[NonSerialized, JsonIgnore]
|
[NonSerialized, JsonIgnore]
|
||||||
private Brush brushs;
|
private Brush brushs;
|
||||||
|
|
||||||
@@ -32,46 +28,21 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private Vector2D rectSize = DataConsts.Vec2DOne;
|
private Vector2D rectSize = DataConsts.Vec2DOne;
|
||||||
|
|
||||||
|
|
||||||
public string Text = "";
|
public string Text = "";
|
||||||
|
|
||||||
private RectangleF rect;
|
|
||||||
|
|
||||||
private double us;
|
|
||||||
|
|
||||||
private double usx;
|
|
||||||
|
|
||||||
private double usy;
|
|
||||||
|
|
||||||
private Vector2D bp;
|
private Vector2D bp;
|
||||||
|
|
||||||
private Vector2D p;
|
|
||||||
|
|
||||||
private Vector2D v;
|
|
||||||
|
|
||||||
private double a0;
|
|
||||||
|
|
||||||
private double a1;
|
|
||||||
|
|
||||||
private double M11;
|
|
||||||
|
|
||||||
private double M12;
|
|
||||||
|
|
||||||
private float af;
|
|
||||||
|
|
||||||
private float xf;
|
|
||||||
|
|
||||||
private float yf;
|
|
||||||
|
|
||||||
private bool EditT = true;
|
|
||||||
|
|
||||||
private bool EditTS = true;
|
private bool EditTS = true;
|
||||||
|
private bool EditF = true;
|
||||||
|
|
||||||
private CharacterRange[] crr = new CharacterRange[1];
|
|
||||||
|
|
||||||
public Font Font
|
|
||||||
{
|
public void SetFont(Font value)
|
||||||
get { return font; }
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
if (font != value && font != null)
|
if (font != value && font != null)
|
||||||
{
|
{
|
||||||
@@ -80,22 +51,17 @@ namespace _2DGAMELIB
|
|||||||
font = value;
|
font = value;
|
||||||
EditF = true;
|
EditF = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public double FontSize
|
public double GetFontSize()
|
||||||
{
|
{ return fontSize; }
|
||||||
get { return fontSize; }
|
|
||||||
set
|
public void SetFontSize(double value)
|
||||||
{
|
{
|
||||||
fontSize = value;
|
fontSize = value;
|
||||||
EditF = true;
|
EditF = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Brush TextBrush
|
public void SetTextBrush(Brush value)
|
||||||
{
|
|
||||||
get { return brusht; }
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
if (brusht != value && brusht != null)
|
if (brusht != value && brusht != null)
|
||||||
{
|
{
|
||||||
@@ -103,36 +69,31 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
brusht = value;
|
brusht = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Color TextColor
|
public Color GetTextColor()
|
||||||
{
|
{ return ((SolidBrush)brusht).Color; }
|
||||||
get { return ((SolidBrush)brusht).Color; }
|
|
||||||
set { ((SolidBrush)brusht).Color = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public Brush ShadBrush
|
public void SetTextColor(Color value)
|
||||||
{
|
{ ((SolidBrush)brusht).Color = value; }
|
||||||
get { return brushs; }
|
|
||||||
set
|
public void SetShadBrush(Brush value)
|
||||||
{
|
{
|
||||||
if (brushs != value && brushs != null)
|
if (brushs != value && brushs != null)
|
||||||
brushs.Dispose();
|
brushs.Dispose();
|
||||||
|
|
||||||
brushs = value;
|
brushs = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Color ShadColor
|
public Color GetShadColor()
|
||||||
{
|
{ return ((SolidBrush)brushs).Color; }
|
||||||
get { return ((SolidBrush)brushs).Color; }
|
|
||||||
set { ((SolidBrush)brushs).Color = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringFormat StringFormat
|
public void SetShadColor(Color value)
|
||||||
{
|
{ ((SolidBrush)brushs).Color = value; }
|
||||||
get { return stringformat; }
|
|
||||||
set
|
public StringFormat GetStringFormat()
|
||||||
|
{ return stringformat; }
|
||||||
|
|
||||||
|
public void SetStringFormat(StringFormat value)
|
||||||
{
|
{
|
||||||
if (stringformat != value && stringformat != null)
|
if (stringformat != value && stringformat != null)
|
||||||
{
|
{
|
||||||
@@ -140,16 +101,13 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
stringformat = value;
|
stringformat = value;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public Vector2D RectSize
|
public Vector2D GetRectSize()
|
||||||
{
|
{ return rectSize; }
|
||||||
get { return rectSize; }
|
|
||||||
set
|
public void SetRectSize(Vector2D value)
|
||||||
{
|
{
|
||||||
rectSize = value;
|
rectSize = value;
|
||||||
EditT = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void SetDefault()
|
public new void SetDefault()
|
||||||
@@ -174,7 +132,6 @@ namespace _2DGAMELIB
|
|||||||
stringformat = new StringFormat();
|
stringformat = new StringFormat();
|
||||||
|
|
||||||
EditF = true;
|
EditF = true;
|
||||||
EditT = true;
|
|
||||||
EditTS = true;
|
EditTS = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -194,16 +151,16 @@ namespace _2DGAMELIB
|
|||||||
fontSize = ShapePartT.fontSize;
|
fontSize = ShapePartT.fontSize;
|
||||||
|
|
||||||
if (ShapePartT.font != null)
|
if (ShapePartT.font != null)
|
||||||
Font = ShapePartT.font.Copy();
|
SetFont(ShapePartT.font.Copy());
|
||||||
|
|
||||||
if (ShapePartT.brusht != null)
|
if (ShapePartT.brusht != null)
|
||||||
TextBrush = ShapePartT.brusht.Copy();
|
SetTextBrush(ShapePartT.brusht.Copy());
|
||||||
|
|
||||||
if (ShapePartT.brushs != null)
|
if (ShapePartT.brushs != null)
|
||||||
ShadBrush = ShapePartT.brushs.Copy();
|
SetShadBrush(ShapePartT.brushs.Copy());
|
||||||
|
|
||||||
if (ShapePartT.stringformat != null)
|
if (ShapePartT.stringformat != null)
|
||||||
StringFormat = ShapePartT.stringformat.Copy();
|
SetStringFormat(ShapePartT.stringformat.Copy());
|
||||||
|
|
||||||
positionT = ShapePartT.positionT;
|
positionT = ShapePartT.positionT;
|
||||||
rectSize = ShapePartT.rectSize;
|
rectSize = ShapePartT.rectSize;
|
||||||
@@ -212,11 +169,14 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public new void Draw(double Unit, Graphics Graphics)
|
public new void Draw(double Unit, Graphics Graphics)
|
||||||
{
|
{
|
||||||
if (Edit)
|
Calculation(Unit);
|
||||||
EditT = true;
|
|
||||||
|
|
||||||
if (EditS || EditPS)
|
if (EditF || EditTS)
|
||||||
EditTS = true;
|
{
|
||||||
|
RebuildFont((float)(Unit * base.GetSize() * fontSize));
|
||||||
|
EditF = false;
|
||||||
|
EditTS = false;
|
||||||
|
}
|
||||||
|
|
||||||
base.Draw(Unit, Graphics);
|
base.Draw(Unit, Graphics);
|
||||||
DrawString(Unit, Graphics);
|
DrawString(Unit, Graphics);
|
||||||
@@ -224,30 +184,25 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private void Calculation(double Unit)
|
private void Calculation(double Unit)
|
||||||
{
|
{
|
||||||
us = Unit * base.Size;
|
double us = Unit * base.GetSize();
|
||||||
usx = us * base.SizeX;
|
double usx = us * base.GetSizeX();
|
||||||
usy = us * base.SizeY;
|
double usy = us * base.GetSizeY();
|
||||||
|
|
||||||
bp = base.BasePoint;
|
bp = base.GetBasePoint();
|
||||||
bp.X *= usx;
|
bp.X *= usx;
|
||||||
bp.Y *= usy;
|
bp.Y *= usy;
|
||||||
|
|
||||||
a0 = base.Angle;
|
double a1 = System.Math.PI * base.GetAngle() / 180.0;
|
||||||
a1 = System.Math.PI * a0 / 180.0;
|
double M11 = System.Math.Cos(a1);
|
||||||
M11 = System.Math.Cos(a1);
|
double M12 = System.Math.Sin(a1);
|
||||||
M12 = System.Math.Sin(a1);
|
|
||||||
|
|
||||||
|
Vector2D v;
|
||||||
v.X = bp.X * M11 + bp.Y * (0.0 - M12);
|
v.X = bp.X * M11 + bp.Y * (0.0 - M12);
|
||||||
v.Y = bp.X * M12 + bp.Y * M11;
|
v.Y = bp.X * M12 + bp.Y * M11;
|
||||||
|
|
||||||
p = base.Position;
|
Vector2D p = base.GetPosition();
|
||||||
bp.X = p.X * Unit - v.X;
|
bp.X = p.X * Unit - v.X;
|
||||||
bp.Y = p.Y * Unit - v.Y;
|
bp.Y = p.Y * Unit - v.Y;
|
||||||
|
|
||||||
rect.X = (float)(positionT.X * us);
|
|
||||||
rect.Y = (float)(positionT.Y * us);
|
|
||||||
rect.Width = (float)(rectSize.X * us);
|
|
||||||
rect.Height = (float)(rectSize.Y * us);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RebuildFont(double scaledSize)
|
private void RebuildFont(double scaledSize)
|
||||||
@@ -273,60 +228,46 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
private void DrawString(double Unit, Graphics Graphics)
|
private void DrawString(double Unit, Graphics Graphics)
|
||||||
{
|
{
|
||||||
if (EditT)
|
RectangleF rect = default(RectangleF);
|
||||||
{
|
rect.X = (float)(positionT.X * Unit * base.GetSize());
|
||||||
Calculation(Unit);
|
rect.Y = (float)(positionT.Y * Unit * base.GetSize());
|
||||||
EditT = false;
|
rect.Width = (float)(rectSize.X * Unit * base.GetSize());
|
||||||
}
|
rect.Height = (float)(rectSize.Y * Unit * base.GetSize());
|
||||||
|
|
||||||
if (EditF || EditTS)
|
|
||||||
{
|
|
||||||
RebuildFont((float)(us * fontSize));
|
|
||||||
EditF = false;
|
|
||||||
EditTS = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
af = (float)a0;
|
|
||||||
xf = (float)base.SizeX;
|
|
||||||
yf = (float)base.SizeY;
|
|
||||||
|
|
||||||
|
|
||||||
if (brushs != null)
|
if (brushs != null)
|
||||||
{
|
{
|
||||||
GraphicsState state = Graphics.Save();
|
GraphicsState state = Graphics.Save();
|
||||||
|
Graphics.TranslateTransform((float)(bp.X + 1.0), (float)(bp.Y + 1.0));
|
||||||
Graphics.TranslateTransform((float)(bp.X + Shift), (float)(bp.Y + Shift));
|
Graphics.RotateTransform((float)base.GetAngle());
|
||||||
Graphics.RotateTransform(af);
|
Graphics.ScaleTransform((float)base.GetSizeX(), (float)base.GetSizeY());
|
||||||
Graphics.ScaleTransform(xf, yf);
|
|
||||||
Graphics.DrawString(Text, font, brushs, rect, stringformat);
|
Graphics.DrawString(Text, font, brushs, rect, stringformat);
|
||||||
|
|
||||||
Graphics.Restore(state);
|
Graphics.Restore(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
GraphicsState state = Graphics.Save();
|
GraphicsState state = Graphics.Save();
|
||||||
|
|
||||||
Graphics.TranslateTransform((float)bp.X, (float)bp.Y);
|
Graphics.TranslateTransform((float)bp.X, (float)bp.Y);
|
||||||
Graphics.RotateTransform(af);
|
Graphics.RotateTransform((float)base.GetAngle());
|
||||||
Graphics.ScaleTransform(xf, yf);
|
Graphics.ScaleTransform((float)base.GetSizeX(), (float)base.GetSizeY());
|
||||||
Graphics.DrawString(Text, font, brusht, rect, stringformat);
|
Graphics.DrawString(Text, font, brusht, rect, stringformat);
|
||||||
|
|
||||||
Graphics.Restore(state);
|
Graphics.Restore(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D_2 GetStringRect(double Unit, Graphics Graphics)
|
public double[] GetStringRect(double Unit, Graphics Graphics)
|
||||||
{
|
{
|
||||||
double num = Unit * base.Size;
|
double num = Unit * base.GetSize();
|
||||||
|
|
||||||
if (EditF || EditS || EditPS || EditTS)
|
if (EditF || EditTS)
|
||||||
{
|
{
|
||||||
RebuildFont((float)(num * fontSize));
|
RebuildFont((float)(num * fontSize));
|
||||||
EditF = false;
|
EditF = false;
|
||||||
EditTS = false;
|
EditTS = false;
|
||||||
}
|
}
|
||||||
|
CharacterRange[] crr = new CharacterRange[]{
|
||||||
|
new CharacterRange(0, Text.Length)
|
||||||
|
};
|
||||||
|
|
||||||
crr[0] = new CharacterRange(0, Text.Length);
|
|
||||||
stringformat.SetMeasurableCharacterRanges(crr);
|
stringformat.SetMeasurableCharacterRanges(crr);
|
||||||
|
|
||||||
RectangleF layoutRect = new RectangleF(
|
RectangleF layoutRect = new RectangleF(
|
||||||
@@ -339,17 +280,20 @@ namespace _2DGAMELIB
|
|||||||
.MeasureCharacterRanges(Text ?? string.Empty, font, layoutRect, stringformat)[0]
|
.MeasureCharacterRanges(Text ?? string.Empty, font, layoutRect, stringformat)[0]
|
||||||
.GetBounds(Graphics);
|
.GetBounds(Graphics);
|
||||||
|
|
||||||
return new Vector2D_2(
|
return new double[4]{
|
||||||
new Vector2D(bounds.X / num, bounds.Y / num),
|
bounds.X / num,
|
||||||
new Vector2D(bounds.Width / num, bounds.Height / num));
|
bounds.Y / num,
|
||||||
|
bounds.Width / num,
|
||||||
|
bounds.Height / num
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D[] GetStringRectPoints(double Unit, Graphics Graphics)
|
public Vector2D[] GetStringRectPoints(double Unit, Graphics Graphics)
|
||||||
{
|
{
|
||||||
Vector2D_2 stringRect = GetStringRect(Unit, Graphics);
|
double[] stringRect = GetStringRect(Unit, Graphics);
|
||||||
|
|
||||||
Vector2D pos = stringRect.v1;
|
Vector2D pos = new Vector2D(stringRect[0], stringRect[1]);
|
||||||
Vector2D size = stringRect.v2;
|
Vector2D size = new Vector2D(stringRect[2], stringRect[3]);
|
||||||
|
|
||||||
size.X *= 1.07f;
|
size.X *= 1.07f;
|
||||||
|
|
||||||
@@ -376,8 +320,9 @@ namespace _2DGAMELIB
|
|||||||
curveOutline.ps.Add(stringRectPoints[2].AddXY(x, num) + vector2D);
|
curveOutline.ps.Add(stringRectPoints[2].AddXY(x, num) + vector2D);
|
||||||
curveOutline.ps.Add(stringRectPoints[3].AddY(num) + vector2D);
|
curveOutline.ps.Add(stringRectPoints[3].AddY(num) + vector2D);
|
||||||
|
|
||||||
base.OP.Add(curveOutline);
|
base.GetOP().Add(curveOutline);
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void Dispose()
|
public new void Dispose()
|
||||||
{
|
{
|
||||||
base.Dispose();
|
base.Dispose();
|
||||||
|
|||||||
@@ -59,10 +59,10 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (feed != null)
|
if (feed != null)
|
||||||
{
|
{
|
||||||
a0 = feed.BrushColor.A;
|
a0 = feed.GetBrushColor().A;
|
||||||
a1 = feed.PenColor.A;
|
a1 = feed.GetPenColor().A;
|
||||||
feed.BrushColor = Color.FromArgb(0, feed.BrushColor);
|
feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor()));
|
||||||
feed.PenColor = Color.FromArgb(0, feed.PenColor);
|
feed.SetPenColor(Color.FromArgb(0, feed.GetPenColor()));
|
||||||
}
|
}
|
||||||
text = new string(' ', Space) + value;
|
text = new string(' ', Space) + value;
|
||||||
Max = text.Length;
|
Max = text.Length;
|
||||||
@@ -85,10 +85,10 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
if (feed != null)
|
if (feed != null)
|
||||||
{
|
{
|
||||||
a0 = feed.BrushColor.A;
|
a0 = feed.GetBrushColor().A;
|
||||||
a1 = feed.PenColor.A;
|
a1 = feed.GetPenColor().A;
|
||||||
feed.BrushColor = Color.FromArgb(0, feed.BrushColor);
|
feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor()));
|
||||||
feed.PenColor = Color.FromArgb(0, feed.PenColor);
|
feed.SetPenColor(Color.FromArgb(0, feed.GetPenColor()));
|
||||||
}
|
}
|
||||||
text = new string(' ', Space) + value;
|
text = new string(' ', Space) + value;
|
||||||
Max = text.Length;
|
Max = text.Length;
|
||||||
@@ -113,14 +113,14 @@ namespace _2DGAMELIB
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _shapePartT.PositionBase;
|
return _shapePartT.GetPositionBase();
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
_shapePartT.PositionBase = value;
|
_shapePartT.SetPositionBase(value);
|
||||||
if (feed != null)
|
if (feed != null)
|
||||||
{
|
{
|
||||||
feed.PositionBase = _shapePartT.ToGlobal(_shapePartT.OP[0].ps[2] * 0.95);
|
feed.SetPositionBase(_shapePartT.ToGlobal(_shapePartT.GetOP()[0].ps[2] * 0.95));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -209,22 +209,23 @@ namespace _2DGAMELIB
|
|||||||
_shapePartT = new ShapePartT
|
_shapePartT = new ShapePartT
|
||||||
{
|
{
|
||||||
Tag = Name,
|
Tag = Name,
|
||||||
InitializeOP = array,
|
|
||||||
PositionBase = Position,
|
|
||||||
SizeBase = Size,
|
|
||||||
Closed = true,
|
|
||||||
BrushColor = BackColor,
|
|
||||||
Font = Font,
|
|
||||||
FontSize = TextSize,
|
|
||||||
TextColor = TextColor,
|
|
||||||
RectSize = new Vector2D(Width, Height),
|
|
||||||
Text = Text
|
Text = Text
|
||||||
};
|
};
|
||||||
ShapePartT.OP.ScalingX(ShapePartT.BasePointBase, Width);
|
|
||||||
ShapePartT.OP.ScalingY(ShapePartT.BasePointBase, Height);
|
_shapePartT.SetFont(Font);
|
||||||
|
_shapePartT.SetFontSize(TextSize);
|
||||||
|
_shapePartT.SetTextColor(TextColor);
|
||||||
|
_shapePartT.SetRectSize(new Vector2D(Width, Height));
|
||||||
|
_shapePartT.SetInitializeOP(array);
|
||||||
|
_shapePartT.SetPositionBase(Position);
|
||||||
|
_shapePartT.SetSizeBase(Size);
|
||||||
|
_shapePartT.SetClosed(true);
|
||||||
|
_shapePartT.SetBrushColor(BackColor);
|
||||||
|
_shapePartT.GetOP().ScalingX(_shapePartT.GetBasePointBase(), Width);
|
||||||
|
_shapePartT.GetOP().ScalingY(_shapePartT.GetBasePointBase(), Height);
|
||||||
if (ShadColor != Color.Empty)
|
if (ShadColor != Color.Empty)
|
||||||
{
|
{
|
||||||
_shapePartT.ShadBrush = new SolidBrush(ShadColor);
|
_shapePartT.SetShadBrush(new SolidBrush(ShadColor));
|
||||||
}
|
}
|
||||||
_partGroup.Add(_shapePartT.Tag, _shapePartT);
|
_partGroup.Add(_shapePartT.Tag, _shapePartT);
|
||||||
}
|
}
|
||||||
@@ -235,27 +236,28 @@ namespace _2DGAMELIB
|
|||||||
feed = new ShapePart
|
feed = new ShapePart
|
||||||
{
|
{
|
||||||
Tag = Name + "_Feed",
|
Tag = Name + "_Feed",
|
||||||
InitializeOP = array,
|
|
||||||
BasePointBase = array.GetCenter(),
|
|
||||||
PositionBase = _shapePartT.ToGlobal(_shapePartT.OP[0].ps[2] * 0.96),
|
|
||||||
SizeBase = Size * 0.07,
|
|
||||||
SizeYBase = 0.9,
|
|
||||||
Closed = true,
|
|
||||||
PenColor = Color.FromArgb(0, Color.Black),
|
|
||||||
BrushColor = Color.FromArgb(0, FeedColor),
|
|
||||||
Hit = false
|
Hit = false
|
||||||
};
|
};
|
||||||
feed.OP.ReverseY(feed.BasePointBase);
|
feed.SetInitializeOP(array);
|
||||||
|
feed.SetBasePointBase(array.GetCenter());
|
||||||
|
feed.SetPositionBase(feed.ToGlobal(feed.GetOP()[0].ps[2] * 0.96));
|
||||||
|
feed.SetSizeBase(Size * 0.07);
|
||||||
|
feed.SetSizeYBase(0.9);
|
||||||
|
feed.SetClosed(true);
|
||||||
|
feed.SetPenColor(Color.FromArgb(0, Color.Black));
|
||||||
|
feed.SetBrushColor(Color.FromArgb(0, FeedColor));
|
||||||
|
|
||||||
|
feed.GetOP().ReverseY(feed.GetBasePointBase());
|
||||||
_partGroup.Add(feed.Tag, feed);
|
_partGroup.Add(feed.Tag, feed);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetHitColor(ModeEventDispatcher Med)
|
public void SetHitColor(ModeEventDispatcher Med)
|
||||||
{
|
{
|
||||||
if (_shapePartT.HitColor != Color.Transparent)
|
if (_shapePartT.GetHitColor() != Color.Transparent)
|
||||||
{
|
{
|
||||||
Med.RemUniqueColor(_shapePartT.HitColor);
|
Med.RemUniqueColor(_shapePartT.GetHitColor());
|
||||||
}
|
}
|
||||||
_shapePartT.HitColor = Med.GetUniqueColor();
|
_shapePartT.SetHitColor(Med.GetUniqueColor());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Progression(FpsCounter FPS)
|
public void Progression(FpsCounter FPS)
|
||||||
@@ -273,8 +275,8 @@ namespace _2DGAMELIB
|
|||||||
f1 = true;
|
f1 = true;
|
||||||
if (feed != null)
|
if (feed != null)
|
||||||
{
|
{
|
||||||
feed.BrushColor = Color.FromArgb(a0, feed.BrushColor);
|
feed.SetBrushColor(Color.FromArgb(a0, feed.GetBrushColor()));
|
||||||
feed.PenColor = Color.FromArgb(a1, feed.PenColor);
|
feed.SetPenColor(Color.FromArgb(a1, feed.GetPenColor()));
|
||||||
}
|
}
|
||||||
if (Done != null)
|
if (Done != null)
|
||||||
{
|
{
|
||||||
@@ -285,14 +287,14 @@ namespace _2DGAMELIB
|
|||||||
else if (feed != null && feed.Dra)
|
else if (feed != null && feed.Dra)
|
||||||
{
|
{
|
||||||
mv.GetValue(FPS);
|
mv.GetValue(FPS);
|
||||||
feed.BrushColor = Color.FromArgb((int)mv.Value, feed.BrushColor);
|
feed.SetBrushColor(Color.FromArgb((int)mv.Value, feed.GetBrushColor()));
|
||||||
feed.PenColor = Color.FromArgb(feed.BrushColor.A, feed.PenColor);
|
feed.SetPenColor(Color.FromArgb(feed.GetBrushColor().A, feed.GetPenColor()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Down(ref Color HitColor)
|
public bool Down(ref Color HitColor)
|
||||||
{
|
{
|
||||||
if (_shapePartT.HitColor == HitColor)
|
if (_shapePartT.GetHitColor() == HitColor)
|
||||||
{
|
{
|
||||||
f2 = true;
|
f2 = true;
|
||||||
if (!f1 && Speed == speed)
|
if (!f1 && Speed == speed)
|
||||||
@@ -306,14 +308,14 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public bool Up(ref Color HitColor)
|
public bool Up(ref Color HitColor)
|
||||||
{
|
{
|
||||||
if (f1 && f2 && _shapePartT.HitColor == HitColor && Speed == speed)
|
if (f1 && f2 && _shapePartT.GetHitColor() == HitColor && Speed == speed)
|
||||||
{
|
{
|
||||||
f1 = false;
|
f1 = false;
|
||||||
f2 = false;
|
f2 = false;
|
||||||
if (feed != null)
|
if (feed != null)
|
||||||
{
|
{
|
||||||
feed.BrushColor = Color.FromArgb(0, feed.BrushColor);
|
feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor()));
|
||||||
feed.PenColor = Color.FromArgb(feed.BrushColor.A, feed.PenColor);
|
feed.SetPenColor(Color.FromArgb(feed.GetBrushColor().A, feed.GetPenColor()));
|
||||||
mv.ResetValue();
|
mv.ResetValue();
|
||||||
}
|
}
|
||||||
Action(this);
|
Action(this);
|
||||||
|
|||||||
@@ -21,50 +21,46 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public Dictionary<PartGroup, ShapePart> pr;
|
public Dictionary<PartGroup, ShapePart> pr;
|
||||||
|
|
||||||
public int CountX => difs.Count;
|
public int GetCountX()
|
||||||
|
|
||||||
public int CountY
|
|
||||||
{
|
{
|
||||||
get
|
return difs.Count;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int GetCountY()
|
||||||
{
|
{
|
||||||
if (difs.Count > 0)
|
if (difs.Count > 0)
|
||||||
{
|
{
|
||||||
return difs[IndexX].Count;
|
return difs[GetIndexX()].Count;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public int IndexX
|
public int GetIndexX()
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
{
|
||||||
if (!(ValueX >= 1.0))
|
if (!(ValueX >= 1.0))
|
||||||
{
|
{
|
||||||
return (int)((double)CountX * ValueX);
|
return (int)((double)GetCountX() * ValueX);
|
||||||
}
|
|
||||||
return CountX - 1;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
ValueX = (double)value / (double)CountX;
|
|
||||||
}
|
}
|
||||||
|
return GetCountX() - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int IndexY
|
public void SetIndexX(int value)
|
||||||
{
|
{
|
||||||
get
|
ValueX = (double)value / (double)GetCountX();
|
||||||
|
}
|
||||||
|
|
||||||
|
public int GetIndexY()
|
||||||
{
|
{
|
||||||
if (!(ValueY >= 1.0))
|
if (!(ValueY >= 1.0))
|
||||||
{
|
{
|
||||||
return (int)((double)CountY * ValueY);
|
return (int)((double)GetCountY() * ValueY);
|
||||||
}
|
}
|
||||||
return CountY - 1;
|
return GetCountY() - 1;
|
||||||
}
|
}
|
||||||
set
|
|
||||||
|
public void SetIndexY(int value)
|
||||||
{
|
{
|
||||||
ValueY = (double)value / (double)CountY;
|
ValueY = (double)value / (double)GetCountY();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public MorphVariant this[int Index]
|
public MorphVariant this[int Index]
|
||||||
@@ -79,153 +75,44 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public PartGroup Current => difs[IndexX][IndexY];
|
public PartGroup GetCurrent()
|
||||||
|
|
||||||
public double PositionSize
|
|
||||||
{
|
{
|
||||||
set
|
return difs[GetIndexX()][GetIndexY()];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetAngleBase(double value)
|
||||||
{
|
{
|
||||||
foreach (MorphVariant dif in difs)
|
foreach (MorphVariant dif in difs)
|
||||||
{
|
{
|
||||||
dif.PositionSize = value;
|
dif.SetAngleBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2D PositionVector
|
public void SetSizeBase(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (MorphVariant dif in difs)
|
foreach (MorphVariant dif in difs)
|
||||||
{
|
{
|
||||||
dif.PositionVector = value;
|
dif.SetSizeBase(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleBase
|
public void SetSizeYCont(double value)
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
{
|
||||||
foreach (MorphVariant dif in difs)
|
foreach (MorphVariant dif in difs)
|
||||||
{
|
{
|
||||||
dif.AngleBase = value;
|
dif.SetSizeYCont(value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double AngleCont
|
public ShapePart GetCurJoinRoot()
|
||||||
{
|
{
|
||||||
set
|
PartGroup current = GetCurrent();
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.AngleCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeXBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeXCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeXCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYBase
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeYBase = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public double SizeYCont
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.SizeYCont = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Dra
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.Dra = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool Hit
|
|
||||||
{
|
|
||||||
set
|
|
||||||
{
|
|
||||||
foreach (MorphVariant dif in difs)
|
|
||||||
{
|
|
||||||
dif.Hit = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
public ShapePart CurJoinRoot
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
PartGroup current = Current;
|
|
||||||
if (pr.ContainsKey(current))
|
if (pr.ContainsKey(current))
|
||||||
{
|
{
|
||||||
return pr[current];
|
return pr[current];
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public IEnumerable<ShapePart> EnumJoinRoot => pr.Values;
|
public IEnumerable<ShapePart> EnumJoinRoot => pr.Values;
|
||||||
@@ -287,11 +174,11 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public void Draw(RenderArea Are)
|
public void Draw(RenderArea Are)
|
||||||
{
|
{
|
||||||
Are.Draw(Current);
|
Are.Draw(GetCurrent());
|
||||||
}
|
}
|
||||||
public void Draw(ManagedArea ManagedArea)
|
public void Draw(ManagedArea ManagedArea)
|
||||||
{
|
{
|
||||||
ManagedArea.Draw(Current);
|
ManagedArea.Draw(GetCurrent());
|
||||||
}
|
}
|
||||||
|
|
||||||
private ShapePart GetJoinRoot(PartGroup ps)
|
private ShapePart GetJoinRoot(PartGroup ps)
|
||||||
@@ -304,16 +191,16 @@ namespace _2DGAMELIB
|
|||||||
ShapePart[] array2 = array;
|
ShapePart[] array2 = array;
|
||||||
foreach (ShapePart p0 in array2)
|
foreach (ShapePart p0 in array2)
|
||||||
{
|
{
|
||||||
Vector2D p = p0.Position;
|
Vector2D p = p0.GetPosition();
|
||||||
if (array.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance))))
|
if (array.All((ShapePart p1) => p0 == p1 || p1.GetJP().All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance))))
|
||||||
{
|
{
|
||||||
return p0;
|
return p0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ShapePart shapePart = array.FirstOrDefault((ShapePart e) => e.JP.Count > 0);
|
ShapePart par = array.FirstOrDefault((ShapePart e) => e.GetJP().Count > 0);
|
||||||
if (shapePart != null)
|
if (par != null)
|
||||||
{
|
{
|
||||||
return shapePart;
|
return par;
|
||||||
}
|
}
|
||||||
return array.First();
|
return array.First();
|
||||||
}
|
}
|
||||||
@@ -335,12 +222,12 @@ namespace _2DGAMELIB
|
|||||||
|
|
||||||
public void JoinP()
|
public void JoinP()
|
||||||
{
|
{
|
||||||
pj[Current].JoinP();
|
pj[GetCurrent()].JoinP();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JoinPA()
|
public void JoinPA()
|
||||||
{
|
{
|
||||||
pj[Current].JoinPA();
|
pj[GetCurrent()].JoinPA();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JoinPAall()
|
public void JoinPAall()
|
||||||
@@ -351,17 +238,9 @@ namespace _2DGAMELIB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void JoinPA(PartGroup ps)
|
|
||||||
{
|
|
||||||
if (pj.ContainsKey(ps))
|
|
||||||
{
|
|
||||||
pj[ps].JoinPA();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public ShapePart GetHitPar_(Color HitColor)
|
public ShapePart GetHitPar_(Color HitColor)
|
||||||
{
|
{
|
||||||
return difs.FirstOrDefault((MorphVariant d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((PartGroup ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((ShapePart e) => e.HitColor == HitColor);
|
return difs.FirstOrDefault((MorphVariant d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((PartGroup ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((ShapePart e) => e.GetHitColor() == HitColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsHit(ref Color HitColor)
|
public bool IsHit(ref Color HitColor)
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
using System;
|
|
||||||
|
|
||||||
|
|
||||||
namespace _2DGAMELIB
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public struct Vector2D_2
|
|
||||||
{
|
|
||||||
public Vector2D v1;
|
|
||||||
|
|
||||||
public Vector2D v2;
|
|
||||||
|
|
||||||
public Vector2D_2(Vector2D v1, Vector2D v2)
|
|
||||||
{
|
|
||||||
this.v1 = v1;
|
|
||||||
this.v2 = v2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using System.Drawing.Drawing2D;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -208,5 +209,97 @@ namespace _2DGAMELIB
|
|||||||
VectorMath.Add(ref result, ref BasePoint, out result);
|
VectorMath.Add(ref result, ref BasePoint, out result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
public static PartGroup ToPars(this object obj)
|
||||||
|
{
|
||||||
|
return (PartGroup)obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ShapePartT ToParT(this object obj)
|
||||||
|
{
|
||||||
|
return (ShapePartT)obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ShapePart ToPar(this object obj)
|
||||||
|
{
|
||||||
|
return (ShapePart)obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Pen Copy(this Pen Pen)
|
||||||
|
{
|
||||||
|
return new Pen(Pen.Color, Pen.Width)
|
||||||
|
{
|
||||||
|
EndCap = Pen.EndCap,
|
||||||
|
StartCap = Pen.StartCap
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Brush Copy(this Brush Brush)
|
||||||
|
{
|
||||||
|
if (Brush is SolidBrush)
|
||||||
|
{
|
||||||
|
return new SolidBrush(((SolidBrush)Brush).Color);
|
||||||
|
}
|
||||||
|
if (Brush is LinearGradientBrush)
|
||||||
|
{
|
||||||
|
LinearGradientBrush linearGradientBrush = (LinearGradientBrush)Brush;
|
||||||
|
LinearGradientBrush linearGradientBrush2 = new LinearGradientBrush(linearGradientBrush.Rectangle, Color.Black, Color.White, 0f);
|
||||||
|
linearGradientBrush2.Blend = linearGradientBrush.Blend;
|
||||||
|
linearGradientBrush2.GammaCorrection = linearGradientBrush.GammaCorrection;
|
||||||
|
linearGradientBrush2.InterpolationColors = linearGradientBrush.InterpolationColors;
|
||||||
|
linearGradientBrush2.LinearColors = new Color[linearGradientBrush.LinearColors.Length];
|
||||||
|
linearGradientBrush.LinearColors.CopyTo(linearGradientBrush2.LinearColors, 0);
|
||||||
|
linearGradientBrush2.Transform = linearGradientBrush.Transform;
|
||||||
|
linearGradientBrush2.WrapMode = linearGradientBrush.WrapMode;
|
||||||
|
return linearGradientBrush2;
|
||||||
|
}
|
||||||
|
if (Brush is PathGradientBrush)
|
||||||
|
{
|
||||||
|
PathGradientBrush pathGradientBrush = (PathGradientBrush)Brush;
|
||||||
|
PathGradientBrush pathGradientBrush2 = new PathGradientBrush(new GraphicsPath());
|
||||||
|
pathGradientBrush2.Blend = pathGradientBrush.Blend;
|
||||||
|
pathGradientBrush2.CenterColor = pathGradientBrush.CenterColor;
|
||||||
|
pathGradientBrush2.CenterPoint = pathGradientBrush.CenterPoint;
|
||||||
|
pathGradientBrush2.FocusScales = pathGradientBrush.FocusScales;
|
||||||
|
pathGradientBrush2.InterpolationColors = pathGradientBrush.InterpolationColors;
|
||||||
|
pathGradientBrush2.SurroundColors = new Color[pathGradientBrush.SurroundColors.Length];
|
||||||
|
pathGradientBrush.SurroundColors.CopyTo(pathGradientBrush2.SurroundColors, 0);
|
||||||
|
pathGradientBrush2.Transform = pathGradientBrush.Transform;
|
||||||
|
pathGradientBrush2.WrapMode = pathGradientBrush.WrapMode;
|
||||||
|
return pathGradientBrush2;
|
||||||
|
}
|
||||||
|
if (Brush is TextureBrush)
|
||||||
|
{
|
||||||
|
TextureBrush textureBrush = (TextureBrush)Brush;
|
||||||
|
return new TextureBrush(textureBrush.Image)
|
||||||
|
{
|
||||||
|
Transform = textureBrush.Transform,
|
||||||
|
WrapMode = textureBrush.WrapMode
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (Brush is HatchBrush)
|
||||||
|
{
|
||||||
|
HatchBrush hatchBrush = (HatchBrush)Brush;
|
||||||
|
return new HatchBrush(hatchBrush.HatchStyle, hatchBrush.ForegroundColor, hatchBrush.BackgroundColor);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Font Copy(this Font Font)
|
||||||
|
{
|
||||||
|
return new Font(Font.FontFamily, Font.Size, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static StringFormat Copy(this StringFormat StringFormat)
|
||||||
|
{
|
||||||
|
return new StringFormat(StringFormat);
|
||||||
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
38
AGENTS.md
38
AGENTS.md
@@ -4,43 +4,45 @@
|
|||||||
|
|
||||||
Decompilation + modding re-architecture of "Slave Matrix" (Auto Eden). Three .NET 8 projects:
|
Decompilation + modding re-architecture of "Slave Matrix" (Auto Eden). Three .NET 8 projects:
|
||||||
- **SlaveMatrix** (`WinExe`) — game entrypoint `SlaveMatrix.Program.Main` at `SlaveMatrix/SlaveMatrix/GameClasses/Program.cs`
|
- **SlaveMatrix** (`WinExe`) — game entrypoint `SlaveMatrix.Program.Main` at `SlaveMatrix/SlaveMatrix/GameClasses/Program.cs`
|
||||||
- **2DGAMELIB** (class library) — legacy rendering engine (GDI+) + core data types (BodyTemplate, ShapePart, etc.)
|
- **2DGAMELIB** (class library) — legacy GDI+ rendering engine + core data types (BodyTemplate, ShapePart, etc.)
|
||||||
- **SlaveMatrix.Extract** (`Exe`) — asset pipeline CLI; depends on SlaveMatrix for embedded resources
|
- **SlaveMatrix.Extract** (`Exe`) — asset pipeline CLI; depends on SlaveMatrix for embedded resources
|
||||||
|
|
||||||
## Build & Run
|
## Build & Run
|
||||||
|
|
||||||
```
|
```
|
||||||
dotnet build Solution.sln # build all
|
dotnet build Solution.sln # build all
|
||||||
./run.sh # launch game (cds to game_folder/, sets DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1)
|
./run.sh # cd game_folder/ + DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 + dotnet run
|
||||||
dotnet run --project SlaveMatrix.Extract -- --output <path> # asset extraction
|
dotnet run --project SlaveMatrix.Extract -- --output <path> # asset extraction
|
||||||
```
|
```
|
||||||
|
|
||||||
The game **must** run with `game_folder/` as working directory. `launchSettings.json` sets this automatically in VS/Rider.
|
Game **must** run with `game_folder/` as working directory. `launchSettings.json` sets `../game_folder` automatically.
|
||||||
|
|
||||||
## Key Quirks
|
## Key Quirks
|
||||||
|
|
||||||
- **C# 9.0** (`LangVersion` hardcoded in `.csproj`). No `ImplicitUsings` in SlaveMatrix/2DGAMELIB.
|
- **C# 9.0** (`LangVersion` in `.csproj`). No `ImplicitUsings` in SlaveMatrix/2DGAMELIB. Extract has `ImplicitUsings=enable` + `Nullable=enable` — it can use modern C#.
|
||||||
- **x64 only**, `AllowUnsafeBlocks=true`, `InvariantGlobalization=true` (needed on Linux).
|
- **x64 only**, `AllowUnsafeBlocks=true`, `InvariantGlobalization=true` (required on Linux).
|
||||||
- **BinaryFormatter** still in use (legacy saves). Requires `EnableUnsafeBinaryFormatterSerialization=true` and `NoWarn=SYSLIB0011`.
|
- **BinaryFormatter** for legacy saves: `EnableUnsafeBinaryFormatterSerialization=true`, `NoWarn=SYSLIB0011`.
|
||||||
- **`System.Drawing.EnableUnixSupport`** must be set at startup (`runtimeconfig.template.json` + `AppContext.SetSwitch` in `Program.cs`).
|
- **`System.Drawing.EnableUnixSupport`** set at startup (`runtimeconfig.template.json` + `AppContext.SetSwitch` in `Program.cs`). `NoWarn=CA1416` suppresses platform-compat warnings across all projects.
|
||||||
- **Newtonsoft.Json** (not `System.Text.Json`) — used in 2DGAMELIB and Extract.
|
- **Newtonsoft.Json** (not `System.Text.Json`) in 2DGAMELIB and Extract.
|
||||||
- **Empty `RootNamespace`** in SlaveMatrix and 2DGAMELIB — types live in global namespace.
|
- **Empty `RootNamespace`** in SlaveMatrix/2DGAMELIB — types live in global namespace.
|
||||||
- **`GenerateAssemblyInfo=false`** — uses legacy `Properties/AssemblyInfo.cs`.
|
- **`GenerateAssemblyInfo=false`** — legacy `Properties/AssemblyInfo.cs`.
|
||||||
|
- **`global.json`** pins SDK 8.0 with `rollForward=latestMajor, allowPrerelease=true`.
|
||||||
- **No test projects**, no CI/CD, no formatter/linter config.
|
- **No test projects**, no CI/CD, no formatter/linter config.
|
||||||
- **843 BodyPartClasses** (`SlaveMatrix/SlaveMatrix/BodyPartClasses/`). **Do not rename** — C# reflection (`Type.GetType`) resolves joint types by class name at runtime.
|
- **843 BodyPartClasses** (`SlaveMatrix/SlaveMatrix/BodyPartClasses/`). **Do not rename** — C# reflection (`Type.GetType`) resolves joint type names at runtime.
|
||||||
|
|
||||||
## Architecture Notes
|
## Architecture
|
||||||
|
|
||||||
- **BodyTemplate** (13 binary `Obj` resources) → `VariantGrid` → `MorphVariant` → `PartGroup` → `ShapePart` tree with cardinal-spline curves and joint points. Deserialized via `BinaryFormatter` + `RemappedTypeBinder` (type remapping for decompiled names).
|
- **BodyTemplate** (13 binary `Obj` resources) → `VariantGrid` → `MorphVariant` → `PartGroup` → `ShapePart` tree (cardinal-spline curves + joint points). Deserialized via `BinaryFormatter` + `RemappedTypeBinder`.
|
||||||
- **Extract pipeline** (`SlaveMatrix.Extract`) loads the 13 embedded resources, applies `MigrateKeys()` (23-entry runtime KeyMap for Japanese→English), then exports:
|
- **Extract pipeline** loads the 13 embedded resources, applies `MigrateKeys()` (20-entry runtime KeyMap for Japanese→English lookups), then exports:
|
||||||
- Intermediate JSON → `extracted/` (gitignored)
|
- Intermediate JSON → `extracted/` (gitignored)
|
||||||
- SVG + YAML per part → `SlaveMatrix/Assets/Parts/` (checked in)
|
- SVG + YAML per part → `SlaveMatrix/Assets/Parts/` (checked in)
|
||||||
- `Catalog.yaml` index → `SlaveMatrix/Assets/`
|
- `Catalog.yaml` → `SlaveMatrix/Assets/`
|
||||||
- **EnglishNameMap** in `SlaveMatrix.Extract/Program.cs` (179 entries) is for extraction output naming only. It is separate from the smaller runtime `MigrateKeys` KeyMap which only covers keys the old game code actually looks up.
|
- **EnglishNameMap** in `SlaveMatrix.Extract/Program.cs` (~176 entries) is for extraction output naming only, separate from the runtime KeyMap.
|
||||||
- **Phase 0 (extraction) is complete.** Phases 1-5 (engine rewrite) are planned in `PLAN.md`.
|
- **game_folder/ content** is copied to build output via `<Content Include="..\game_folder\**\*" CopyToOutputDirectory="PreserveNewest" />`.
|
||||||
|
- **Phase 0 (extraction) is complete.** Phases 1-5 (engine rewrite, Vulkan/Silk.NET) are planned in `PLAN.md`.
|
||||||
|
|
||||||
## Git
|
## Git
|
||||||
|
|
||||||
- `.gitignore` excludes: `**/bin/`, `**/obj/`, `.vs/`, `.idea/`, `Config.ini`, `game_folder/save/*`, `extracted/`.
|
- `.gitignore` excludes: `**/bin/`, `**/obj/`, `.vs/`, `.idea/`, `Config.ini`, `game_folder/save/*`, `extracted/`.
|
||||||
- `SlaveMatrix/Assets/` (auto-generated SVGs + YAML) **is** checked in.
|
- `SlaveMatrix/Assets/` (auto-generated) **is** checked in.
|
||||||
- `game_folder/` runtime assets are checked in (bgm, text, etc.).
|
- `game_folder/` runtime assets are checked in (bgm, text, etc.).
|
||||||
|
|||||||
187
SlaveEngine.AssetBuilder/Compiler.cs
Normal file
187
SlaveEngine.AssetBuilder/Compiler.cs
Normal file
@@ -0,0 +1,187 @@
|
|||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using SlaveEngine.AssetBuilder.Models;
|
||||||
|
using SlaveEngine.Assets;
|
||||||
|
using SlaveEngine.Assets.Models;
|
||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
using Spectre.Console;
|
||||||
|
using YamlDotNet.Serialization;
|
||||||
|
using YamlDotNet.Serialization.NamingConventions;
|
||||||
|
|
||||||
|
namespace SlaveEngine.AssetBuilder;
|
||||||
|
|
||||||
|
public class Compiler {
|
||||||
|
private readonly string _inputDir;
|
||||||
|
private readonly string _outputDir;
|
||||||
|
private readonly IDeserializer _yaml;
|
||||||
|
|
||||||
|
public Compiler(string inputDir, string outputDir) {
|
||||||
|
_inputDir = inputDir;
|
||||||
|
_outputDir = outputDir;
|
||||||
|
|
||||||
|
_yaml = new DeserializerBuilder()
|
||||||
|
.WithNamingConvention(UnderscoredNamingConvention.Instance)
|
||||||
|
.IgnoreUnmatchedProperties()
|
||||||
|
.Build();
|
||||||
|
}
|
||||||
|
|
||||||
|
private T LoadYaml<T>(string path) {
|
||||||
|
var text = File.ReadAllText(path);
|
||||||
|
text = NormalizeFlowArrays(text);
|
||||||
|
return _yaml.Deserialize<T>(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string NormalizeFlowArrays(string yaml) {
|
||||||
|
return Regex.Replace(yaml,
|
||||||
|
@"(position:\s*)\[([\s\S]*?)\]",
|
||||||
|
m => {
|
||||||
|
var prefix = m.Groups[1].Value.TrimEnd();
|
||||||
|
var values = m.Groups[2].Value
|
||||||
|
.Replace('\n', ' ')
|
||||||
|
.Split(',', StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
.Select(v => v.Trim())
|
||||||
|
.Where(v => v.Length > 0)
|
||||||
|
.ToList();
|
||||||
|
if (values.Count == 0) return prefix + " []";
|
||||||
|
return prefix + "\n" +
|
||||||
|
string.Join("\n", values.Select(v => $" - {v}"));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Run() {
|
||||||
|
AnsiConsole.Write(new Rule("[yellow]SlaveEngine Asset Builder[/]") { Justification = Justify.Left });
|
||||||
|
AnsiConsole.MarkupLine(" [bold]Input:[/] {0}", _inputDir);
|
||||||
|
AnsiConsole.MarkupLine(" [bold]Output:[/] {0}", _outputDir);
|
||||||
|
AnsiConsole.WriteLine();
|
||||||
|
|
||||||
|
Directory.CreateDirectory(_outputDir);
|
||||||
|
|
||||||
|
var parts = DiscoverParts();
|
||||||
|
if (parts.Count == 0) {
|
||||||
|
AnsiConsole.MarkupLine("[red]No parts found.[/]");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
var success = 0;
|
||||||
|
|
||||||
|
AnsiConsole.Progress()
|
||||||
|
.Columns(new TaskDescriptionColumn(), new ProgressBarColumn(), new PercentageColumn(), new ElapsedTimeColumn())
|
||||||
|
.Start(ctx => {
|
||||||
|
var task = ctx.AddTask("Compiling parts");
|
||||||
|
task.MaxValue = parts.Count;
|
||||||
|
|
||||||
|
foreach (var (id, partDir) in parts) {
|
||||||
|
var (ok, msg) = CompilePart(partDir);
|
||||||
|
if (ok)
|
||||||
|
AnsiConsole.MarkupLine("[green]{0}[/]", msg);
|
||||||
|
else
|
||||||
|
AnsiConsole.MarkupLine("[red]{0}[/]", msg);
|
||||||
|
if (ok) success++;
|
||||||
|
task.Increment(1);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if (success == parts.Count)
|
||||||
|
AnsiConsole.MarkupLine("[green]Done. {0}/{1} compiled.[/]", success, parts.Count);
|
||||||
|
else if (success > 0)
|
||||||
|
AnsiConsole.MarkupLine("[yellow]Done. {0}/{1} compiled.[/]", success, parts.Count);
|
||||||
|
else
|
||||||
|
AnsiConsole.MarkupLine("[red]Done. {0}/{1} compiled.[/]", success, parts.Count);
|
||||||
|
|
||||||
|
return success == parts.Count ? 0 : 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<(string id, string dir)> DiscoverParts() {
|
||||||
|
var parts = new List<(string id, string dir)>();
|
||||||
|
|
||||||
|
var catalogPath = Path.Combine(_inputDir, "Catalog.yaml");
|
||||||
|
if (File.Exists(catalogPath)) {
|
||||||
|
AnsiConsole.MarkupLine("[dim]Using catalog:[/] {0}", catalogPath);
|
||||||
|
var catalog = LoadYaml<CatalogYaml>(catalogPath);
|
||||||
|
if (catalog?.Parts != null) {
|
||||||
|
foreach (var entry in catalog.Parts) {
|
||||||
|
var partDir = Path.GetFullPath(Path.Combine(_inputDir, entry.Path));
|
||||||
|
if (Directory.Exists(partDir))
|
||||||
|
parts.Add((entry.Id, partDir));
|
||||||
|
else
|
||||||
|
AnsiConsole.MarkupLine("[yellow] Warning:[/] directory not found: {0}", partDir);
|
||||||
|
}
|
||||||
|
return parts;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var scanDir = Path.Combine(_inputDir, "Parts");
|
||||||
|
if (!Directory.Exists(scanDir)) return parts;
|
||||||
|
|
||||||
|
AnsiConsole.MarkupLine("[dim]Scanning:[/] {0}", scanDir);
|
||||||
|
foreach (var dir in Directory.GetDirectories(scanDir)) {
|
||||||
|
var yamlPath = Path.Combine(dir, "part.yaml");
|
||||||
|
if (!File.Exists(yamlPath)) continue;
|
||||||
|
try {
|
||||||
|
var partYaml = LoadYaml<PartYaml>(yamlPath);
|
||||||
|
if (partYaml != null && !string.IsNullOrEmpty(partYaml.Id))
|
||||||
|
parts.Add((partYaml.Id, dir));
|
||||||
|
} catch (Exception ex) {
|
||||||
|
AnsiConsole.MarkupLine("[yellow] Warning:[/] failed to parse {0}: {1}", yamlPath, ex.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return parts;
|
||||||
|
}
|
||||||
|
|
||||||
|
private (bool success, string message) CompilePart(string partDir) {
|
||||||
|
var yamlPath = Path.Combine(partDir, "part.yaml");
|
||||||
|
if (!File.Exists(yamlPath))
|
||||||
|
return (false, $"Skipping (no part.yaml): {partDir}");
|
||||||
|
|
||||||
|
PartYaml partYaml;
|
||||||
|
try {
|
||||||
|
partYaml = LoadYaml<PartYaml>(yamlPath);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
return (false, $"Failed to parse {yamlPath}: {ex.Message}");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (partYaml == null)
|
||||||
|
return (false, $"Empty YAML: {yamlPath}");
|
||||||
|
|
||||||
|
try {
|
||||||
|
var variantList = partYaml.Variants ?? new List<VariantYaml>();
|
||||||
|
var variants = new VariantAsset[variantList.Count];
|
||||||
|
for (var i = 0; i < variantList.Count; i++) {
|
||||||
|
var v = variantList[i];
|
||||||
|
var svgPath = Path.Combine(partDir, v.File);
|
||||||
|
if (!File.Exists(svgPath)) {
|
||||||
|
variants[i] = new VariantAsset { X = v.X, Y = v.Y, Groups = Array.Empty<PathGroup>() };
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
var groups = SvgParser.Parse(svgPath);
|
||||||
|
variants[i] = new VariantAsset { X = v.X, Y = v.Y, Groups = groups };
|
||||||
|
}
|
||||||
|
|
||||||
|
var fieldList = partYaml.Fields ?? new List<FieldYaml>();
|
||||||
|
var jointList = partYaml.Joints ?? new List<JointYaml>();
|
||||||
|
|
||||||
|
var asset = new PartAsset {
|
||||||
|
Guid = Guid.NewGuid(),
|
||||||
|
FileInfo = new AssetFileInfo { Filename = partYaml.Id, FilePath = "" },
|
||||||
|
Id = partYaml.Id,
|
||||||
|
OriginalKey = partYaml.OriginalKey ?? "",
|
||||||
|
Resource = partYaml.Resource ?? "",
|
||||||
|
MorphX = partYaml.MorphX,
|
||||||
|
MorphY = partYaml.MorphY,
|
||||||
|
Fields = fieldList.Select(f => f.Name ?? "").ToArray(),
|
||||||
|
Joints = jointList.Select(j => new Joint {
|
||||||
|
X = j.Position != null && j.Position.Count > 0 ? j.Position[0] : 0,
|
||||||
|
Y = j.Position != null && j.Position.Count > 1 ? j.Position[1] : 0
|
||||||
|
}).ToArray(),
|
||||||
|
Variants = variants
|
||||||
|
};
|
||||||
|
|
||||||
|
var outputPath = Path.Combine(_outputDir, $"{partYaml.Id}.spart");
|
||||||
|
SparWriter.Write(asset, outputPath);
|
||||||
|
|
||||||
|
return (true, $" {partYaml.Id}... OK ({variants.Length} variants)");
|
||||||
|
} catch (Exception ex) {
|
||||||
|
return (false, $" {partYaml.Id}... FAILED: {ex.Message}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
35
SlaveEngine.AssetBuilder/Models/YamlModels.cs
Normal file
35
SlaveEngine.AssetBuilder/Models/YamlModels.cs
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
namespace SlaveEngine.AssetBuilder.Models;
|
||||||
|
|
||||||
|
public class PartYaml {
|
||||||
|
public string Id { get; set; } = "";
|
||||||
|
public string OriginalKey { get; set; } = "";
|
||||||
|
public string Resource { get; set; } = "";
|
||||||
|
public int MorphX { get; set; }
|
||||||
|
public int MorphY { get; set; }
|
||||||
|
public List<VariantYaml>? Variants { get; set; }
|
||||||
|
public List<FieldYaml>? Fields { get; set; }
|
||||||
|
public List<JointYaml>? Joints { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class VariantYaml {
|
||||||
|
public int X { get; set; }
|
||||||
|
public int Y { get; set; }
|
||||||
|
public string File { get; set; } = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public class FieldYaml {
|
||||||
|
public string Name { get; set; } = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
public class JointYaml {
|
||||||
|
public List<float>? Position { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class CatalogYaml {
|
||||||
|
public List<CatalogEntry>? Parts { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class CatalogEntry {
|
||||||
|
public string Id { get; set; } = "";
|
||||||
|
public string Path { get; set; } = "";
|
||||||
|
}
|
||||||
32
SlaveEngine.AssetBuilder/Program.cs
Normal file
32
SlaveEngine.AssetBuilder/Program.cs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
using System.CommandLine;
|
||||||
|
using Spectre.Console;
|
||||||
|
|
||||||
|
namespace SlaveEngine.AssetBuilder;
|
||||||
|
|
||||||
|
class Program {
|
||||||
|
static int Main(string[] args) {
|
||||||
|
var inputOption = new Option<DirectoryInfo>("--input", "Path to the input SlaveMatrix/Assets folder");
|
||||||
|
inputOption.SetDefaultValueFactory(() => new DirectoryInfo("./SlaveMatrix/Assets"));
|
||||||
|
|
||||||
|
var outputOption = new Option<DirectoryInfo>("--output", "Path to the output directory for compiled .spart files");
|
||||||
|
outputOption.SetDefaultValueFactory(() => new DirectoryInfo("./Assets"));
|
||||||
|
|
||||||
|
var rootCommand = new RootCommand(
|
||||||
|
"SlaveEngine Asset Builder — compiles YAML + SVG assets into .spart binaries");
|
||||||
|
rootCommand.AddOption(inputOption);
|
||||||
|
rootCommand.AddOption(outputOption);
|
||||||
|
|
||||||
|
rootCommand.SetHandler((DirectoryInfo input, DirectoryInfo output) => {
|
||||||
|
if (!input.Exists) {
|
||||||
|
AnsiConsole.MarkupLine("[red]Error:[/] input directory not found: {0}", input.FullName);
|
||||||
|
Environment.Exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
var compiler = new Compiler(input.FullName, output.FullName);
|
||||||
|
var result = compiler.Run();
|
||||||
|
Environment.Exit(result);
|
||||||
|
}, inputOption, outputOption);
|
||||||
|
|
||||||
|
return rootCommand.Invoke(args);
|
||||||
|
}
|
||||||
|
}
|
||||||
20
SlaveEngine.AssetBuilder/SlaveEngine.AssetBuilder.csproj
Normal file
20
SlaveEngine.AssetBuilder/SlaveEngine.AssetBuilder.csproj
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SlaveEngine.Assets\SlaveEngine.Assets.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Spectre.Console" Version="0.57.0" />
|
||||||
|
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
||||||
|
<PackageReference Include="YamlDotNet" Version="18.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
73
SlaveEngine.AssetBuilder/SparWriter.cs
Normal file
73
SlaveEngine.AssetBuilder/SparWriter.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Text;
|
||||||
|
using SlaveEngine.Assets;
|
||||||
|
using SlaveEngine.Assets.Models;
|
||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
namespace SlaveEngine.AssetBuilder;
|
||||||
|
|
||||||
|
public static class SparWriter {
|
||||||
|
public static void Write(PartAsset asset, string outputPath) {
|
||||||
|
using var stream = File.Create(outputPath);
|
||||||
|
using var writer = new BinaryWriter(stream);
|
||||||
|
|
||||||
|
writer.Write(Encoding.UTF8.GetBytes("SPRT"));
|
||||||
|
writer.Write(1); // version
|
||||||
|
|
||||||
|
WriteString(writer, asset.Id);
|
||||||
|
WriteString(writer, asset.OriginalKey);
|
||||||
|
WriteString(writer, asset.Resource);
|
||||||
|
writer.Write(asset.MorphX);
|
||||||
|
writer.Write(asset.MorphY);
|
||||||
|
|
||||||
|
writer.Write(asset.Fields.Length);
|
||||||
|
foreach (var f in asset.Fields) WriteString(writer, f);
|
||||||
|
|
||||||
|
writer.Write(asset.Joints.Length);
|
||||||
|
foreach (var j in asset.Joints) {
|
||||||
|
writer.Write(j.X);
|
||||||
|
writer.Write(j.Y);
|
||||||
|
}
|
||||||
|
|
||||||
|
writer.Write(asset.Variants.Length);
|
||||||
|
foreach (var variant in asset.Variants) {
|
||||||
|
writer.Write(variant.X);
|
||||||
|
writer.Write(variant.Y);
|
||||||
|
|
||||||
|
writer.Write(variant.Groups.Length);
|
||||||
|
foreach (var group in variant.Groups) {
|
||||||
|
WriteString(writer, group.Name);
|
||||||
|
writer.Write(group.HasTransform);
|
||||||
|
if (group.HasTransform) {
|
||||||
|
writer.Write(group.Tx);
|
||||||
|
writer.Write(group.Ty);
|
||||||
|
writer.Write(group.Angle);
|
||||||
|
writer.Write(group.Sx);
|
||||||
|
writer.Write(group.Sy);
|
||||||
|
writer.Write(group.Bx);
|
||||||
|
writer.Write(group.By);
|
||||||
|
}
|
||||||
|
|
||||||
|
writer.Write(group.Paths.Length);
|
||||||
|
foreach (var path in group.Paths) {
|
||||||
|
WriteString(writer, path.Fill);
|
||||||
|
WriteString(writer, path.Stroke);
|
||||||
|
writer.Write(path.StrokeWidth);
|
||||||
|
writer.Write(path.IsClosed);
|
||||||
|
|
||||||
|
writer.Write(path.Commands.Length);
|
||||||
|
foreach (var cmd in path.Commands) {
|
||||||
|
writer.Write((byte)cmd.Type);
|
||||||
|
writer.Write(cmd.Args.Length);
|
||||||
|
foreach (var arg in cmd.Args) writer.Write(arg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void WriteString(BinaryWriter writer, string s) {
|
||||||
|
var bytes = Encoding.UTF8.GetBytes(s);
|
||||||
|
writer.Write(bytes.Length);
|
||||||
|
writer.Write(bytes);
|
||||||
|
}
|
||||||
|
}
|
||||||
192
SlaveEngine.AssetBuilder/SvgParser.cs
Normal file
192
SlaveEngine.AssetBuilder/SvgParser.cs
Normal file
@@ -0,0 +1,192 @@
|
|||||||
|
using System.Globalization;
|
||||||
|
using System.Xml.Linq;
|
||||||
|
using SlaveEngine.Assets.Models;
|
||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
namespace SlaveEngine.AssetBuilder;
|
||||||
|
|
||||||
|
public static class SvgParser {
|
||||||
|
private static readonly CultureInfo Inv = CultureInfo.InvariantCulture;
|
||||||
|
|
||||||
|
public static PathGroup[] Parse(string svgPath) {
|
||||||
|
var doc = XDocument.Load(svgPath);
|
||||||
|
var svg = doc.Root;
|
||||||
|
if (svg == null) return Array.Empty<PathGroup>();
|
||||||
|
|
||||||
|
var groups = new List<PathGroup>();
|
||||||
|
CollectGroups(svg, groups, null);
|
||||||
|
return groups.ToArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CollectGroups(XElement parent, List<PathGroup> groups, string? inheritedName) {
|
||||||
|
foreach (var child in parent.Elements()) {
|
||||||
|
var name = child.Name.LocalName;
|
||||||
|
if (name != "g" && name != "path") continue;
|
||||||
|
var id = child.Attribute("id")?.Value ?? inheritedName ?? "";
|
||||||
|
|
||||||
|
if (name == "g") {
|
||||||
|
var transformAttr = child.Attribute("transform")?.Value;
|
||||||
|
|
||||||
|
if (transformAttr != null) {
|
||||||
|
ParseTransform(transformAttr,
|
||||||
|
out var tx, out var ty, out var angle,
|
||||||
|
out var sx, out var sy, out var bx, out var by);
|
||||||
|
|
||||||
|
var paths = CollectPaths(child);
|
||||||
|
groups.Add(new PathGroup {
|
||||||
|
Name = id,
|
||||||
|
HasTransform = true,
|
||||||
|
Tx = tx, Ty = ty, Angle = angle,
|
||||||
|
Sx = sx, Sy = sy, Bx = bx, By = by,
|
||||||
|
Paths = paths
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
CollectGroups(child, groups, id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static PathData[] CollectPaths(XElement parent) {
|
||||||
|
var paths = new List<PathData>();
|
||||||
|
foreach (var elem in parent.Elements()) {
|
||||||
|
var name = elem.Name.LocalName;
|
||||||
|
if (name == "path") {
|
||||||
|
var d = elem.Attribute("d")?.Value ?? "";
|
||||||
|
var (commands, isClosed) = ParsePathData(d);
|
||||||
|
paths.Add(new PathData {
|
||||||
|
Fill = elem.Attribute("fill")?.Value ?? "none",
|
||||||
|
Stroke = elem.Attribute("stroke")?.Value ?? "none",
|
||||||
|
StrokeWidth = float.Parse(
|
||||||
|
elem.Attribute("stroke-width")?.Value ?? "0", Inv),
|
||||||
|
IsClosed = isClosed,
|
||||||
|
Commands = commands
|
||||||
|
});
|
||||||
|
} else if (name == "g") {
|
||||||
|
paths.AddRange(CollectPaths(elem));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return paths.ToArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void ParseTransform(string t,
|
||||||
|
out float tx, out float ty, out float angle,
|
||||||
|
out float sx, out float sy, out float bx, out float by) {
|
||||||
|
tx = ty = angle = 0;
|
||||||
|
sx = sy = 1;
|
||||||
|
bx = by = 0;
|
||||||
|
|
||||||
|
if (string.IsNullOrWhiteSpace(t)) return;
|
||||||
|
|
||||||
|
var parts = t.Split(')', StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
foreach (var part in parts) {
|
||||||
|
var trimmed = part.TrimStart();
|
||||||
|
if (trimmed.StartsWith("translate(")) {
|
||||||
|
var args = trimmed["translate(".Length..].Split(',');
|
||||||
|
if (args.Length >= 2) {
|
||||||
|
tx = float.Parse(args[0].Trim(), Inv);
|
||||||
|
ty = float.Parse(args[1].Trim(), Inv);
|
||||||
|
}
|
||||||
|
} else if (trimmed.StartsWith("rotate(")) {
|
||||||
|
var arg = trimmed["rotate(".Length..].Trim();
|
||||||
|
angle = float.Parse(arg, Inv);
|
||||||
|
} else if (trimmed.StartsWith("scale(")) {
|
||||||
|
var args = trimmed["scale(".Length..].Split(',');
|
||||||
|
if (args.Length >= 2) {
|
||||||
|
sx = float.Parse(args[0].Trim(), Inv);
|
||||||
|
sy = float.Parse(args[1].Trim(), Inv);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static (BezierCommand[] commands, bool isClosed) ParsePathData(string d) {
|
||||||
|
var commands = new List<BezierCommand>();
|
||||||
|
var tokens = Tokenize(d);
|
||||||
|
var i = 0;
|
||||||
|
float cx = 0, cy = 0;
|
||||||
|
|
||||||
|
while (i < tokens.Count) {
|
||||||
|
var cmd = tokens[i][0];
|
||||||
|
i++;
|
||||||
|
|
||||||
|
switch (cmd) {
|
||||||
|
case 'M': case 'm': {
|
||||||
|
var x = float.Parse(tokens[i++], Inv);
|
||||||
|
var y = float.Parse(tokens[i++], Inv);
|
||||||
|
if (cmd == 'm') { x += cx; y += cy; }
|
||||||
|
commands.Add(new BezierCommand { Type = CommandType.MoveTo, Args = new[] { x, y } });
|
||||||
|
cx = x; cy = y;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'L': case 'l': {
|
||||||
|
var x = float.Parse(tokens[i++], Inv);
|
||||||
|
var y = float.Parse(tokens[i++], Inv);
|
||||||
|
if (cmd == 'l') { x += cx; y += cy; }
|
||||||
|
commands.Add(new BezierCommand { Type = CommandType.LineTo, Args = new[] { x, y } });
|
||||||
|
cx = x; cy = y;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'C': case 'c': {
|
||||||
|
var c1x = float.Parse(tokens[i++], Inv);
|
||||||
|
var c1y = float.Parse(tokens[i++], Inv);
|
||||||
|
var c2x = float.Parse(tokens[i++], Inv);
|
||||||
|
var c2y = float.Parse(tokens[i++], Inv);
|
||||||
|
var ex = float.Parse(tokens[i++], Inv);
|
||||||
|
var ey = float.Parse(tokens[i++], Inv);
|
||||||
|
if (cmd == 'c') {
|
||||||
|
c1x += cx; c1y += cy;
|
||||||
|
c2x += cx; c2y += cy;
|
||||||
|
ex += cx; ey += cy;
|
||||||
|
}
|
||||||
|
commands.Add(new BezierCommand {
|
||||||
|
Type = CommandType.CubicBezierTo,
|
||||||
|
Args = new[] { c1x, c1y, c2x, c2y, ex, ey }
|
||||||
|
});
|
||||||
|
cx = ex; cy = ey;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 'Z': case 'z': {
|
||||||
|
commands.Add(new BezierCommand { Type = CommandType.Close, Args = Array.Empty<float>() });
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var closed = commands.Count > 0 && commands[^1].Type == CommandType.Close;
|
||||||
|
return (commands.ToArray(), closed);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static List<string> Tokenize(string d) {
|
||||||
|
var tokens = new List<string>();
|
||||||
|
var i = 0;
|
||||||
|
while (i < d.Length) {
|
||||||
|
var c = d[i];
|
||||||
|
if (char.IsWhiteSpace(c) || c == ',') { i++; continue; }
|
||||||
|
if (char.IsLetter(c)) {
|
||||||
|
var upper = char.ToUpperInvariant(c);
|
||||||
|
if (upper is 'M' or 'L' or 'C' or 'Z') {
|
||||||
|
tokens.Add(c.ToString());
|
||||||
|
i++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (c is '-' or '+' or '.' || char.IsDigit(c)) {
|
||||||
|
var start = i;
|
||||||
|
if (c is '-' or '+') i++;
|
||||||
|
while (i < d.Length && (char.IsDigit(d[i]) || d[i] == '.')) i++;
|
||||||
|
if (i < d.Length && (d[i] is 'e' or 'E')) {
|
||||||
|
i++;
|
||||||
|
if (i < d.Length && (d[i] is '+' or '-')) i++;
|
||||||
|
while (i < d.Length && char.IsDigit(d[i])) i++;
|
||||||
|
}
|
||||||
|
tokens.Add(d[start..i]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
return tokens;
|
||||||
|
}
|
||||||
|
}
|
||||||
6
SlaveEngine.Assets/Asset.cs
Normal file
6
SlaveEngine.Assets/Asset.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace SlaveEngine.Assets;
|
||||||
|
|
||||||
|
public abstract class Asset {
|
||||||
|
public Guid Guid { get; init; }
|
||||||
|
public AssetFileInfo FileInfo { get; init; }
|
||||||
|
}
|
||||||
6
SlaveEngine.Assets/AssetFileInfo.cs
Normal file
6
SlaveEngine.Assets/AssetFileInfo.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace SlaveEngine.Assets;
|
||||||
|
|
||||||
|
public struct AssetFileInfo {
|
||||||
|
public string Filename;
|
||||||
|
public string FilePath;
|
||||||
|
}
|
||||||
5
SlaveEngine.Assets/AssetProcessor.cs
Normal file
5
SlaveEngine.Assets/AssetProcessor.cs
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
namespace SlaveEngine.Assets;
|
||||||
|
|
||||||
|
public abstract class AssetProcessor {
|
||||||
|
public abstract Asset Process(AssetFileInfo fileInfo , byte[] data);
|
||||||
|
}
|
||||||
46
SlaveEngine.Assets/AssetProcessorAttribute.cs
Normal file
46
SlaveEngine.Assets/AssetProcessorAttribute.cs
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
namespace SlaveEngine.Assets;
|
||||||
|
|
||||||
|
public class AssetProcessorAttribute : Attribute {
|
||||||
|
public Type ManagedType { get; init; }
|
||||||
|
public string[] ManagedExtensions { get; init; }
|
||||||
|
|
||||||
|
public AssetProcessorAttribute(Type managedType, string[] managedExtensions)
|
||||||
|
{
|
||||||
|
ManagedType = managedType ?? throw new ArgumentNullException(nameof(managedType));
|
||||||
|
|
||||||
|
// Validate that the provided type is Asset or a subclass of Asset
|
||||||
|
if (!typeof(Asset).IsSubclassOf(managedType))
|
||||||
|
throw new ArgumentException($"The type '{managedType.FullName}' must derive from '{typeof(Asset).FullName}'.", nameof(managedType));
|
||||||
|
|
||||||
|
// Validate extensions: non-null, non-empty, normalized, start with '.', no whitespace, unique
|
||||||
|
if (managedExtensions == null)
|
||||||
|
throw new ArgumentNullException(nameof(managedExtensions));
|
||||||
|
|
||||||
|
if (managedExtensions.Length == 0)
|
||||||
|
throw new ArgumentException("At least one file extension must be provided.", nameof(managedExtensions));
|
||||||
|
|
||||||
|
var normalized = new List<string>(managedExtensions.Length);
|
||||||
|
foreach (var ext in managedExtensions)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(ext))
|
||||||
|
throw new ArgumentException("Extensions must be non-empty strings.", nameof(managedExtensions));
|
||||||
|
|
||||||
|
var e = ext.Trim();
|
||||||
|
|
||||||
|
// allow either "png" or ".png" as input, normalize to lowercase with leading dot
|
||||||
|
if (!e.StartsWith('.'))
|
||||||
|
e = "." + e;
|
||||||
|
|
||||||
|
if (e.Length < 2)
|
||||||
|
throw new ArgumentException($"Invalid extension '{ext}'.", nameof(managedExtensions));
|
||||||
|
|
||||||
|
if (e.Any(char.IsWhiteSpace))
|
||||||
|
throw new ArgumentException($"Extension '{ext}' contains whitespace.", nameof(managedExtensions));
|
||||||
|
|
||||||
|
normalized.Add(e.ToLowerInvariant());
|
||||||
|
}
|
||||||
|
|
||||||
|
// ensure uniqueness
|
||||||
|
ManagedExtensions = normalized.Distinct().ToArray();
|
||||||
|
}
|
||||||
|
}
|
||||||
14
SlaveEngine.Assets/Models/PartAsset.cs
Normal file
14
SlaveEngine.Assets/Models/PartAsset.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
namespace SlaveEngine.Assets.Models;
|
||||||
|
|
||||||
|
public sealed class PartAsset : Asset {
|
||||||
|
public required string Id { get; init; }
|
||||||
|
public required string OriginalKey { get; init; }
|
||||||
|
public required string Resource { get; init; }
|
||||||
|
public int MorphX { get; init; }
|
||||||
|
public int MorphY { get; init; }
|
||||||
|
public required string[] Fields { get; init; }
|
||||||
|
public required Joint[] Joints { get; init; }
|
||||||
|
public required VariantAsset[] Variants { get; init; }
|
||||||
|
}
|
||||||
11
SlaveEngine.Assets/Models/PathData.cs
Normal file
11
SlaveEngine.Assets/Models/PathData.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
namespace SlaveEngine.Assets.Models;
|
||||||
|
|
||||||
|
public sealed class PathData {
|
||||||
|
public required string Fill { get; init; }
|
||||||
|
public required string Stroke { get; init; }
|
||||||
|
public float StrokeWidth { get; init; }
|
||||||
|
public bool IsClosed { get; init; }
|
||||||
|
public required BezierCommand[] Commands { get; init; }
|
||||||
|
}
|
||||||
14
SlaveEngine.Assets/Models/PathGroup.cs
Normal file
14
SlaveEngine.Assets/Models/PathGroup.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
namespace SlaveEngine.Assets.Models;
|
||||||
|
|
||||||
|
public sealed class PathGroup {
|
||||||
|
public required string Name { get; init; }
|
||||||
|
public bool HasTransform { get; init; }
|
||||||
|
public float Tx { get; init; }
|
||||||
|
public float Ty { get; init; }
|
||||||
|
public float Angle { get; init; }
|
||||||
|
public float Sx { get; init; }
|
||||||
|
public float Sy { get; init; }
|
||||||
|
public float Bx { get; init; }
|
||||||
|
public float By { get; init; }
|
||||||
|
public required PathData[] Paths { get; init; }
|
||||||
|
}
|
||||||
7
SlaveEngine.Assets/Models/VariantAsset.cs
Normal file
7
SlaveEngine.Assets/Models/VariantAsset.cs
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
namespace SlaveEngine.Assets.Models;
|
||||||
|
|
||||||
|
public sealed class VariantAsset {
|
||||||
|
public int X { get; init; }
|
||||||
|
public int Y { get; init; }
|
||||||
|
public required PathGroup[] Groups { get; init; }
|
||||||
|
}
|
||||||
6
SlaveEngine.Assets/Primitives/BezierCommand.cs
Normal file
6
SlaveEngine.Assets/Primitives/BezierCommand.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
public readonly struct BezierCommand {
|
||||||
|
public CommandType Type { get; init; }
|
||||||
|
public float[] Args { get; init; }
|
||||||
|
}
|
||||||
8
SlaveEngine.Assets/Primitives/CommandType.cs
Normal file
8
SlaveEngine.Assets/Primitives/CommandType.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
namespace SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
public enum CommandType : byte {
|
||||||
|
MoveTo = 0,
|
||||||
|
LineTo = 1,
|
||||||
|
CubicBezierTo = 2,
|
||||||
|
Close = 3
|
||||||
|
}
|
||||||
6
SlaveEngine.Assets/Primitives/Joint.cs
Normal file
6
SlaveEngine.Assets/Primitives/Joint.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
public readonly struct Joint {
|
||||||
|
public float X { get; init; }
|
||||||
|
public float Y { get; init; }
|
||||||
|
}
|
||||||
120
SlaveEngine.Assets/Processors/PartProcessor.cs
Normal file
120
SlaveEngine.Assets/Processors/PartProcessor.cs
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
using System.Text;
|
||||||
|
using SlaveEngine.Assets.Models;
|
||||||
|
using SlaveEngine.Assets.Primitives;
|
||||||
|
|
||||||
|
namespace SlaveEngine.Assets.Processors;
|
||||||
|
|
||||||
|
[AssetProcessor(typeof(PartAsset), managedExtensions: [".spart"])]
|
||||||
|
public sealed class PartProcessor : AssetProcessor {
|
||||||
|
public override Asset Process(AssetFileInfo fileInfo, byte[] data) {
|
||||||
|
using var stream = new MemoryStream(data);
|
||||||
|
using var reader = new BinaryReader(stream);
|
||||||
|
|
||||||
|
var magic = reader.ReadBytes(4);
|
||||||
|
if (magic[0] != 'S' || magic[1] != 'P' || magic[2] != 'R' || magic[3] != 'T')
|
||||||
|
throw new InvalidDataException("Invalid .spart file magic");
|
||||||
|
|
||||||
|
var version = reader.ReadInt32();
|
||||||
|
if (version != 1)
|
||||||
|
throw new InvalidDataException($"Unsupported .spart version: {version}");
|
||||||
|
|
||||||
|
var id = ReadString(reader);
|
||||||
|
var originalKey = ReadString(reader);
|
||||||
|
var resource = ReadString(reader);
|
||||||
|
var morphX = reader.ReadInt32();
|
||||||
|
var morphY = reader.ReadInt32();
|
||||||
|
|
||||||
|
var fieldCount = reader.ReadInt32();
|
||||||
|
var fields = new string[fieldCount];
|
||||||
|
for (var i = 0; i < fieldCount; i++)
|
||||||
|
fields[i] = ReadString(reader);
|
||||||
|
|
||||||
|
var jointCount = reader.ReadInt32();
|
||||||
|
var joints = new Joint[jointCount];
|
||||||
|
for (var i = 0; i < jointCount; i++)
|
||||||
|
joints[i] = new Joint { X = reader.ReadSingle(), Y = reader.ReadSingle() };
|
||||||
|
|
||||||
|
var variantCount = reader.ReadInt32();
|
||||||
|
var variants = new VariantAsset[variantCount];
|
||||||
|
for (var v = 0; v < variantCount; v++) {
|
||||||
|
var vx = reader.ReadInt32();
|
||||||
|
var vy = reader.ReadInt32();
|
||||||
|
|
||||||
|
var groupCount = reader.ReadInt32();
|
||||||
|
var groups = new PathGroup[groupCount];
|
||||||
|
for (var g = 0; g < groupCount; g++) {
|
||||||
|
var groupName = ReadString(reader);
|
||||||
|
var hasTransform = reader.ReadBoolean();
|
||||||
|
float tx = 0, ty = 0, angle = 0, sx = 1, sy = 1, bx = 0, by = 0;
|
||||||
|
if (hasTransform) {
|
||||||
|
tx = reader.ReadSingle();
|
||||||
|
ty = reader.ReadSingle();
|
||||||
|
angle = reader.ReadSingle();
|
||||||
|
sx = reader.ReadSingle();
|
||||||
|
sy = reader.ReadSingle();
|
||||||
|
bx = reader.ReadSingle();
|
||||||
|
by = reader.ReadSingle();
|
||||||
|
}
|
||||||
|
|
||||||
|
var pathCount = reader.ReadInt32();
|
||||||
|
var paths = new PathData[pathCount];
|
||||||
|
for (var p = 0; p < pathCount; p++) {
|
||||||
|
var fill = ReadString(reader);
|
||||||
|
var stroke = ReadString(reader);
|
||||||
|
var strokeWidth = reader.ReadSingle();
|
||||||
|
var isClosed = reader.ReadBoolean();
|
||||||
|
|
||||||
|
var cmdCount = reader.ReadInt32();
|
||||||
|
var cmds = new BezierCommand[cmdCount];
|
||||||
|
for (var c = 0; c < cmdCount; c++) {
|
||||||
|
var cmdType = (CommandType)reader.ReadByte();
|
||||||
|
var argCount = reader.ReadInt32();
|
||||||
|
var args = new float[argCount];
|
||||||
|
for (var a = 0; a < argCount; a++)
|
||||||
|
args[a] = reader.ReadSingle();
|
||||||
|
cmds[c] = new BezierCommand { Type = cmdType, Args = args };
|
||||||
|
}
|
||||||
|
|
||||||
|
paths[p] = new PathData {
|
||||||
|
Fill = fill,
|
||||||
|
Stroke = stroke,
|
||||||
|
StrokeWidth = strokeWidth,
|
||||||
|
IsClosed = isClosed,
|
||||||
|
Commands = cmds
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
groups[g] = new PathGroup {
|
||||||
|
Name = groupName,
|
||||||
|
HasTransform = hasTransform,
|
||||||
|
Tx = tx, Ty = ty, Angle = angle,
|
||||||
|
Sx = sx, Sy = sy, Bx = bx, By = by,
|
||||||
|
Paths = paths
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
variants[v] = new VariantAsset {
|
||||||
|
X = vx, Y = vy, Groups = groups
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return new PartAsset {
|
||||||
|
Guid = Guid.NewGuid(),
|
||||||
|
FileInfo = fileInfo,
|
||||||
|
Id = id,
|
||||||
|
OriginalKey = originalKey,
|
||||||
|
Resource = resource,
|
||||||
|
MorphX = morphX,
|
||||||
|
MorphY = morphY,
|
||||||
|
Fields = fields,
|
||||||
|
Joints = joints,
|
||||||
|
Variants = variants
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string ReadString(BinaryReader reader) {
|
||||||
|
var len = reader.ReadInt32();
|
||||||
|
var bytes = reader.ReadBytes(len);
|
||||||
|
return Encoding.UTF8.GetString(bytes);
|
||||||
|
}
|
||||||
|
}
|
||||||
78
SlaveEngine.Assets/ResourceManager.cs
Normal file
78
SlaveEngine.Assets/ResourceManager.cs
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SlaveEngine.Assets;
|
||||||
|
|
||||||
|
public sealed class ResourceManager {
|
||||||
|
|
||||||
|
public ResourceManager(string basePath) {
|
||||||
|
if (!Path.Exists(basePath))
|
||||||
|
throw new DirectoryNotFoundException($"The base path '{basePath}' does not exist.");
|
||||||
|
BasePath = basePath;
|
||||||
|
Instance = this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ResourceManager? Instance { get; private set; }
|
||||||
|
public string BasePath { get; private set; }
|
||||||
|
|
||||||
|
private readonly List<AssetProcessor> _assetProcessors = new();
|
||||||
|
private readonly Dictionary<string, string> _assetIndex = new();
|
||||||
|
private readonly Dictionary<string, Asset> _assetCache = new();
|
||||||
|
|
||||||
|
public void Initialize() {
|
||||||
|
ScanDirectory(BasePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ScanDirectory(string directory) {
|
||||||
|
foreach (var file in Directory.GetFiles(directory, "*.spart")) {
|
||||||
|
try {
|
||||||
|
var id = ReadAssetIdFromSpart(file);
|
||||||
|
_assetIndex[id] = file;
|
||||||
|
} catch {
|
||||||
|
// skip corrupt files
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public T? GetAsset<T>(string id) where T : Asset {
|
||||||
|
if (_assetCache.TryGetValue(id, out var cached))
|
||||||
|
return (T)cached;
|
||||||
|
|
||||||
|
if (!_assetIndex.TryGetValue(id, out var path))
|
||||||
|
return null;
|
||||||
|
|
||||||
|
var ext = Path.GetExtension(path);
|
||||||
|
var processor = GetProcessorForExtension(ext);
|
||||||
|
if (processor == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
|
var fileInfo = new AssetFileInfo {
|
||||||
|
Filename = Path.GetFileNameWithoutExtension(path),
|
||||||
|
FilePath = path
|
||||||
|
};
|
||||||
|
|
||||||
|
var asset = processor.Process(fileInfo, File.ReadAllBytes(path));
|
||||||
|
_assetCache[id] = asset;
|
||||||
|
return (T)asset;
|
||||||
|
}
|
||||||
|
|
||||||
|
public IReadOnlyCollection<string> GetAssetIds() => _assetIndex.Keys;
|
||||||
|
|
||||||
|
public void RegisterProcessor(AssetProcessor processor) {
|
||||||
|
if (_assetProcessors.All(p => p.GetType() != processor.GetType()))
|
||||||
|
_assetProcessors.Add(processor);
|
||||||
|
}
|
||||||
|
|
||||||
|
private AssetProcessor? GetProcessorForExtension(string extension) =>
|
||||||
|
_assetProcessors.FirstOrDefault(p => p.GetType()
|
||||||
|
.GetCustomAttribute<AssetProcessorAttribute>()?.ManagedExtensions
|
||||||
|
.Contains(extension) == true);
|
||||||
|
|
||||||
|
private static string ReadAssetIdFromSpart(string path) {
|
||||||
|
using var stream = File.OpenRead(path);
|
||||||
|
using var reader = new BinaryReader(stream);
|
||||||
|
reader.ReadBytes(8);
|
||||||
|
var len = reader.ReadInt32();
|
||||||
|
return Encoding.UTF8.GetString(reader.ReadBytes(len));
|
||||||
|
}
|
||||||
|
}
|
||||||
13
SlaveEngine.Assets/SlaveEngine.Assets.csproj
Normal file
13
SlaveEngine.Assets/SlaveEngine.Assets.csproj
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="YamlDotNet" Version="18.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -277,15 +277,15 @@ class Program
|
|||||||
["id"] = engKey,
|
["id"] = engKey,
|
||||||
["original_key"] = originalKey,
|
["original_key"] = originalKey,
|
||||||
["resource"] = name,
|
["resource"] = name,
|
||||||
["morph_x"] = difs.CountX,
|
["morph_x"] = difs.GetCountX(),
|
||||||
["morph_y"] = difs.CountY,
|
["morph_y"] = difs.GetCountY(),
|
||||||
["variants"] = new JArray(),
|
["variants"] = new JArray(),
|
||||||
["fields"] = new JArray()
|
["fields"] = new JArray()
|
||||||
};
|
};
|
||||||
|
|
||||||
var variants = (JArray)partEntry["variants"];
|
var variants = (JArray)partEntry["variants"];
|
||||||
|
|
||||||
for (int x = 0; x < difs.CountX; x++)
|
for (int x = 0; x < difs.GetCountX(); x++)
|
||||||
{
|
{
|
||||||
var dif = difs[x];
|
var dif = difs[x];
|
||||||
for (int y = 0; y < dif.Count; y++)
|
for (int y = 0; y < dif.Count; y++)
|
||||||
@@ -305,7 +305,7 @@ class Program
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (string childKey in difs[0][0].Keys)
|
foreach (string childKey in difs[0][0].pars.Keys)
|
||||||
{
|
{
|
||||||
((JArray)partEntry["fields"]).Add(new JObject { ["name"] = childKey });
|
((JArray)partEntry["fields"]).Add(new JObject { ["name"] = childKey });
|
||||||
}
|
}
|
||||||
@@ -432,7 +432,7 @@ class Program
|
|||||||
|
|
||||||
static void ExportParsToSvgInner(PartGroup PartGroup, StringBuilder sb, List<string> foundJoints)
|
static void ExportParsToSvgInner(PartGroup PartGroup, StringBuilder sb, List<string> foundJoints)
|
||||||
{
|
{
|
||||||
foreach (string key in PartGroup.Keys)
|
foreach (string key in PartGroup.pars.Keys)
|
||||||
{
|
{
|
||||||
var val = PartGroup[key];
|
var val = PartGroup[key];
|
||||||
if (val is PartGroup childPars)
|
if (val is PartGroup childPars)
|
||||||
@@ -452,13 +452,13 @@ class Program
|
|||||||
{
|
{
|
||||||
if (!ShapePart.Dra) return;
|
if (!ShapePart.Dra) return;
|
||||||
|
|
||||||
var bx = ShapePart.BasePoint.X;
|
var bx = ShapePart.GetBasePoint().X;
|
||||||
var by = ShapePart.BasePoint.Y;
|
var by = ShapePart.GetBasePoint().Y;
|
||||||
var px = ShapePart.Position.X;
|
var px = ShapePart.GetPosition().X;
|
||||||
var py = ShapePart.Position.Y;
|
var py = ShapePart.GetPosition().Y;
|
||||||
var angle = ShapePart.Angle;
|
var angle = ShapePart.GetAngle();
|
||||||
var sx = ShapePart.Size * ShapePart.SizeX;
|
var sx = ShapePart.GetSize() * ShapePart.GetSizeX();
|
||||||
var sy = ShapePart.Size * ShapePart.SizeY;
|
var sy = ShapePart.GetSize() * ShapePart.GetSizeY();
|
||||||
|
|
||||||
var hasTransform = System.Math.Abs(bx) > 0.001 || System.Math.Abs(by) > 0.001
|
var hasTransform = System.Math.Abs(bx) > 0.001 || System.Math.Abs(by) > 0.001
|
||||||
|| System.Math.Abs(px) > 0.001 || System.Math.Abs(py) > 0.001
|
|| System.Math.Abs(px) > 0.001 || System.Math.Abs(py) > 0.001
|
||||||
@@ -467,22 +467,22 @@ class Program
|
|||||||
if (hasTransform)
|
if (hasTransform)
|
||||||
sb.Append($"<g transform=\"translate({F(px)},{F(py)}) rotate({F(angle)}) scale({F(sx)},{F(sy)}) translate({F(-bx)},{F(-by)})\">");
|
sb.Append($"<g transform=\"translate({F(px)},{F(py)}) rotate({F(angle)}) scale({F(sx)},{F(sy)}) translate({F(-bx)},{F(-by)})\">");
|
||||||
|
|
||||||
foreach (var outObj in ShapePart.OP)
|
foreach (var outObj in ShapePart.GetOP())
|
||||||
{
|
{
|
||||||
var points = outObj.ps;
|
var points = outObj.ps;
|
||||||
if (points.Count < 2) continue;
|
if (points.Count < 2) continue;
|
||||||
|
|
||||||
var d = BuildSvgPath(points, outObj.Tension, ShapePart.Closed);
|
var d = BuildSvgPath(points, outObj.Tension, ShapePart.IsClosed);
|
||||||
var fill = ShapePart.Closed ? "#cccccc" : "none";
|
var fill = ShapePart.IsClosed ? "#cccccc" : "none";
|
||||||
var stroke = outObj.Outline ? "#000000" : "none";
|
var stroke = outObj.Outline ? "#000000" : "none";
|
||||||
var sw_val = outObj.Outline ? System.Math.Max(ShapePart.PenWidth, 0.001) : 0.0;
|
var sw_val = outObj.Outline ? System.Math.Max(ShapePart.GetPenWidth(), 0.001) : 0.0;
|
||||||
sb.AppendLine($"<path d=\"{d}\" fill=\"{fill}\" stroke=\"{stroke}\" stroke-width=\"{F(sw_val)}\"/>");
|
sb.AppendLine($"<path d=\"{d}\" fill=\"{fill}\" stroke=\"{stroke}\" stroke-width=\"{F(sw_val)}\"/>");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasTransform)
|
if (hasTransform)
|
||||||
sb.Append("</g>");
|
sb.Append("</g>");
|
||||||
|
|
||||||
foreach (var joi in ShapePart.JP)
|
foreach (var joi in ShapePart.GetJP())
|
||||||
{
|
{
|
||||||
foundJoints.Add($"{F(joi.Joint.X)},{F(joi.Joint.Y)}");
|
foundJoints.Add($"{F(joi.Joint.X)},{F(joi.Joint.Y)}");
|
||||||
}
|
}
|
||||||
@@ -579,15 +579,15 @@ class Program
|
|||||||
|
|
||||||
static JObject ExportDifs(VariantGrid VariantGrid)
|
static JObject ExportDifs(VariantGrid VariantGrid)
|
||||||
{
|
{
|
||||||
int xCount = VariantGrid.CountX;
|
int xCount = VariantGrid.GetCountX();
|
||||||
int yCount = VariantGrid.CountY;
|
int yCount = VariantGrid.GetCountY();
|
||||||
|
|
||||||
var result = new JObject
|
var result = new JObject
|
||||||
{
|
{
|
||||||
["Tag"] = VariantGrid.Tag ?? "",
|
["Tag"] = VariantGrid.Tag ?? "",
|
||||||
["ValueX"] = VariantGrid.ValueX,
|
["ValueX"] = VariantGrid.ValueX,
|
||||||
["ValueY"] = VariantGrid.ValueY,
|
["ValueY"] = VariantGrid.ValueY,
|
||||||
["CountX"] = xCount,
|
["GetCountX()"] = xCount,
|
||||||
["CountY"] = yCount,
|
["CountY"] = yCount,
|
||||||
["VariantGrid"] = new JArray()
|
["VariantGrid"] = new JArray()
|
||||||
};
|
};
|
||||||
@@ -616,7 +616,7 @@ class Program
|
|||||||
["Children"] = new JObject()
|
["Children"] = new JObject()
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (string key in PartGroup.Keys)
|
foreach (string key in PartGroup.pars.Keys)
|
||||||
{
|
{
|
||||||
var val = PartGroup[key];
|
var val = PartGroup[key];
|
||||||
if (val is PartGroup childPars)
|
if (val is PartGroup childPars)
|
||||||
@@ -638,18 +638,18 @@ class Program
|
|||||||
{
|
{
|
||||||
["Tag"] = ShapePart.Tag ?? "",
|
["Tag"] = ShapePart.Tag ?? "",
|
||||||
["Dra"] = ShapePart.Dra,
|
["Dra"] = ShapePart.Dra,
|
||||||
["PenWidth"] = ShapePart.PenWidth,
|
["PenWidth"] = ShapePart.GetPenWidth(),
|
||||||
["Closed"] = ShapePart.Closed,
|
["Closed"] = ShapePart.IsClosed,
|
||||||
["BasePoint"] = ExportVec(ShapePart.BasePoint),
|
["BasePoint"] = ExportVec(ShapePart.GetBasePoint()),
|
||||||
["Position"] = ExportVec(ShapePart.Position),
|
["Position"] = ExportVec(ShapePart.GetPosition()),
|
||||||
["Angle"] = ShapePart.Angle,
|
["Angle"] = ShapePart.GetAngle(),
|
||||||
["Size"] = ShapePart.Size,
|
["Size"] = ShapePart.GetSize(),
|
||||||
["SizeX"] = ShapePart.SizeX,
|
["SizeX"] = ShapePart.GetSizeX(),
|
||||||
["SizeY"] = ShapePart.SizeY,
|
["SizeY"] = ShapePart.GetSizeY(),
|
||||||
["CurveOutline"] = new JArray()
|
["CurveOutline"] = new JArray()
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var outObj in ShapePart.OP)
|
foreach (var outObj in ShapePart.GetOP())
|
||||||
{
|
{
|
||||||
var outJ = new JObject
|
var outJ = new JObject
|
||||||
{
|
{
|
||||||
@@ -662,10 +662,10 @@ class Program
|
|||||||
((JArray)result["CurveOutline"]).Add(outJ);
|
((JArray)result["CurveOutline"]).Add(outJ);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ShapePart.JP.Count > 0)
|
if (ShapePart.GetJP().Count > 0)
|
||||||
{
|
{
|
||||||
result["Joints"] = new JArray();
|
result["Joints"] = new JArray();
|
||||||
foreach (var joi in ShapePart.JP)
|
foreach (var joi in ShapePart.GetJP())
|
||||||
((JArray)result["Joints"]).Add(ExportVec(joi.Joint));
|
((JArray)result["Joints"]).Add(ExportVec(joi.Joint));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -676,7 +676,7 @@ class Program
|
|||||||
{
|
{
|
||||||
var result = ExportPar(ShapePartT);
|
var result = ExportPar(ShapePartT);
|
||||||
result["Text"] = ShapePartT.Text ?? "";
|
result["Text"] = ShapePartT.Text ?? "";
|
||||||
result["FontSize"] = ShapePartT.FontSize;
|
result["FontSize"] = ShapePartT.GetFontSize();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
public class BackHair0 : Element
|
public class BackHair0 : Element
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,17 +328,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_髪中.SizeYBase *= num;
|
X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num);
|
||||||
X0Y0_髪左1.SizeYBase *= num;
|
X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_髪左2.SizeYBase *= num;
|
X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_髪左3.SizeYBase *= num;
|
X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_髪左4.SizeYBase *= num;
|
X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num);
|
||||||
X0Y0_髪左5.SizeYBase *= num;
|
X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num);
|
||||||
X0Y0_髪右1.SizeYBase *= num;
|
X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_髪右2.SizeYBase *= num;
|
X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_髪右3.SizeYBase *= num;
|
X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num);
|
||||||
X0Y0_髪右4.SizeYBase *= num;
|
X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num);
|
||||||
X0Y0_髪右5.SizeYBase *= num;
|
X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,17 +347,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_髪中.SizeXBase *= num;
|
X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num);
|
||||||
X0Y0_髪左1.SizeXBase *= num;
|
X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_髪左2.SizeXBase *= num;
|
X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_髪左3.SizeXBase *= num;
|
X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_髪左4.SizeXBase *= num;
|
X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num);
|
||||||
X0Y0_髪左5.SizeXBase *= num;
|
X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num);
|
||||||
X0Y0_髪右1.SizeXBase *= num;
|
X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_髪右2.SizeXBase *= num;
|
X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_髪右3.SizeXBase *= num;
|
X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num);
|
||||||
X0Y0_髪右4.SizeXBase *= num;
|
X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num);
|
||||||
X0Y0_髪右5.SizeXBase *= num;
|
X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,16 +365,16 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_髪左1.AngleBase = 1.0 * value;
|
X0Y0_髪左1.SetAngleBase(1.0 * value);
|
||||||
X0Y0_髪左2.AngleBase = 2.0 * value;
|
X0Y0_髪左2.SetAngleBase(2.0 * value);
|
||||||
X0Y0_髪左3.AngleBase = 3.0 * value;
|
X0Y0_髪左3.SetAngleBase(3.0 * value);
|
||||||
X0Y0_髪左4.AngleBase = 4.0 * value;
|
X0Y0_髪左4.SetAngleBase(4.0 * value);
|
||||||
X0Y0_髪左5.AngleBase = 5.0 * value;
|
X0Y0_髪左5.SetAngleBase(5.0 * value);
|
||||||
X0Y0_髪右1.AngleBase = -1.0 * value;
|
X0Y0_髪右1.SetAngleBase(-1.0 * value);
|
||||||
X0Y0_髪右2.AngleBase = -2.0 * value;
|
X0Y0_髪右2.SetAngleBase(-2.0 * value);
|
||||||
X0Y0_髪右3.AngleBase = -3.0 * value;
|
X0Y0_髪右3.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_髪右4.AngleBase = -4.0 * value;
|
X0Y0_髪右4.SetAngleBase(-4.0 * value);
|
||||||
X0Y0_髪右5.AngleBase = -5.0 * value;
|
X0Y0_髪右5.SetAngleBase(-5.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -476,150 +476,150 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 13 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 13 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 1 : 12].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 11 : 2].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 11 : 2].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 10 : 3].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 10 : 3].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 9 : 4].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 9 : 4].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 8 : 5].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 8 : 5].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 7 : 6].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 7 : 6].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 6 : 7].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 6 : 7].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 5 : 8].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 5 : 8].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 4 : 9].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 4 : 9].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 3 : 10].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 3 : 10].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 2 : 11].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 2 : 11].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 1 : 12].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 1 : 12].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 13 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 13 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void 色更新()
|
public override void 色更新()
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,17 +328,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.4 + 0.91 * value;
|
double num = 0.4 + 0.91 * value;
|
||||||
X0Y0_髪中.SizeYBase *= num;
|
X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num);
|
||||||
X0Y0_髪左1.SizeYBase *= num;
|
X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_髪左2.SizeYBase *= num;
|
X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_髪左3.SizeYBase *= num;
|
X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_髪左4.SizeYBase *= num;
|
X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num);
|
||||||
X0Y0_髪左5.SizeYBase *= num;
|
X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num);
|
||||||
X0Y0_髪右1.SizeYBase *= num;
|
X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_髪右2.SizeYBase *= num;
|
X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_髪右3.SizeYBase *= num;
|
X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num);
|
||||||
X0Y0_髪右4.SizeYBase *= num;
|
X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num);
|
||||||
X0Y0_髪右5.SizeYBase *= num;
|
X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,17 +347,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_髪中.SizeXBase *= num;
|
X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num);
|
||||||
X0Y0_髪左1.SizeXBase *= num;
|
X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_髪左2.SizeXBase *= num;
|
X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_髪左3.SizeXBase *= num;
|
X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_髪左4.SizeXBase *= num;
|
X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num);
|
||||||
X0Y0_髪左5.SizeXBase *= num;
|
X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num);
|
||||||
X0Y0_髪右1.SizeXBase *= num;
|
X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_髪右2.SizeXBase *= num;
|
X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_髪右3.SizeXBase *= num;
|
X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num);
|
||||||
X0Y0_髪右4.SizeXBase *= num;
|
X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num);
|
||||||
X0Y0_髪右5.SizeXBase *= num;
|
X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,16 +365,16 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_髪左1.AngleBase = 1.5 * value;
|
X0Y0_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_髪左2.AngleBase = 3.0 * value;
|
X0Y0_髪左2.SetAngleBase(3.0 * value);
|
||||||
X0Y0_髪左3.AngleBase = 4.5 * value;
|
X0Y0_髪左3.SetAngleBase(4.5 * value);
|
||||||
X0Y0_髪左4.AngleBase = 6.0 * value;
|
X0Y0_髪左4.SetAngleBase(6.0 * value);
|
||||||
X0Y0_髪左5.AngleBase = 7.5 * value;
|
X0Y0_髪左5.SetAngleBase(7.5 * value);
|
||||||
X0Y0_髪右1.AngleBase = -1.5 * value;
|
X0Y0_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_髪右2.AngleBase = -3.0 * value;
|
X0Y0_髪右2.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_髪右3.AngleBase = -4.5 * value;
|
X0Y0_髪右3.SetAngleBase(-4.5 * value);
|
||||||
X0Y0_髪右4.AngleBase = -6.0 * value;
|
X0Y0_髪右4.SetAngleBase(-6.0 * value);
|
||||||
X0Y0_髪右5.AngleBase = -7.5 * value;
|
X0Y0_髪右5.SetAngleBase(-7.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -476,52 +476,52 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void 色更新()
|
public override void 色更新()
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,17 +328,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.4 + 0.91 * value;
|
double num = 0.4 + 0.91 * value;
|
||||||
X0Y0_髪中.SizeYBase *= num;
|
X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num);
|
||||||
X0Y0_髪左1.SizeYBase *= num;
|
X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_髪左2.SizeYBase *= num;
|
X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_髪左3.SizeYBase *= num;
|
X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_髪左4.SizeYBase *= num;
|
X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num);
|
||||||
X0Y0_髪左5.SizeYBase *= num;
|
X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num);
|
||||||
X0Y0_髪右1.SizeYBase *= num;
|
X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_髪右2.SizeYBase *= num;
|
X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_髪右3.SizeYBase *= num;
|
X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num);
|
||||||
X0Y0_髪右4.SizeYBase *= num;
|
X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num);
|
||||||
X0Y0_髪右5.SizeYBase *= num;
|
X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,17 +347,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_髪中.SizeXBase *= num;
|
X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num);
|
||||||
X0Y0_髪左1.SizeXBase *= num;
|
X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_髪左2.SizeXBase *= num;
|
X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_髪左3.SizeXBase *= num;
|
X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_髪左4.SizeXBase *= num;
|
X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num);
|
||||||
X0Y0_髪左5.SizeXBase *= num;
|
X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num);
|
||||||
X0Y0_髪右1.SizeXBase *= num;
|
X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_髪右2.SizeXBase *= num;
|
X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_髪右3.SizeXBase *= num;
|
X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num);
|
||||||
X0Y0_髪右4.SizeXBase *= num;
|
X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num);
|
||||||
X0Y0_髪右5.SizeXBase *= num;
|
X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,16 +365,16 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_髪左1.AngleBase = 1.5 * value;
|
X0Y0_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_髪左2.AngleBase = 3.0 * value;
|
X0Y0_髪左2.SetAngleBase(3.0 * value);
|
||||||
X0Y0_髪左3.AngleBase = 4.5 * value;
|
X0Y0_髪左3.SetAngleBase(4.5 * value);
|
||||||
X0Y0_髪左4.AngleBase = 6.0 * value;
|
X0Y0_髪左4.SetAngleBase(6.0 * value);
|
||||||
X0Y0_髪左5.AngleBase = 7.5 * value;
|
X0Y0_髪左5.SetAngleBase(7.5 * value);
|
||||||
X0Y0_髪右1.AngleBase = -1.5 * value;
|
X0Y0_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_髪右2.AngleBase = -3.0 * value;
|
X0Y0_髪右2.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_髪右3.AngleBase = -4.5 * value;
|
X0Y0_髪右3.SetAngleBase(-4.5 * value);
|
||||||
X0Y0_髪右4.AngleBase = -6.0 * value;
|
X0Y0_髪右4.SetAngleBase(-6.0 * value);
|
||||||
X0Y0_髪右5.AngleBase = -7.5 * value;
|
X0Y0_髪右5.SetAngleBase(-7.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -476,52 +476,52 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void 色更新()
|
public override void 色更新()
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,17 +328,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.4 + 0.91 * value;
|
double num = 0.4 + 0.91 * value;
|
||||||
X0Y0_髪中.SizeYBase *= num;
|
X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num);
|
||||||
X0Y0_髪左1.SizeYBase *= num;
|
X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_髪左2.SizeYBase *= num;
|
X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_髪左3.SizeYBase *= num;
|
X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_髪左4.SizeYBase *= num;
|
X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num);
|
||||||
X0Y0_髪左5.SizeYBase *= num;
|
X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num);
|
||||||
X0Y0_髪右1.SizeYBase *= num;
|
X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_髪右2.SizeYBase *= num;
|
X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_髪右3.SizeYBase *= num;
|
X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num);
|
||||||
X0Y0_髪右4.SizeYBase *= num;
|
X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num);
|
||||||
X0Y0_髪右5.SizeYBase *= num;
|
X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,17 +347,17 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_髪中.SizeXBase *= num;
|
X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num);
|
||||||
X0Y0_髪左1.SizeXBase *= num;
|
X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_髪左2.SizeXBase *= num;
|
X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_髪左3.SizeXBase *= num;
|
X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_髪左4.SizeXBase *= num;
|
X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num);
|
||||||
X0Y0_髪左5.SizeXBase *= num;
|
X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num);
|
||||||
X0Y0_髪右1.SizeXBase *= num;
|
X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_髪右2.SizeXBase *= num;
|
X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_髪右3.SizeXBase *= num;
|
X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num);
|
||||||
X0Y0_髪右4.SizeXBase *= num;
|
X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num);
|
||||||
X0Y0_髪右5.SizeXBase *= num;
|
X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -365,16 +365,16 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_髪左1.AngleBase = 1.5 * value;
|
X0Y0_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_髪左2.AngleBase = 3.0 * value;
|
X0Y0_髪左2.SetAngleBase(3.0 * value);
|
||||||
X0Y0_髪左3.AngleBase = 4.5 * value;
|
X0Y0_髪左3.SetAngleBase(4.5 * value);
|
||||||
X0Y0_髪左4.AngleBase = 6.0 * value;
|
X0Y0_髪左4.SetAngleBase(6.0 * value);
|
||||||
X0Y0_髪左5.AngleBase = 7.5 * value;
|
X0Y0_髪左5.SetAngleBase(7.5 * value);
|
||||||
X0Y0_髪右1.AngleBase = -1.5 * value;
|
X0Y0_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_髪右2.AngleBase = -3.0 * value;
|
X0Y0_髪右2.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_髪右3.AngleBase = -4.5 * value;
|
X0Y0_髪右3.SetAngleBase(-4.5 * value);
|
||||||
X0Y0_髪右4.AngleBase = -6.0 * value;
|
X0Y0_髪右4.SetAngleBase(-6.0 * value);
|
||||||
X0Y0_髪右5.AngleBase = -7.5 * value;
|
X0Y0_髪右5.SetAngleBase(-7.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -476,41 +476,41 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪中.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪中.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪中.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪中.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左1.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪左1.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪左1.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪左1.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左2.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪左2.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪左2.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪左2.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左3.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪左3.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪左3.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪左3.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左4.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪左4.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪左4.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪左4.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪左5.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪左5.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪左5.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪左5.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右1.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪右1.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪右1.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪右1.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右2.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪右2.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪右2.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪右2.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右3.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪右3.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪右3.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪右3.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右4.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪右4.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪右4.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪右4.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_髪右5.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_髪右5.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_髪右5.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_髪右5.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void 色更新()
|
public override void 色更新()
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,12 +265,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪節.SizeYBase *= num;
|
X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -279,14 +279,14 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪節.SizeXBase *= num;
|
X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,10 +294,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -386,85 +386,85 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ_髪節.AngleBase = num * 30.0;
|
X0Y0_お下げ_髪節.SetAngleBase(num * 30.0);
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * -25.0;
|
X0Y0_お下げ_髪根.SetAngleBase(num * -25.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,12 +265,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪節.SizeYBase *= num;
|
X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -279,14 +279,14 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪節.SizeXBase *= num;
|
X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,10 +294,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -386,45 +386,45 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ_髪節.AngleBase = num * 30.0;
|
X0Y0_お下げ_髪節.SetAngleBase(num * 30.0);
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * -25.0;
|
X0Y0_お下げ_髪根.SetAngleBase(num * -25.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,12 +265,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪節.SizeYBase *= num;
|
X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -279,14 +279,14 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪節.SizeXBase *= num;
|
X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,10 +294,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -386,45 +386,45 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ_髪節.AngleBase = num * 30.0;
|
X0Y0_お下げ_髪節.SetAngleBase(num * 30.0);
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * -25.0;
|
X0Y0_お下げ_髪根.SetAngleBase(num * -25.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -265,12 +265,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪節.SizeYBase *= num;
|
X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -279,14 +279,14 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪節.SizeXBase *= num;
|
X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,10 +294,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -386,40 +386,40 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ_髪節.AngleBase = num * 30.0;
|
X0Y0_お下げ_髪節.SetAngleBase(num * 30.0);
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * -25.0;
|
X0Y0_お下げ_髪根.SetAngleBase(num * -25.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false;
|
||||||
X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false;
|
X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右2.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,12 +307,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左.SizeYBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeYBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeYBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeYBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -321,16 +321,16 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左.SizeXBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeXBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeXBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeXBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,10 +338,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -437,97 +437,97 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * 10.0;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0);
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * -10.0;
|
X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 12 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 10 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 10 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 9 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 9 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 8 : 4].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 8 : 4].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 7 : 5].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 7 : 5].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 6 : 6].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 6 : 6].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 5 : 7].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 5 : 7].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 8].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 8].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 3 : 9].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 9].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 10].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 10].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 11].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 11].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 12 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 12 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,12 +307,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左.SizeYBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeYBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeYBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeYBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -321,16 +321,16 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左.SizeXBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeXBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeXBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeXBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,10 +338,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -437,49 +437,49 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * 10.0;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0);
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * -10.0;
|
X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,12 +307,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪右.SizeYBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左.SizeYBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeYBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeYBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -321,16 +321,16 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左.SizeXBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeXBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeXBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeXBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,10 +338,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -437,49 +437,49 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
_ = 右;
|
_ = 右;
|
||||||
X0Y0_お下げ左_髪根.AngleBase = 10.0;
|
X0Y0_お下げ左_髪根.SetAngleBase(10.0);
|
||||||
X0Y0_お下げ右_髪根.AngleBase = -10.0;
|
X0Y0_お下げ右_髪根.SetAngleBase(-10.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -307,12 +307,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左.SizeYBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeYBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeYBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeYBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -321,16 +321,16 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左.SizeXBase *= num;
|
X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右.SizeXBase *= num;
|
X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右.SizeXBase *= num;
|
X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左.SizeXBase *= num;
|
X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,10 +338,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -437,43 +437,43 @@ namespace SlaveMatrix
|
|||||||
public override void SetAngle0()
|
public override void SetAngle0()
|
||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * 10.0;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0);
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * -10.0;
|
X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0);
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪左.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪右.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪右.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪左.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -529,7 +529,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -538,25 +538,25 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -565,27 +565,27 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -593,8 +593,8 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -731,86 +731,86 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double maxAngle = 25.0;
|
double maxAngle = 25.0;
|
||||||
X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -529,7 +529,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -538,25 +538,25 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -565,27 +565,27 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -593,8 +593,8 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -731,86 +731,86 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double maxAngle = 25.0;
|
double maxAngle = 25.0;
|
||||||
X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -529,7 +529,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -538,25 +538,25 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -565,27 +565,27 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -593,8 +593,8 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -731,86 +731,86 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double maxAngle = 25.0;
|
double maxAngle = 25.0;
|
||||||
X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -529,7 +529,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -538,25 +538,25 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -565,27 +565,27 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪縛1.SizeBase *= num;
|
X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪縛2.SizeBase *= num;
|
X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -593,8 +593,8 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -731,83 +731,83 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double maxAngle = 25.0;
|
double maxAngle = 25.0;
|
||||||
X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle();
|
X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle());
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -970,7 +970,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -979,44 +979,44 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeYBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeYBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1025,48 +1025,48 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeXBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeXBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1074,10 +1074,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,161 +1286,161 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
||||||
X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * num2;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2));
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -970,7 +970,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -979,44 +979,44 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeYBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeYBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1025,48 +1025,48 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeXBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeXBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1074,10 +1074,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,161 +1286,161 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
||||||
X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * num2;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2));
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -970,7 +970,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -979,44 +979,44 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeYBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeYBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1025,48 +1025,48 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeXBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeXBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1074,10 +1074,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,161 +1286,161 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
||||||
X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * num2;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2));
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -970,7 +970,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -979,44 +979,44 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeYBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeYBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeYBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeYBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1025,48 +1025,48 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪縛1.SizeBase *= num;
|
X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪縛2.SizeBase *= num;
|
X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪右1.SizeXBase *= num;
|
X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪根.SizeXBase *= num;
|
X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪節.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num;
|
X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪縛1.SizeBase *= num;
|
X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪縛2.SizeBase *= num;
|
X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪左1.SizeXBase *= num;
|
X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪根.SizeXBase *= num;
|
X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1074,10 +1074,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value);
|
||||||
X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value);
|
||||||
X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value;
|
X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,155 +1286,155 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
double num = (右 ? (-1.0) : 1.0);
|
double num = (右 ? (-1.0) : 1.0);
|
||||||
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
double num2 = 2.5 + 2.5 * Rng.XS.NextDouble();
|
||||||
X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2;
|
X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ左_髪根.AngleBase = num * num2;
|
X0Y0_お下げ左_髪根.SetAngleBase(num * num2);
|
||||||
X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2));
|
||||||
X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2);
|
X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2));
|
||||||
Body.JoinPAall();
|
Body.JoinPAall();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ左_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ左_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false;
|
X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪右1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪左1.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 0].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[右 ? 1 : 2].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 2].Outline = false;
|
||||||
X0Y0_お下げ右_髪根.OP[(!右) ? 3 : 0].Outline = false;
|
X0Y0_お下げ右_髪根.GetOP()[(!右) ? 3 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Is布(ShapePart p)
|
public override bool Is布(ShapePart p)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
@@ -112,7 +113,7 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.7 + 0.3 * value;
|
double num = 0.7 + 0.3 * value;
|
||||||
X0Y0_髪基.SizeYBase *= num;
|
X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -323,8 +324,8 @@ namespace SlaveMatrix
|
|||||||
|
|
||||||
public void スライム()
|
public void スライム()
|
||||||
{
|
{
|
||||||
X0Y0_髪基.OP[右 ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false;
|
||||||
X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false;
|
X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void 色更新()
|
public override void 色更新()
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
public class BackHair1 : Element
|
public class BackHair1 : Element
|
||||||
|
|||||||
@@ -235,13 +235,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeYBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeYBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,13 +250,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeXBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeXBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,12 +264,12 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左3.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右3.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse());
|
X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -235,13 +235,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeYBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeYBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,13 +250,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeXBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeXBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,12 +264,12 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左3.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右3.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse());
|
X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -235,13 +235,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeYBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeYBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,13 +250,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeXBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeXBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,12 +264,12 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左3.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右3.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse());
|
X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -235,13 +235,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ_髪根.SizeYBase *= num;
|
X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeYBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeYBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeYBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeYBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeYBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeYBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -250,13 +250,13 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ_髪根.SizeXBase *= num;
|
X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左1.SizeXBase *= num;
|
X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左2.SizeXBase *= num;
|
X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪左3.SizeXBase *= num;
|
X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右1.SizeXBase *= num;
|
X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右2.SizeXBase *= num;
|
X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ_髪右3.SizeXBase *= num;
|
X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,12 +264,12 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪左3.AngleBase = 1.5 * value;
|
X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ_髪右3.AngleBase = -1.5 * value;
|
X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,7 +277,7 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse());
|
X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -214,12 +214,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeYBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeYBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeYBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeYBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -228,12 +228,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeXBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeXBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeXBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeXBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -241,10 +241,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -253,8 +253,8 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = value.Inverse();
|
double num = value.Inverse();
|
||||||
X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num));
|
||||||
X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -214,12 +214,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeYBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeYBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeYBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeYBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -228,12 +228,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeXBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeXBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeXBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeXBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -241,10 +241,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -253,8 +253,8 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = value.Inverse();
|
double num = value.Inverse();
|
||||||
X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num));
|
||||||
X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -214,12 +214,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 0.5 + 0.9 * value;
|
double num = 0.5 + 0.9 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeYBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeYBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeYBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeYBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeYBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeYBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -228,12 +228,12 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = 1.0 + 0.5 * value;
|
double num = 1.0 + 0.5 * value;
|
||||||
X0Y0_お下げ左_髪左根.SizeXBase *= num;
|
X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左1.SizeXBase *= num;
|
X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ左_髪左2.SizeXBase *= num;
|
X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右根.SizeXBase *= num;
|
X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右1.SizeXBase *= num;
|
X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num);
|
||||||
X0Y0_お下げ右_髪右2.SizeXBase *= num;
|
X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -241,10 +241,10 @@ namespace SlaveMatrix
|
|||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value;
|
X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value);
|
||||||
X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value);
|
||||||
X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value;
|
X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -253,8 +253,8 @@ namespace SlaveMatrix
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
double num = value.Inverse();
|
double num = value.Inverse();
|
||||||
X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num));
|
||||||
X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num);
|
X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using _2DGAMELIB;
|
using _2DGAMELIB;
|
||||||
|
using SlaveMatrix.GameClasses;
|
||||||
|
|
||||||
namespace SlaveMatrix
|
namespace SlaveMatrix
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user