Merge branch 'master' into master
This commit is contained in:
25 files changed
+24
-2
No files matched your search
@@ -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>
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 39 KiB |
@@ -0,0 +1 @@
|
|||||||
|
{"song":{"song":"Ridge","notes":[{"lengthInSteps":16,"bpm":95,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[7138,0,0],[7345,2,0],[7552,3,0],[7759,0,0],[7862,3,315.7894736842105]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[8793,1,0],[8897,3,0],[9103,3,0],[9310,2,0],[9517,3,0],[9724,0,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[9936,3,1578.947368421053]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[11897,1,517.2413793103449],[12310,3,0],[12517,1,310.3448275862069],[12828,0,0],[13034,1,258.62068965517244]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[13862,1,0],[14069,3,0],[14276,0,0],[14379,1,0],[14586,3,465.51724137931035]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[15517,1,0],[15621,3,0],[15828,0,0],[16034,0,0],[16241,3,0],[16448,0,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[16655,2,413.7931034482759],[17172,1,103.44827586206898],[17379,0,1344.8275862068967]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[18517,1,0],[18724,2,620.689655172414]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[20483,0,0],[20483,4,0],[20586,3,0],[20586,7,0],[20793,2,0],[20793,6,0],[21000,3,0],[21000,7,0],[21207,0,0],[21207,4,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[22138,2,0],[22345,3,0],[22345,7,0],[22138,6,0],[22552,3,0],[22552,7,0],[22759,1,0],[22759,5,0],[22966,0,0],[22966,4,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[23185,1,0],[23188,5,0],[23483,7,310.3448275862069],[23483,3,310.3448275862069],[23793,1,0],[24000,2,0],[24000,6,0],[24207,2,0],[24207,6,0],[24414,4,310.3448275862069],[24414,0,310.3448275862069]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[25655,0,0],[26069,3,0],[26276,2,310.3448275862069],[26172,1,0],[25862,1,103.44827586206897]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[26793,3,0],[27207,0,0],[27310,1,1137.931034482759]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":false,"sectionNotes":[[29172,2,413.7931034482759]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[37138,3,0],[37241,1,0],[37448,0,0],[37655,0,0],[37862,1,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[38087,3,0],[38379,2,310.3448275862069],[38793,1,206.89655172413794],[39103,2,1086.2068965517246]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[40345,3,0],[40448,2,724.137931034483],[41276,2,465.51724137931035]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[42103,0,0],[42103,4,0],[42310,7,0],[42310,3,0],[42517,5,0],[42517,1,0],[42724,3,0],[42724,7,0],[42828,6,0],[42828,2,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[45517,0,0],[45724,3,0],[45517,4,0],[45724,7,0],[45931,5,0],[45931,1,0],[46138,6,0],[46138,2,0],[46034,7,0],[46034,3,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[47172,1,0],[47172,5,0],[47379,7,0],[47379,3,0],[47483,2,0],[47483,6,0],[47690,2,0],[47690,6,0],[47897,0,0],[47897,4,0]],"typeOfSection":0},{"lengthInSteps":16,"bpm":145,"changeBPM":false,"mustHitSection":true,"sectionNotes":[[48008,1,0],[48008,5,0],[48414,3,0],[48414,7,0]],Line truncated
|
||||||
Binary file not shown.
@@ -1 +1,2 @@
|
|||||||
{"song":{"song":"South","notes":[{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[11636.818181818182,3,0],[11999.818181818182,3,0],[12363.818181818182,0,0],[12545.818181818182,3,0],[12726.818181818182,2,0],[12908.818181818182,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[13101.818181818182,0,0],[13454.818181818182,1,0],[13817.818181818182,3,0],[13999.818181818182,3,0],[14181.818181818182,3,200]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[14545.818181818182,3,0],[14908.818181818182,3,0],[15272.818181818182,3,0],[15454.818181818182,2,0],[15636.818181818182,0,0],[15817.818181818182,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[16008.818181818182,0,0],[16363.818181818182,0,0],[16726.818181818184,2,0],[17090.818181818184,0,0],[17272.818181818184,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[17455,3,0],[17818,3,0],[18182,0,0],[18364,3,0],[18545,2,0],[18727,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[18920,0,0],[19273,1,0],[19636,3,0],[19818,3,0],[20000,3,200]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[20364,3,0],[20727,3,0],[21091,3,0],[21273,2,0],[21455,0,0],[21636,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[21827,0,0],[22182,0,0],[22545,2,0],[22909,0,0],[23091,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[23273,2,0],[23455,1,0],[23636,0,0],[23818,0,0],[23909,3,0],[24000,2,0],[24182,0,0],[24364,2,0],[24545,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[24734,2,0],[25091,2,0],[25455,2,0],[25636,1,0],[25818,0,0],[26000,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[26193,0,0],[26545,0,0],[26727,0,0],[26818,2,0],[26909,3,0],[27000,0,0],[27273,1,0],[27455,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[27648,2,0],[28000,2,0],[28364,2,0],[28545,3,0],[28727,0,0],[28909,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[29091.181818181816,2,0],[29273.181818181816,1,0],[29454.181818181816,0,0],[29636.181818181816,0,0],[29727.181818181816,3,0],[29818.181818181816,2,0],[30000.181818181816,0,0],[30182.181818181816,2,0],[30363.181818181816,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[30552.181818181816,2,0],[30909.181818181816,2,0],[31273.181818181816,2,0],[31454.181818181816,1,0],[31636.181818181816,0,0],[31818.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[32011.181818181816,0,0],[32363.181818181816,0,0],[32545.181818181816,0,0],[32636.181818181816,2,0],[32727.181818181816,3,0],[32818.181818181816,0,0],[33091.181818181816,1,0],[33273.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[33466.181818181816,2,0],[33818.181818181816,2,0],[34182.181818181816,2,0],[34363.181818181816,3,0],[34545.181818181816,0,0],[34727.181818181816,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[34918,2,0],[35091,3,0],[35273,0,0],[35455,2,0],[35636,3,0],[35818,0,0],[36000,2,0],[36182,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[36380,0,0],[36545,2,0],[36727,3,0],[36909,0,0],[37091,0,0],[37273,3,0],[37455,0,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[37834,2,0],[38000,3,0],[38182,0,0],[38364,2,0],[38545,3,0],[38727,0,0],[38909,2,0],[39091,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[39284,0,0],[39727,3,0],[39909,0,0],[40000,3,0],[40182,0,0],[40364,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[40736.181818181816,2,0],[40909.181818181816,3,0],[41091.181818181816,0,0],[41273.181818181816,2,0],[41454.181818181816,3,0],[41636.181818181816,0,0],[41818.181818181816,2,0],[42000.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[42198.181818181816,0,0],[42363.181818181816,2,0],[42545.181818181816,3,0],[42727.181818181816,0,0],[42909.181818181816,0,0],[43091.181818181816,3,0],[43273.181818181816Line truncated
|
|
||||||
|
{"song":{"song":"South","notes":[{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[11636.818181818182,3,0],[11999.818181818182,3,0],[12363.818181818182,0,0],[12545.818181818182,3,0],[12726.818181818182,2,0],[12908.818181818182,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[13101.818181818182,0,0],[13454.818181818182,1,0],[13817.818181818182,3,0],[13999.818181818182,3,0],[14181.818181818182,3,200]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[14545.818181818182,3,0],[14908.818181818182,3,0],[15272.818181818182,3,0],[15454.818181818182,2,0],[15636.818181818182,0,0],[15817.818181818182,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[16008.818181818182,0,0],[16363.818181818182,0,0],[16726.818181818184,2,0],[17090.818181818184,0,0],[17272.818181818184,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[17455,3,0],[17818,3,0],[18182,0,0],[18364,3,0],[18545,2,0],[18727,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[18920,0,0],[19273,1,0],[19636,3,0],[19818,3,0],[20000,3,200]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[20364,3,0],[20727,3,0],[21091,3,0],[21273,2,0],[21455,0,0],[21636,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[21827,0,0],[22182,0,0],[22545,2,0],[22909,0,0],[23091,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[23273,2,0],[23455,1,0],[23636,0,0],[23818,0,0],[23909,3,0],[24000,2,0],[24182,0,0],[24364,2,0],[24545,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[24734,2,0],[25091,2,0],[25455,2,0],[25636,1,0],[25818,0,0],[26000,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[26193,0,0],[26545,0,0],[26727,0,0],[26818,2,0],[26909,3,0],[27000,0,0],[27273,1,0],[27455,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[27648,2,0],[28000,2,0],[28364,2,0],[28545,3,0],[28727,0,0],[28909,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[29091.181818181816,2,0],[29273.181818181816,1,0],[29454.181818181816,0,0],[29636.181818181816,0,0],[29727.181818181816,3,0],[29818.181818181816,2,0],[30000.181818181816,0,0],[30182.181818181816,2,0],[30363.181818181816,1,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[30552.181818181816,2,0],[30909.181818181816,2,0],[31273.181818181816,2,0],[31454.181818181816,1,0],[31636.181818181816,0,0],[31818.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[32011.181818181816,0,0],[32363.181818181816,0,0],[32545.181818181816,0,0],[32636.181818181816,2,0],[32727.181818181816,3,0],[32818.181818181816,0,0],[33091.181818181816,1,0],[33273.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[33466.181818181816,2,0],[33818.181818181816,2,0],[34182.181818181816,2,0],[34363.181818181816,3,0],[34545.181818181816,0,0],[34727.181818181816,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[34918,2,0],[35091,3,0],[35273,0,0],[35455,2,0],[35636,3,0],[35818,0,0],[36000,2,0],[36182,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[36380,0,0],[36545,2,0],[36727,3,0],[36909,0,0],[37091,0,0],[37273,3,0],[37455,0,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[37834,2,0],[38000,3,0],[38182,0,0],[38364,2,0],[38545,3,0],[38727,0,0],[38909,2,0],[39091,3,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[39284,0,0],[39727,3,0],[39909,0,0],[40000,3,0],[40182,0,0],[40364,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[40736.181818181816,2,0],[40909.181818181816,3,0],[41091.181818181816,0,0],[41273.181818181816,2,0],[41454.181818181816,3,0],[41636.181818181816,0,0],[41818.181818181816,2,0],[42000.181818181816,3,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[42198.181818181816,0,0],[42363.181818181816,2,0],[42545.181818181816,3,0],[42727.181818181816,0,0],[42909.181818181816,0,0],[43091.181818181816,3,0],[43273.181818181816Line truncated
|
||||||
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);
|
||||||
|
|||||||
Reference in new issue
Block a user