1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-19 21:33:06 +00:00

2Hot in progress

This commit is contained in:
Cameron Taylor 2021-09-22 15:09:32 -04:00
parent db561adbc7
commit 52f9155ef9
2 changed files with 16 additions and 5 deletions

View file

@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 3 AWESOME PICO VS. DARNELL SONGS!! - 3 AWESOME PICO VS. DARNELL SONGS!!
- Character offset editor / spritesheet viewer - Character offset editor / spritesheet viewer
## Changed ## Changed
- Health gain is different depending on how accurate you hit notes!
- slight less health gained on sustain notes
- The wave-y effect on Thorns for the school is now a shader, instead of a pre-baked animation! - The wave-y effect on Thorns for the school is now a shader, instead of a pre-baked animation!
## [0.2.8] - 2021-04-18 (note, this one is iffy cuz we slacked wit it lol!) ## [0.2.8] - 2021-04-18 (note, this one is iffy cuz we slacked wit it lol!)

View file

@ -2342,25 +2342,39 @@ class PlayState extends MusicBeatState
var isSick:Bool = true; var isSick:Bool = true;
var healthMulti:Float = 1;
if (daNote.noteData >= 0)
healthMulti *= 0.023;
else
healthMulti *= 0.002;
if (noteDiff > Note.HIT_WINDOW * Note.BAD_THRESHOLD) if (noteDiff > Note.HIT_WINDOW * Note.BAD_THRESHOLD)
{ {
healthMulti *= 0; // no health on shit note
daRating = 'shit'; daRating = 'shit';
score = 50; score = 50;
isSick = false; // shitty copypaste on this literally just because im lazy and tired lol! isSick = false; // shitty copypaste on this literally just because im lazy and tired lol!
} }
else if (noteDiff > Note.HIT_WINDOW * Note.GOOD_THRESHOLD) else if (noteDiff > Note.HIT_WINDOW * Note.GOOD_THRESHOLD)
{ {
healthMulti *= 0.5;
daRating = 'bad'; daRating = 'bad';
score = 100; score = 100;
isSick = false; isSick = false;
} }
else if (noteDiff > Note.HIT_WINDOW * Note.SICK_THRESHOLD) else if (noteDiff > Note.HIT_WINDOW * Note.SICK_THRESHOLD)
{ {
healthMulti *= 0.70;
daRating = 'good'; daRating = 'good';
score = 200; score = 200;
isSick = false; isSick = false;
} }
health += healthMulti;
if (isSick) if (isSick)
{ {
var noteSplash:NoteSplash = grpNoteSplashes.recycle(NoteSplash); var noteSplash:NoteSplash = grpNoteSplashes.recycle(NoteSplash);
@ -2815,11 +2829,6 @@ class PlayState extends MusicBeatState
popUpScore(note.strumTime, note); popUpScore(note.strumTime, note);
} }
if (note.noteData >= 0)
health += 0.023;
else
health += 0.004;
switch (note.noteData) switch (note.noteData)
{ {
case 0: case 0: