This commit is contained in:
Yoshman29
2023-03-18 02:53:08 +01:00
parent 922fa11e0a
commit af89443188
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ function onStartCountdown() {
var pixelSwagWidth = Note.swagWidth + (daPixelZoom - (Note.swagWidth % daPixelZoom));
for(p in players) {
for(p in strumLines) {
var i = 0;
for(str in p.members) {
str.x = (FlxG.width * strumOffset) + (pixelSwagWidth * (i - 2));
@@ -151,7 +151,7 @@ function postUpdate(elapsed) {
e.downscroll = camHUD.downscroll;
}
if (enableCameraHacks) {
for(p in players)
for(p in strumLines)
p.notes.forEach(function(n) {
n.y -= n.y % daPixelZoom;
n.x -= n.x % daPixelZoom;
+2 -1
View File
@@ -1305,7 +1305,8 @@ class PlayState extends MusicBeatState
if (__pressed.contains(true)) {
for(c in p.characters)
c.__lockAnimThisFrame = true;
if (c.lastAnimContext != DANCE)
c.__lockAnimThisFrame = true;
__funcsToExec.push(function(note:Note) {
if (__pressed[note.strumID] && note.isSustainNote && note.canBeHit && !note.wasGoodHit) {