不会修(new test beatmap(no stressful text :D))

This commit is contained in:
2025-05-04 14:09:02 +08:00
parent 90797bd760
commit 95e49cb499
8 changed files with 222966 additions and 993 deletions

View File

@@ -20,7 +20,8 @@ namespace Dreamteck.Splines
{ {
_size = value; _size = value;
Rebuild(); Rebuild();
} else _size = value; }
else _size = value;
} }
} }
@@ -325,13 +326,13 @@ namespace Dreamteck.Splines
} }
filter.sharedMesh = _bakedMesh; filter.sharedMesh = _bakedMesh;
_mesh = null; _mesh = null;
gameObject.isStatic = makeStatic; gameObject.isStatic = makeStatic;
_baked = true; _baked = true;
} }
public void Unbake() public void Unbake()
{ {
gameObject.isStatic = false; gameObject.isStatic = false;
_baked = false; _baked = false;
DestroyImmediate(_bakedMesh); DestroyImmediate(_bakedMesh);
_bakedMesh = null; _bakedMesh = null;
@@ -406,8 +407,8 @@ namespace Dreamteck.Splines
base.OnDestroy(); base.OnDestroy();
MeshFilter filter = GetComponent<MeshFilter>(); MeshFilter filter = GetComponent<MeshFilter>();
MeshRenderer rend = GetComponent<MeshRenderer>(); MeshRenderer rend = GetComponent<MeshRenderer>();
if (filter != null) filter.hideFlags = HideFlags.None; if (filter != null) filter.hideFlags = HideFlags.None;
if (rend != null) rend.hideFlags = HideFlags.None; if (rend != null) rend.hideFlags = HideFlags.None;
} }
@@ -447,7 +448,8 @@ namespace Dreamteck.Splines
if (sampleCount > 1) if (sampleCount > 1)
{ {
BuildMesh(); BuildMesh();
} else }
else
{ {
ClearMesh(); ClearMesh();
} }
@@ -470,7 +472,7 @@ namespace Dreamteck.Splines
//Logic for mesh generation, automatically called in the Build method //Logic for mesh generation, automatically called in the Build method
} }
protected virtual void WriteMesh() protected virtual void WriteMesh()
{ {
MeshUtility.TransformMesh(_tsMesh, trs.worldToLocalMatrix); MeshUtility.TransformMesh(_tsMesh, trs.worldToLocalMatrix);
if (_doubleSided) if (_doubleSided)
@@ -515,11 +517,11 @@ namespace Dreamteck.Splines
protected virtual void AllocateMesh(int vertexCount, int trisCount) protected virtual void AllocateMesh(int vertexCount, int trisCount)
{ {
if(trisCount < 0) if (trisCount < 0)
{ {
trisCount = 0; trisCount = 0;
} }
if(vertexCount < 0) if (vertexCount < 0)
{ {
vertexCount = 0; vertexCount = 0;
} }
@@ -566,8 +568,8 @@ namespace Dreamteck.Splines
__uvs.x = u * _uvScale.x - _uvOffset.x; __uvs.x = u * _uvScale.x - _uvOffset.x;
switch (uvMode) switch (uvMode)
{ {
case UVMode.Clip: __uvs.y = CalculateUVClip(percent); break; case UVMode.Clip: __uvs.y = CalculateUVClip(percent); break;
case UVMode.Clamp: __uvs.y = CalculateUVClamp(percent); break; case UVMode.Clamp: __uvs.y = CalculateUVClamp(percent); break;
case UVMode.UniformClamp: __uvs.y = CalculateUVUniformClamp(_vDist); break; case UVMode.UniformClamp: __uvs.y = CalculateUVUniformClamp(_vDist); break;
default: __uvs.y = CalculateUVUniformClip(_vDist); break; default: __uvs.y = CalculateUVUniformClip(_vDist); break;
} }
@@ -595,7 +597,7 @@ namespace Dreamteck.Splines
protected float GetBaseSize(SplineSample sample) protected float GetBaseSize(SplineSample sample)
{ {
return _useSplineSize? sample.size: 1f; return _useSplineSize ? sample.size : 1f;
} }
protected Color GetBaseColor(SplineSample sample) protected Color GetBaseColor(SplineSample sample)
@@ -621,7 +623,7 @@ namespace Dreamteck.Splines
if (!Application.isPlaying) if (!Application.isPlaying)
{ {
DestroyImmediate(_mesh); DestroyImmediate(_mesh);
} }
else else
{ {
Destroy(_mesh); Destroy(_mesh);
@@ -633,5 +635,5 @@ namespace Dreamteck.Splines
} }
} }
} }

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,6 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using Ichni.RhythmGame; using Ichni.RhythmGame;
using Ichni.RhythmGame.Beatmap; using Ichni.RhythmGame.Beatmap;
using UnityEngine; using UnityEngine;
@@ -136,13 +137,11 @@ namespace Ichni.Editor
if (gameElement.childElementList != null) if (gameElement.childElementList != null)
{ {
for (int i = 0; i < gameElement.childElementList.Count; i++) foreach (GameElement Element in gameElement.childElementList.Where(x => !pastedElementList.Contains(x)))
{ {
if (!pastedElementList.Contains(gameElement.childElementList[i])) AffiliatedPaste(Element, pastedElement);
{
AffiliatedPaste(gameElement.childElementList[i], pastedElement);
}
} }
} }
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fe530baae6c02414fbdbb3581a4df757
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -247,7 +247,7 @@
},{ },{
"__type" : "Ichni.RhythmGame.Beatmap.TransformSubmodule_BM,Assembly-CSharp", "__type" : "Ichni.RhythmGame.Beatmap.TransformSubmodule_BM,Assembly-CSharp",
"originalPosition" : { "originalPosition" : {
"x" : 0, "x" : -0.3,
"y" : 0, "y" : 0,
"z" : 0 "z" : 0
}, },
@@ -330,6 +330,16 @@
"attachedElementGuid" : { "attachedElementGuid" : {
"value" : "1500056c-f5cb-4c71-8096-d6aa6e2ef716" "value" : "1500056c-f5cb-4c71-8096-d6aa6e2ef716"
} }
},{
"__type" : "Ichni.RhythmGame.Beatmap.TrackRendererSubmoduleAutoOrient_BM,Assembly-CSharp",
"materialThemeBundleName" : "",
"materialName" : "",
"enableEmission" : false,
"emissionIntensity" : 0,
"zWrite" : false,
"attachedElementGuid" : {
"value" : "1500056c-f5cb-4c71-8096-d6aa6e2ef716"
}
},{ },{
"__type" : "Ichni.RhythmGame.Beatmap.PathNode_BM,Assembly-CSharp", "__type" : "Ichni.RhythmGame.Beatmap.PathNode_BM,Assembly-CSharp",
"isShowingSphere" : true, "isShowingSphere" : true,
@@ -1731,6 +1741,16 @@
"attachedElementGuid" : { "attachedElementGuid" : {
"value" : "4bc6933c-22a2-4ffd-85ea-b3a9deefef0e" "value" : "4bc6933c-22a2-4ffd-85ea-b3a9deefef0e"
} }
},{
"__type" : "Ichni.RhythmGame.Beatmap.TrackRendererSubmoduleAutoOrient_BM,Assembly-CSharp",
"materialThemeBundleName" : "",
"materialName" : "",
"enableEmission" : false,
"emissionIntensity" : 0,
"zWrite" : false,
"attachedElementGuid" : {
"value" : "4bc6933c-22a2-4ffd-85ea-b3a9deefef0e"
}
},{ },{
"__type" : "Ichni.RhythmGame.Beatmap.PathNode_BM,Assembly-CSharp", "__type" : "Ichni.RhythmGame.Beatmap.PathNode_BM,Assembly-CSharp",
"isShowingSphere" : true, "isShowingSphere" : true,
@@ -2387,454 +2407,6 @@
"attachedElementGuid" : { "attachedElementGuid" : {
"value" : "0bd97ebe-3433-44d7-a80b-7af84f2c7055" "value" : "0bd97ebe-3433-44d7-a80b-7af84f2c7055"
} }
},{
"__type" : "Ichni.RhythmGame.Beatmap.TrackPercentPoint_BM,Assembly-CSharp",
"trackPercent" : {
"animatedFloatList" : [
{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
}
]
},
"elementName" : "New Track Percent Point",
"tags" : [
],
"elementGuid" : {
"value" : "1538fdc1-16df-4579-ac23-b6f1648dfb7a"
},
"attachedElementGuid" : {
"value" : "1500056c-f5cb-4c71-8096-d6aa6e2ef716"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "1538fdc1-16df-4579-ac23-b6f1648dfb7a"
}
},{
"__type" : "Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap.DTMTrail_BM,Assembly-CSharp",
"visibleTimeLength" : {
"animatedFloatList" : [
{
"startValue" : 1,
"endValue" : 0.1,
"startTime" : 0,
"endTime" : 20,
"animationCurveType" : 3
}
]
},
"enableTimes" : {
"animatedBoolList" : [
{
"value" : false,
"time" : 0
},{
"value" : true,
"time" : 5
},{
"value" : false,
"time" : 20
}
]
},
"enableProcessTime" : 1,
"headSize" : 1,
"headRotateSpeed" : {
"animatedFloatList" : [
{
"startValue" : 10,
"endValue" : 10,
"startTime" : 0,
"endTime" : 20,
"animationCurveType" : 3
}
]
},
"isStatic" : false,
"themeBundleName" : "departure_to_multiverse",
"objectName" : "DTM_Trail",
"elementName" : "New Environment Object",
"tags" : [
],
"elementGuid" : {
"value" : "ad71a13a-d79b-4c58-933b-f2b5c738692f"
},
"attachedElementGuid" : {
"value" : "1538fdc1-16df-4579-ac23-b6f1648dfb7a"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TransformSubmodule_BM,Assembly-CSharp",
"originalPosition" : {
"x" : 0,
"y" : 0,
"z" : 0
},
"originalEulerAngles" : {
"x" : 0,
"y" : 0,
"z" : 0
},
"originalScale" : {
"x" : 1,
"y" : 1,
"z" : 1
},
"attachedElementGuid" : {
"value" : "ad71a13a-d79b-4c58-933b-f2b5c738692f"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "ad71a13a-d79b-4c58-933b-f2b5c738692f"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.ColorSubmodule_BM,Assembly-CSharp",
"originalBaseColor" : {
"r" : 1,
"g" : 1,
"b" : 1,
"a" : 1
},
"emissionEnabled" : true,
"originalEmissionColor" : {
"r" : 0.430388,
"g" : 0.240733,
"b" : 1,
"a" : 1
},
"originalEmissionIntensity" : 1,
"attachedElementGuid" : {
"value" : "ad71a13a-d79b-4c58-933b-f2b5c738692f"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TrackPercentPoint_BM,Assembly-CSharp",
"trackPercent" : {
"animatedFloatList" : [
{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
},{
"startValue" : 0,
"endValue" : 1,
"startTime" : 0,
"endTime" : 21.4,
"animationCurveType" : 0
}
]
},
"elementName" : "New Track Percent Point",
"tags" : [
],
"elementGuid" : {
"value" : "5e1f8cd6-8464-45b5-a544-5c0457516f4c"
},
"attachedElementGuid" : {
"value" : "4bc6933c-22a2-4ffd-85ea-b3a9deefef0e"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "5e1f8cd6-8464-45b5-a544-5c0457516f4c"
}
},{
"__type" : "Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap.DTMTrail_BM,Assembly-CSharp",
"visibleTimeLength" : {
"animatedFloatList" : [
{
"startValue" : 1,
"endValue" : 0.1,
"startTime" : 0,
"endTime" : 20,
"animationCurveType" : 0
}
]
},
"enableTimes" : {
"animatedBoolList" : [
{
"value" : false,
"time" : 0
},{
"value" : true,
"time" : 5
},{
"value" : false,
"time" : 20
}
]
},
"enableProcessTime" : 1,
"headSize" : 1,
"headRotateSpeed" : {
"animatedFloatList" : [
]
},
"isStatic" : false,
"themeBundleName" : "departure_to_multiverse",
"objectName" : "DTM_Trail",
"elementName" : "New Environment Object",
"tags" : [
],
"elementGuid" : {
"value" : "e7f3c3e3-5767-48a9-adaf-4de5e704c6c9"
},
"attachedElementGuid" : {
"value" : "5e1f8cd6-8464-45b5-a544-5c0457516f4c"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TransformSubmodule_BM,Assembly-CSharp",
"originalPosition" : {
"x" : 0,
"y" : 0,
"z" : 0
},
"originalEulerAngles" : {
"x" : 0,
"y" : 0,
"z" : 0
},
"originalScale" : {
"x" : 1,
"y" : 1,
"z" : 1
},
"attachedElementGuid" : {
"value" : "e7f3c3e3-5767-48a9-adaf-4de5e704c6c9"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "e7f3c3e3-5767-48a9-adaf-4de5e704c6c9"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.ColorSubmodule_BM,Assembly-CSharp",
"originalBaseColor" : {
"r" : 1,
"g" : 1,
"b" : 1,
"a" : 1
},
"emissionEnabled" : true,
"originalEmissionColor" : {
"r" : 1,
"g" : 1,
"b" : 1,
"a" : 1
},
"originalEmissionIntensity" : 1,
"attachedElementGuid" : {
"value" : "e7f3c3e3-5767-48a9-adaf-4de5e704c6c9"
}
},{ },{
"__type" : "Ichni.RhythmGame.Beatmap.Tap_BM,Assembly-CSharp", "__type" : "Ichni.RhythmGame.Beatmap.Tap_BM,Assembly-CSharp",
"exactJudgeTime" : 10.96774, "exactJudgeTime" : 10.96774,
@@ -6437,6 +6009,100 @@
"attachedElementGuid" : { "attachedElementGuid" : {
"value" : "fff000bf-fd0a-4154-8abf-ce22a105cb30" "value" : "fff000bf-fd0a-4154-8abf-ce22a105cb30"
} }
},{
"__type" : "Ichni.RhythmGame.Beatmap.Displacement_BM,Assembly-CSharp",
"positionX" : {
"animatedFloatList" : [
]
},
"positionY" : {
"animatedFloatList" : [
{
"startValue" : 1000,
"endValue" : 1000,
"startTime" : 0,
"endTime" : 5.806451,
"animationCurveType" : 0
},{
"startValue" : 1000,
"endValue" : 0,
"startTime" : 5.806451,
"endTime" : 10.96774,
"animationCurveType" : 5
}
]
},
"positionZ" : {
"animatedFloatList" : [
]
},
"elementName" : "New Displacement",
"tags" : [
],
"elementGuid" : {
"value" : "4de953a2-9874-41e2-8b44-c672664511a5"
},
"attachedElementGuid" : {
"value" : "7ef3edba-2842-4607-9e49-5e496ab7c262"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "4de953a2-9874-41e2-8b44-c672664511a5"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.Displacement_BM,Assembly-CSharp",
"positionX" : {
"animatedFloatList" : [
]
},
"positionY" : {
"animatedFloatList" : [
{
"startValue" : 1000,
"endValue" : 1000,
"startTime" : 0,
"endTime" : 5.806451,
"animationCurveType" : 0
},{
"startValue" : 1000,
"endValue" : 0,
"startTime" : 5.806451,
"endTime" : 10.96774,
"animationCurveType" : 5
}
]
},
"positionZ" : {
"animatedFloatList" : [
]
},
"elementName" : "New Displacement",
"tags" : [
],
"elementGuid" : {
"value" : "4a728732-a62c-45e4-a046-39f7dd6d15fa"
},
"attachedElementGuid" : {
"value" : "54f70fe1-3c0a-4e67-909a-2ae9af25e6dc"
}
},{
"__type" : "Ichni.RhythmGame.Beatmap.TimeDurationSubmodule_BM,Assembly-CSharp",
"isOverridingDuration" : false,
"startTime" : -32767,
"endTime" : 32767,
"attachedElementGuid" : {
"value" : "4a728732-a62c-45e4-a046-39f7dd6d15fa"
}
} }
], ],
"attachedElementGuid" : { "attachedElementGuid" : {

View File

@@ -79,6 +79,7 @@ Song Location歌曲路径导入后歌曲存储在编辑器内与原路
### **UI 操作** ### **UI 操作**
1. **Ctrl + U**:切换所有静态窗口的显示状态。 1. **Ctrl + U**:切换所有静态窗口的显示状态。
2. **Ctrl+ ↑/↓**放大缩小ui大小
--- ---
@@ -129,8 +130,6 @@ new track{
distance就不会 distance就不会
``` ```
###### 路径方式 ###### 路径方式
1. Movable 1. Movable
@@ -193,4 +192,32 @@ trail配有位置材质颜色等仍在开发
目前Trail只能在trackPercentPoint下生成但是有一点奇技淫巧是可以把他复制出来然后直接粘贴在folder下这样就可以通过事件控制他了 目前Trail只能在trackPercentPoint下生成但是有一点奇技淫巧是可以把他复制出来然后直接粘贴在folder下这样就可以通过事件控制他了
### Note
##### 基础
note可以视为环境物体拥有击打时间击打效果等
击打时间:建议使用采音器=>见采音器指南
##### 击打效果和判定模式
由于不同主题包拥有不同击打效果和判定模式在add页需要输入字符来创建
---
## 谱面存档
望文生义,不必多说,以下讲的是一些特别的机制
### 自动保存
ichni每隔一段时间就会自动保存谱面如果要回档需要手动替换
### Clip
asd
### Export
ads