File tree 6 files changed +17
-5
lines changed
6 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -16006,7 +16006,7 @@ MonoBehaviour:
16006
16006
m_HorizontalOverflow: 0
16007
16007
m_VerticalOverflow: 0
16008
16008
m_LineSpacing: 1
16009
- m_Text: v0.1.3-dev by dev.play.repeat
16009
+ m_Text: v0.1.3.1 -dev by dev.play.repeat
16010
16010
--- !u!1 &1359979013465415846
16011
16011
GameObject:
16012
16012
m_ObjectHideFlags: 0
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class CubeHandling : MonoBehaviour
22
22
public Vector3 _midPos ;
23
23
public Vector3 _endPos ;
24
24
25
- void Update ( )
25
+ void FixedUpdate ( )
26
26
{
27
27
_songTime = _refNotesSpawner . audioSource . time + Time . smoothDeltaTime ;
28
28
float songTimeDistance = _songTime - ( ( ( float ) _note . Time * _refNotesSpawner . _BeatPerSec - _refNotesSpawner . _spawnOffset ) ) ;
Original file line number Diff line number Diff line change @@ -87,9 +87,17 @@ void Start()
87
87
var notes = json . GetArray ( "_notes" ) ;
88
88
foreach ( var note in notes )
89
89
{
90
+ var type = note . Obj . GetNumber ( "_type" ) ;
91
+
92
+ // ignore bombs, will lead to a bug in GenerateNote which spawns a blue note
93
+ if ( type > 1 )
94
+ {
95
+ continue ;
96
+ }
97
+
90
98
var n = new Note
91
99
{
92
- Hand = ( NoteType ) note . Obj . GetNumber ( "_type" ) ,
100
+ Hand = ( NoteType ) type ,
93
101
CutDirection = ( CutDirection ) note . Obj . GetNumber ( "_cutDirection" ) ,
94
102
LineIndex = ( int ) note . Obj . GetNumber ( "_lineIndex" ) ,
95
103
LineLayer = ( int ) note . Obj . GetNumber ( "_lineLayer" ) ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class ObstacleHandling : MonoBehaviour
15
15
public float _songTime ;
16
16
public float _height ;
17
17
18
- void Update ( )
18
+ void FixedUpdate ( )
19
19
{
20
20
if ( _refNotesSpawner != null && _refNotesSpawner . audioSource != null )
21
21
{
Original file line number Diff line number Diff line change 1
1
# Released
2
2
3
+ # 0.1.3.1
4
+
5
+ * Fixed bug: Bombs were spawned as blue non-direction notes
6
+
3
7
# 0.1.3
4
8
5
9
* New Feature: One saber songs are now supported (thanks to dhcdht)
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ PlayerSettings:
118
118
16:10 : 1
119
119
16:9 : 1
120
120
Others : 1
121
- bundleVersion : 0.1.3-dev
121
+ bundleVersion : 0.1.3.1 -dev
122
122
preloadedAssets : []
123
123
metroInputSource : 0
124
124
wsaTransparentSwapchain : 0
You can’t perform that action at this time.
0 commit comments