jump holds
This commit is contained in:
parent
4192fe2beb
commit
2d940b73b8
@ -12,12 +12,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Other charting editor workflow improvements
|
- Other charting editor workflow improvements
|
||||||
- More hair physics
|
- More hair physics
|
||||||
- Heads appear at top of chart editor to help show which side ur charting for
|
- Heads appear at top of chart editor to help show which side ur charting for
|
||||||
|
### Changed
|
||||||
|
- Tweaked code relating to inputs, hopefully making notes that are close together more fair to hit
|
||||||
### Removed
|
### Removed
|
||||||
- Removed APE
|
- Removed APE
|
||||||
### Fixed
|
### Fixed
|
||||||
- Old Verison popup screen weirdness ([Thanks to gedehari for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/155))
|
- Old Verison popup screen weirdness ([Thanks to gedehari for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/155))
|
||||||
- Song no longer loops when finishing the song. ([Thanks Injourn for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/132))
|
- Song no longer loops when finishing the song. ([Thanks Injourn for the Pull Request!](https://github.com/ninjamuffin99/Funkin/pull/132))
|
||||||
- Screen wipe being cut off in the limo/mom stage.
|
- Screen wipe being cut off in the limo/mom stage. Should fill the whole screen now.
|
||||||
|
|
||||||
## [0.2.5] - 2020-12-27
|
## [0.2.5] - 2020-12-27
|
||||||
### Added
|
### Added
|
||||||
|
@ -1262,38 +1262,40 @@ class PlayState extends MusicBeatState
|
|||||||
if (daNote.canBeHit && daNote.mustPress && !daNote.tooLate)
|
if (daNote.canBeHit && daNote.mustPress && !daNote.tooLate)
|
||||||
{
|
{
|
||||||
possibleNotes.push(daNote);
|
possibleNotes.push(daNote);
|
||||||
|
trace(possibleNotes[0].strumTime);
|
||||||
|
possibleNotes.sort((a, b) -> Std.int(a.strumTime - b.strumTime));
|
||||||
|
trace(possibleNotes[0].strumTime);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (possibleNotes.length > 0)
|
if (possibleNotes.length > 0)
|
||||||
{
|
{
|
||||||
for (daNote in possibleNotes)
|
var daNote = possibleNotes[0];
|
||||||
|
|
||||||
|
if (perfectMode)
|
||||||
|
noteCheck(true, daNote);
|
||||||
|
|
||||||
|
switch (daNote.noteData)
|
||||||
{
|
{
|
||||||
if (perfectMode)
|
case 2: // NOTES YOU JUST PRESSED
|
||||||
noteCheck(true, daNote);
|
if (upP || rightP || downP || leftP)
|
||||||
|
noteCheck(upP, daNote);
|
||||||
|
case 3:
|
||||||
|
if (upP || rightP || downP || leftP)
|
||||||
|
noteCheck(rightP, daNote);
|
||||||
|
case 1:
|
||||||
|
if (upP || rightP || downP || leftP)
|
||||||
|
noteCheck(downP, daNote);
|
||||||
|
case 0:
|
||||||
|
if (upP || rightP || downP || leftP)
|
||||||
|
noteCheck(leftP, daNote);
|
||||||
|
}
|
||||||
|
|
||||||
switch (daNote.noteData)
|
if (daNote.wasGoodHit)
|
||||||
{
|
{
|
||||||
case 2: // NOTES YOU JUST PRESSED
|
daNote.kill();
|
||||||
if (upP || rightP || downP || leftP)
|
notes.remove(daNote, true);
|
||||||
noteCheck(upP, daNote);
|
daNote.destroy();
|
||||||
case 3:
|
|
||||||
if (upP || rightP || downP || leftP)
|
|
||||||
noteCheck(rightP, daNote);
|
|
||||||
case 1:
|
|
||||||
if (upP || rightP || downP || leftP)
|
|
||||||
noteCheck(downP, daNote);
|
|
||||||
case 0:
|
|
||||||
if (upP || rightP || downP || leftP)
|
|
||||||
noteCheck(leftP, daNote);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (daNote.wasGoodHit)
|
|
||||||
{
|
|
||||||
daNote.kill();
|
|
||||||
notes.remove(daNote, true);
|
|
||||||
daNote.destroy();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1312,16 +1314,16 @@ class PlayState extends MusicBeatState
|
|||||||
{
|
{
|
||||||
// NOTES YOU ARE HOLDING
|
// NOTES YOU ARE HOLDING
|
||||||
case 2:
|
case 2:
|
||||||
if (up && daNote.prevNote.wasGoodHit)
|
if (up)
|
||||||
goodNoteHit(daNote);
|
goodNoteHit(daNote);
|
||||||
case 3:
|
case 3:
|
||||||
if (right && daNote.prevNote.wasGoodHit)
|
if (right)
|
||||||
goodNoteHit(daNote);
|
goodNoteHit(daNote);
|
||||||
case 1:
|
case 1:
|
||||||
if (down && daNote.prevNote.wasGoodHit)
|
if (down)
|
||||||
goodNoteHit(daNote);
|
goodNoteHit(daNote);
|
||||||
case 0:
|
case 0:
|
||||||
if (left && daNote.prevNote.wasGoodHit)
|
if (left)
|
||||||
goodNoteHit(daNote);
|
goodNoteHit(daNote);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1460,7 +1462,9 @@ class PlayState extends MusicBeatState
|
|||||||
if (keyP)
|
if (keyP)
|
||||||
goodNoteHit(note);
|
goodNoteHit(note);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
badNoteCheck();
|
badNoteCheck();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function goodNoteHit(note:Note):Void
|
function goodNoteHit(note:Note):Void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user