shaders and editor optimizations
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package;
|
||||
|
||||
import openfl.system.System;
|
||||
import lime.app.Application;
|
||||
#if sys
|
||||
import sys.io.File;
|
||||
#end
|
||||
@ -1491,6 +1490,36 @@ class ChartingState extends MusicBeatState
|
||||
{
|
||||
updateHeads();
|
||||
|
||||
for(i in sectionRenderes)
|
||||
{
|
||||
var diff = getYfromStrum(i.y) - Conductor.songPosition;
|
||||
if (diff < 10000 && diff >= -40000)
|
||||
{
|
||||
i.active = true;
|
||||
i.visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
i.active = false;
|
||||
i.visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
for(i in curRenderedNotes)
|
||||
{
|
||||
var diff = i.strumTime - Conductor.songPosition;
|
||||
if (diff < 10000 && diff >= -40000)
|
||||
{
|
||||
i.active = true;
|
||||
i.visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
i.active = false;
|
||||
i.visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
var doInput = true;
|
||||
|
||||
for (i in Typeables)
|
||||
|
Reference in New Issue
Block a user