mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-24 10:59:32 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
34d578fa0c
|
@ -96,7 +96,10 @@
|
||||||
<!-- _________________________________ Custom _______________________________ -->
|
<!-- _________________________________ Custom _______________________________ -->
|
||||||
|
|
||||||
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
|
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
|
||||||
|
|
||||||
<icon path="art/icon.png" />
|
<icon path="art/icon.png" />
|
||||||
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
||||||
<haxedef name="NG_LOGIN" />
|
<haxedef name="NG_LOGIN" />
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
BIN
art/icon.png~
BIN
art/icon.png~
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
1
assets/data/ridge/ridge.json
Normal file
1
assets/data/ridge/ridge.json
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
assets/images/ape_FNF.png
Normal file
BIN
assets/images/ape_FNF.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 264 KiB |
Binary file not shown.
Before Width: | Height: | Size: 152 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -48,6 +48,7 @@ class Alphabet extends FlxSpriteGroup
|
||||||
this.text = text;
|
this.text = text;
|
||||||
isBold = bold;
|
isBold = bold;
|
||||||
|
|
||||||
|
|
||||||
if (text != "")
|
if (text != "")
|
||||||
{
|
{
|
||||||
if (typed)
|
if (typed)
|
||||||
|
@ -122,6 +123,7 @@ class Alphabet extends FlxSpriteGroup
|
||||||
_finalText = text;
|
_finalText = text;
|
||||||
doSplitWords();
|
doSplitWords();
|
||||||
|
|
||||||
|
|
||||||
// trace(arrayShit);
|
// trace(arrayShit);
|
||||||
|
|
||||||
var loopNum:Int = 0;
|
var loopNum:Int = 0;
|
||||||
|
@ -138,6 +140,7 @@ class Alphabet extends FlxSpriteGroup
|
||||||
xPosResetted = true;
|
xPosResetted = true;
|
||||||
xPos = 0;
|
xPos = 0;
|
||||||
curRow += 1;
|
curRow += 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (splitWords[loopNum] == " ")
|
if (splitWords[loopNum] == " ")
|
||||||
|
@ -155,6 +158,7 @@ class Alphabet extends FlxSpriteGroup
|
||||||
|
|
||||||
if (AlphaCharacter.alphabet.indexOf(splitWords[loopNum].toLowerCase()) != -1 || isNumber || isSymbol)
|
if (AlphaCharacter.alphabet.indexOf(splitWords[loopNum].toLowerCase()) != -1 || isNumber || isSymbol)
|
||||||
//if (AlphaCharacter.alphabet.contains(splitWords[loopNum].toLowerCase()) || isNumber || isSymbol)
|
//if (AlphaCharacter.alphabet.contains(splitWords[loopNum].toLowerCase()) || isNumber || isSymbol)
|
||||||
|
|
||||||
{
|
{
|
||||||
if (lastSprite != null && !xPosResetted)
|
if (lastSprite != null && !xPosResetted)
|
||||||
{
|
{
|
||||||
|
|
|
@ -758,7 +758,7 @@ class ChartingState extends MusicBeatState
|
||||||
|
|
||||||
function loadJson(song:String):Void
|
function loadJson(song:String):Void
|
||||||
{
|
{
|
||||||
PlayState.SONG = Song.loadFromJson(song);
|
PlayState.SONG = Song.loadFromJson(song.toLowerCase(), song.toLowerCase());
|
||||||
FlxG.resetState();
|
FlxG.resetState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -820,10 +820,12 @@ class PlayState extends MusicBeatState
|
||||||
{
|
{
|
||||||
trace('SONG DONE' + isStoryMode);
|
trace('SONG DONE' + isStoryMode);
|
||||||
|
|
||||||
|
|
||||||
#if !switch
|
#if !switch
|
||||||
NGio.postScore(songScore, SONG.song);
|
NGio.postScore(songScore, SONG.song);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
|
||||||
if (isStoryMode)
|
if (isStoryMode)
|
||||||
{
|
{
|
||||||
storyPlaylist.remove(storyPlaylist[0]);
|
storyPlaylist.remove(storyPlaylist[0]);
|
||||||
|
@ -840,6 +842,7 @@ class PlayState extends MusicBeatState
|
||||||
NGio.unlockMedal(60961);
|
NGio.unlockMedal(60961);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
|
||||||
FlxG.save.data.weekUnlocked = StoryMenuState.weekUnlocked;
|
FlxG.save.data.weekUnlocked = StoryMenuState.weekUnlocked;
|
||||||
FlxG.save.flush();
|
FlxG.save.flush();
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,7 @@ class Song
|
||||||
|
|
||||||
public static function loadFromJson(jsonInput:String, ?folder:String):SwagSong
|
public static function loadFromJson(jsonInput:String, ?folder:String):SwagSong
|
||||||
{
|
{
|
||||||
|
|
||||||
var rawJson = Assets.getText('assets/data/' + folder.toLowerCase() + '/' + jsonInput.toLowerCase() + '.json').trim();
|
var rawJson = Assets.getText('assets/data/' + folder.toLowerCase() + '/' + jsonInput.toLowerCase() + '.json').trim();
|
||||||
|
|
||||||
while (!rawJson.endsWith("}"))
|
while (!rawJson.endsWith("}"))
|
||||||
|
|
|
@ -40,6 +40,9 @@ class TitleState extends MusicBeatState
|
||||||
|
|
||||||
var curWacky:Array<String> = [];
|
var curWacky:Array<String> = [];
|
||||||
|
|
||||||
|
var wackyImage:FlxSprite;
|
||||||
|
|
||||||
|
|
||||||
override public function create():Void
|
override public function create():Void
|
||||||
{
|
{
|
||||||
#if (!web)
|
#if (!web)
|
||||||
|
@ -54,12 +57,16 @@ class TitleState extends MusicBeatState
|
||||||
|
|
||||||
super.create();
|
super.create();
|
||||||
|
|
||||||
|
|
||||||
#if (!switch && !debug && NG_LOGIN)
|
#if (!switch && !debug && NG_LOGIN)
|
||||||
|
|
||||||
var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey);
|
var ng:NGio = new NGio(APIStuff.API, APIStuff.EncKey);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
#if SKIP_TO_PLAYSTATE
|
#if SKIP_TO_PLAYSTATE
|
||||||
|
|
||||||
FlxG.switchState(new StoryMenuState());
|
FlxG.switchState(new StoryMenuState());
|
||||||
|
|
||||||
#else
|
#else
|
||||||
startIntro();
|
startIntro();
|
||||||
#end
|
#end
|
||||||
|
@ -197,9 +204,11 @@ class TitleState extends MusicBeatState
|
||||||
|
|
||||||
if (pressedEnter && !transitioning && skippedIntro)
|
if (pressedEnter && !transitioning && skippedIntro)
|
||||||
{
|
{
|
||||||
|
|
||||||
#if !switch
|
#if !switch
|
||||||
NGio.unlockMedal(60960);
|
NGio.unlockMedal(60960);
|
||||||
#end
|
#end
|
||||||
|
|
||||||
titleText.animation.play('press');
|
titleText.animation.play('press');
|
||||||
|
|
||||||
FlxG.camera.flash(FlxColor.WHITE, 1);
|
FlxG.camera.flash(FlxColor.WHITE, 1);
|
||||||
|
|
Loading…
Reference in a new issue