Skip to content

Commit 104d3cf

Browse files
Merge branch 'rewrite/master' into kade-github/pico-mix-bugfix
2 parents 584b1ec + adefa90 commit 104d3cf

File tree

13 files changed

+322
-71
lines changed

13 files changed

+322
-71
lines changed

docs/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This section provides guidelines to follow when [opening an issue](https://githu
6060

6161
## Requirements
6262
Make sure you're playing:
63-
- the latest version of the game (currently v0.6.2)
63+
- the latest version of the game (currently v0.6.3)
6464
- without any mods
6565
- on [Newgrounds](https://www.newgrounds.com/portal/view/770371) or downloaded from [itch.io](https://ninja-muffin24.itch.io/funkin)
6666

@@ -412,4 +412,4 @@ If your PR is accepted, you will be credited as a GitHub contributor (but not as
412412
# Closing
413413
Thank you for reading the Contributing Guide.
414414

415-
We look forward to seeing your contributions to the game!
415+
We look forward to seeing your contributions to the game!

hmm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"name": "lime",
144144
"type": "git",
145145
"dir": null,
146-
"ref": "1e79c20a6ee13fa168535f9f76a368e3284ddc3a",
146+
"ref": "be81ad7e4e1a92c3482bcc009648a4ac892cfa35",
147147
"url": "https://github.com/FunkinCrew/lime"
148148
},
149149
{

project.hxp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Project extends HXProject {
2525
* REMEMBER TO CHANGE THIS WHEN THE GAME UPDATES!
2626
* You only have to change it here, the rest of the game will query this value.
2727
*/
28-
static final VERSION:String = "0.6.2";
28+
static final VERSION:String = "0.6.3";
2929

3030
/**
3131
* The game's name. Used as the default window title.

source/funkin/play/PlayState.hx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,10 @@ class PlayState extends MusicBeatSubState
875875
// Delete all notes and reset the arrays.
876876
regenNoteData();
877877

878+
// so the song doesn't start too early :D
879+
Conductor.instance.update(-5000, false);
880+
881+
878882
// Reset camera zooming
879883
cameraBopIntensity = Constants.DEFAULT_BOP_INTENSITY;
880884
hudCameraZoomIntensity = (cameraBopIntensity - 1.0) * 2.0;
@@ -883,11 +887,27 @@ class PlayState extends MusicBeatSubState
883887
health = Constants.HEALTH_STARTING;
884888
songScore = 0;
885889
Highscore.tallies.combo = 0;
886-
Countdown.performCountdown();
890+
// timer for vwoosh
891+
var vwooshTimer = new FlxTimer();
892+
vwooshTimer.start(0.5, function(t:FlxTimer) {
893+
Conductor.instance.update(startTimestamp - Conductor.instance.combinedOffset, false);
894+
if (playerStrumline.notes.length == 0) playerStrumline.updateNotes();
895+
if (opponentStrumline.notes.length == 0) opponentStrumline.updateNotes();
896+
playerStrumline.vwooshInNotes();
897+
opponentStrumline.vwooshInNotes();
898+
Countdown.performCountdown();
899+
});
900+
887901

888902
// Reset the health icons.
903+
if (currentStage.getBoyfriend() != null)
904+
{
889905
currentStage.getBoyfriend().initHealthIcon(false);
906+
}
907+
if (currentStage.getDad() != null)
908+
{
890909
currentStage.getDad().initHealthIcon(true);
910+
}
891911

892912
needsReset = false;
893913
}

source/funkin/play/notes/NoteSprite.hx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ class NoteSprite extends FunkinSprite
104104
return noteData.length > 0;
105105
}
106106

107+
/**
108+
* The Y Offset of the note.
109+
*/
110+
public var yOffset:Float = 0.0;
111+
107112
/**
108113
* Set this flag to true when hitting the note to avoid scoring it multiple times.
109114
*/

0 commit comments

Comments
 (0)