starting to code scripting

This commit is contained in:
Yoshman29
2022-10-06 23:05:20 +02:00
parent 6709e9cbc2
commit a172a132c5
90 changed files with 375 additions and 22436 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"song":{"player2":"dad","player1":"bf","speed":1,"needsVoices":true,"sectionLengths":[],"song":"Bopeebo","notes":[{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[0,2,0],[600,3,450],[1050,3,600]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[2400,2,0],[3000,3,450],[3450,3,600]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[4800,1,300],[5400,0,300],[6000,3,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[7200,1,300],[7800,0,300],[8400,3,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[9600,1,150],[10200,3,0],[10500,0,0],[10800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[12000,1,150],[12600,3,0],[12900,0,0],[13200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[14400,3,0],[14700,1,0],[15300,0,0],[15600,2,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[16800,3,0],[17100,1,0],[17700,0,0],[18000,2,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[19200,0,0],[19500,3,0],[19800,1,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[21600,0,0],[21900,3,0],[22200,1,750]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[24000,1,0],[24300,3,0],[24600,0,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[26700,3,0],[27000,0,750],[26400,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[28800,2,0],[29100,3,0],[29400,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[31200,2,0],[31500,3,0],[31800,0,1050]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[33600,0,0],[33900,3,0],[34500,2,0],[34800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[36000,0,0],[36300,3,0],[36900,2,0],[37200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[38400,2,450],[39000,3,300],[39600,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[40800,2,450],[41400,3,300],[42000,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[43200,1,0],[43800,2,0],[44400,1,0],[44550,1,0],[44700,1,0],[45000,2,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[45600,1,0],[46200,2,0],[46800,1,0],[46950,1,0],[47100,1,0],[47400,2,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[48000,2,450],[48600,3,300],[49200,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[50400,2,450],[51000,3,300],[51600,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[52800,3,1650]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[55200,3,1650]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[57600,2,0],[57900,3,0],[58200,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[60000,2,0],[60300,3,0],[60600,0,1050],[62100,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[62400,0,0],[62700,3,0],[63300,2,0],[63600,1,450],[64500,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[64800,0,0],[65100,3,0],[65700,2,0],[66000,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[67200,2,0],[67500,3,0],[67800,0,0],[68100,2,0],[68400,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[69600,2,0],[69900,3,0],[70200,0,0],[70500,2,0],[70800,1,450],[71700,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[72000,0,0],[72300,3,0],[72900,2,0],[73200,1,450],[74100,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[74400,0,0],[74700,3,0],[75300,2,0],[75600,1,450]]},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0,"altAnim":false}],"bpm":100,"sections":0,"validScore":true}}
{"song":{"song":"Bopeebo","bpm":100.0,"needsVoices":true,"player1":"bf","player2":"dad","speed":1.0,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,2,0.0],[600.0,3,450.0],[1200.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[2400.0,2,0.0],[3000.0,3,450.0],[3600.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4800.0,1,300.0],[5400.0,0,300.0],[6000.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[7200.0,1,300.0],[7800.0,0,300.0],[8400.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[9600.0,1,0.0],[10200.0,3,0.0],[10500.0,0,0.0],[10800.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[12000.0,1,0.0],[12600.0,3,0.0],[12900.0,0,0.0],[13200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[14400.0,3,0.0],[14700.0,1,0.0],[15300.0,0,0.0],[15600.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[16800.0,3,0.0],[17100.0,1,0.0],[17700.0,0,0.0],[18000.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[19200.0,0,0.0],[19500.0,3,0.0],[19800.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[21600.0,0,0.0],[21900.0,3,0.0],[22200.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[24000.0,1,0.0],[24300.0,3,0.0],[24600.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[26400.0,1,0.0],[26700.0,3,0.0],[27000.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[28800.0,2,0.0],[29100.0,3,0.0],[29400.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[31200.0,2,0.0],[31500.0,3,0.0],[31800.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[33600.0,0,0.0],[33900.0,3,0.0],[34500.0,2,0.0],[34800.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[36000.0,0,0.0],[36300.0,3,0.0],[36900.0,2,0.0],[37200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[38400.0,2,450.0],[39000.0,3,300.0],[39600.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[40800.0,2,450.0],[41400.0,3,300.0],[42000.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[43200.0,1,0.0],[43800.0,2,0.0],[44400.0,1,0.0],[44700.0,1,0.0],[45000.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[45600.0,1,0.0],[46200.0,2,0.0],[46800.0,1,0.0],[47100.0,1,0.0],[47400.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[48000.0,2,450.0],[48600.0,3,300.0],[49200.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[50400.0,2,450.0],[51000.0,3,300.0],[51600.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[52800.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[55200.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[57600.0,2,0.0],[57900.0,3,0.0],[58200.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[60000.0,2,0.0],[60300.0,3,0.0],[60600.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[62400.0,0,0.0],[62700.0,3,0.0],[63300.0,2,0.0],[63600.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[64800.0,0,0.0],[65100.0,3,0.0],[65700.0,2,0.0],[66000.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[67200.0,2,0.0],[67500.0,3,0.0],[67800.0,0,0.0],[68100.0,2,0.0],[68400.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[69600.0,2,0.0],[69900.0,3,0.0],[70200.0,0,0.0],[70500.0,2,0.0],[70800.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[72000.0,0,0.0],[72300.0,3,0.0],[72900.0,2,0.0],[73200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[74400.0,0,0.0],[74700.0,3,0.0],[75300.0,2,0.0],[75600.0,1,600.0]]}]},"generatedBy":"SNIFF ver.6"}
+1 -1
View File
@@ -1 +1 @@
{"song":{"player2":"dad","player1":"bf","speed":1.6,"needsVoices":true,"sectionLengths":[],"song":"Bopeebo","notes":[{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[0,2,0],[600,3,450],[1050,3,600]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[2400,2,0],[3000,3,450],[3450,3,600]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[4800,1,300],[5400,0,300],[6000,3,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[7200,1,300],[7800,0,300],[8400,3,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[9600,1,150],[10200,3,0],[10500,0,0],[10800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[12000,1,150],[12600,3,0],[12900,0,0],[13200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[14400,3,0],[14700,1,0],[15300,0,0],[15600,2,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[16800,3,0],[17100,1,0],[17700,0,0],[18000,2,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[19200,0,0],[19500,3,0],[19800,1,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[21600,0,0],[21900,3,0],[22200,1,750]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[24000,1,0],[24300,3,0],[24600,0,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[26700,3,0],[27000,0,750],[26400,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[28800,2,0],[29100,3,0],[29400,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[31200,2,0],[31500,3,0],[31800,0,1050]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[33600,0,0],[33900,3,0],[34500,2,0],[34800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[36000,0,0],[36300,3,0],[36900,2,0],[37200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[38400,2,450],[39000,3,300],[39600,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[40800,2,450],[41400,3,300],[42000,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[43200,1,0],[43800,2,0],[44400,1,0],[44550,1,0],[44700,1,0],[45000,2,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[45600,1,0],[46200,2,0],[46800,1,0],[46950,1,0],[47100,1,0],[47400,2,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[48000,2,450],[48600,3,300],[49200,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[50400,2,450],[51000,3,300],[51600,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[52800,3,1650]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[55200,3,1650]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[57600,2,0],[57900,3,0],[58200,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[60000,2,0],[60300,3,0],[60600,0,1050],[62100,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[62400,0,0],[62700,3,0],[63300,2,0],[63600,1,450],[64500,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[64800,0,0],[65100,3,0],[65700,2,0],[66000,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[67200,2,0],[67500,3,0],[67800,0,0],[68100,2,0],[68400,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[69600,2,0],[69900,3,0],[70200,0,0],[70500,2,0],[70800,1,450],[71700,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[72000,0,0],[72300,3,0],[72900,2,0],[73200,1,450],[74100,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[74400,0,0],[74700,3,0],[75300,2,0],[75600,1,450]]},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0,"altAnim":false}],"bpm":100,"sections":0,"validScore":true}}
{"song":{"song":"Bopeebo","bpm":100.0,"needsVoices":true,"player1":"bf","player2":"dad","speed":1.3,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,2,0.0],[600.0,3,600.0],[1200.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[2400.0,2,0.0],[3000.0,3,600.0],[3600.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4800.0,1,300.0],[5400.0,0,300.0],[6000.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[7200.0,1,300.0],[7800.0,0,300.0],[8400.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[9600.0,1,300.0],[10200.0,3,0.0],[10500.0,0,0.0],[10800.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[12000.0,1,300.0],[12600.0,3,0.0],[12900.0,0,0.0],[13200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[14400.0,3,0.0],[14700.0,1,0.0],[15300.0,0,0.0],[15600.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[16800.0,3,0.0],[17100.0,1,0.0],[17700.0,0,0.0],[18000.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[19200.0,0,0.0],[19500.0,3,0.0],[19800.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[21600.0,0,0.0],[21900.0,3,0.0],[22200.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[24000.0,1,0.0],[24300.0,3,0.0],[24600.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[26400.0,1,0.0],[26700.0,3,0.0],[27000.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[28800.0,2,0.0],[29100.0,3,0.0],[29400.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[31200.0,2,0.0],[31500.0,3,0.0],[31800.0,0,1200.0],[33300.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[33600.0,0,0.0],[33900.0,3,0.0],[34500.0,2,0.0],[34575.0,0,0.0],[34800.0,1,600.0],[35700.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[36000.0,0,0.0],[36300.0,3,0.0],[36900.0,2,0.0],[36975.0,0,0.0],[37200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[38400.0,2,450.0],[39000.0,3,300.0],[39600.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[40800.0,2,450.0],[41400.0,3,300.0],[42000.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[43200.0,1,0.0],[43800.0,2,0.0],[44400.0,1,0.0],[44550.0,1,0.0],[44700.0,1,0.0],[45000.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[45600.0,1,0.0],[46200.0,2,0.0],[46800.0,1,0.0],[46950.0,1,0.0],[47100.0,1,0.0],[47400.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[48000.0,2,450.0],[48600.0,3,300.0],[49200.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[50400.0,2,450.0],[51000.0,3,300.0],[51600.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[52800.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[55200.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[57600.0,2,0.0],[57900.0,3,0.0],[58200.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[60000.0,2,0.0],[60300.0,3,0.0],[60600.0,0,1200.0],[62100.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[62400.0,0,0.0],[62700.0,3,0.0],[63300.0,2,0.0],[63375.0,0,0.0],[63600.0,1,600.0],[64500.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[64800.0,0,0.0],[65100.0,3,0.0],[65700.0,2,0.0],[65775.0,0,0.0],[66000.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[67200.0,2,0.0],[67500.0,3,0.0],[67800.0,0,0.0],[68100.0,2,0.0],[68400.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[69600.0,2,0.0],[69900.0,3,0.0],[70200.0,0,0.0],[70500.0,2,0.0],[70800.0,1,600.0],[71700.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[72000.0,0,0.0],[72300.0,3,0.0],[72900.0,2,0.0],[72975.0,0,0.0],[73200.0,1,600.0],[74100.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[74400.0,0,0.0],[74700.0,3,0.0],[75300.0,2,0.0],[75375.0,0,0.0],[75600.0,1,600.0]]}]},"generatedBy":"SNIFF ver.6"}
+1 -1
View File
@@ -1 +1 @@
{"song":{"player2":"dad","player1":"bf","speed":1,"needsVoices":true,"sectionLengths":[],"song":"Bopeebo","notes":[{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[0,2,0],[600,3,450],[1050,3,600]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[2400,2,0],[3000,3,450],[3450,3,600]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[4800,1,300],[5400,0,300],[6000,3,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[7200,1,300],[7800,0,300],[8400,3,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[9600,1,150],[10200,3,0],[10500,0,0],[10800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[12000,1,150],[12600,3,0],[12900,0,0],[13200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[14400,3,0],[14700,1,0],[15300,0,0],[15600,2,300]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[16800,3,0],[17100,1,0],[17700,0,0],[18000,2,300]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[19200,0,0],[19500,3,0],[19800,1,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[21600,0,0],[21900,3,0],[22200,1,750]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[24000,1,0],[24300,3,0],[24600,0,750]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[26700,3,0],[27000,0,750],[26400,1,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[28800,2,0],[29100,3,0],[29400,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[31200,2,0],[31500,3,0],[31800,0,1050]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[33600,0,0],[33900,3,0],[34500,2,0],[34800,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[36000,0,0],[36300,3,0],[36900,2,0],[37200,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[38400,2,450],[39000,3,300],[39600,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[40800,2,450],[41400,3,300],[42000,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[43200,1,0],[43800,2,0],[44400,1,0],[44550,1,0],[44700,1,0],[45000,2,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[45600,1,0],[46200,2,0],[46800,1,0],[46950,1,0],[47100,1,0],[47400,2,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[48000,2,450],[48600,3,300],[49200,0,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[50400,2,450],[51000,3,300],[51600,0,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[52800,3,1650]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[55200,3,1650]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[57600,2,0],[57900,3,0],[58200,0,1050]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[60000,2,0],[60300,3,0],[60600,0,1050],[62100,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[62400,0,0],[62700,3,0],[63300,2,0],[63600,1,450],[64500,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[64800,0,0],[65100,3,0],[65700,2,0],[66000,1,450]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[67200,2,0],[67500,3,0],[67800,0,0],[68100,2,0],[68400,1,450]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[69600,2,0],[69900,3,0],[70200,0,0],[70500,2,0],[70800,1,450],[71700,6,0]]},{"mustHitSection":false,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[72000,0,0],[72300,3,0],[72900,2,0],[73200,1,450],[74100,6,0]]},{"mustHitSection":true,"typeOfSection":0,"lengthInSteps":16,"sectionNotes":[[74400,0,0],[74700,3,0],[75300,2,0],[75600,1,450]]},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0},{"lengthInSteps":16,"bpm":100,"changeBPM":false,"mustHitSection":true,"sectionNotes":[],"typeOfSection":0,"altAnim":false}],"bpm":100,"sections":0,"validScore":true}}
{"song":{"song":"Bopeebo","bpm":100.0,"needsVoices":true,"player1":"bf","player2":"dad","speed":1.0,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,2,0.0],[600.0,3,600.0],[1200.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[2400.0,2,0.0],[3000.0,3,600.0],[3600.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4800.0,1,300.0],[5400.0,0,300.0],[6000.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[7200.0,1,300.0],[7800.0,0,300.0],[8400.0,3,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[9600.0,1,300.0],[10200.0,3,0.0],[10500.0,0,0.0],[10800.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[12000.0,1,300.0],[12600.0,3,0.0],[12900.0,0,0.0],[13200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[14400.0,3,0.0],[14700.0,1,0.0],[15300.0,0,0.0],[15600.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[16800.0,3,0.0],[17100.0,1,0.0],[17700.0,0,0.0],[18000.0,2,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[19200.0,0,0.0],[19500.0,3,0.0],[19800.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[21600.0,0,0.0],[21900.0,3,0.0],[22200.0,1,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[24000.0,1,0.0],[24300.0,3,0.0],[24600.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[26400.0,1,0.0],[26700.0,3,0.0],[27000.0,0,900.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[28800.0,2,0.0],[29100.0,3,0.0],[29400.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[31200.0,2,0.0],[31500.0,3,0.0],[31800.0,0,1200.0],[33300.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[33600.0,0,0.0],[33900.0,3,0.0],[34500.0,2,0.0],[34800.0,1,600.0],[35700.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[36000.0,0,0.0],[36300.0,3,0.0],[36900.0,2,0.0],[37200.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[38400.0,2,450.0],[39000.0,3,300.0],[39600.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[40800.0,2,450.0],[41400.0,3,300.0],[42000.0,0,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[43200.0,1,0.0],[43800.0,2,0.0],[44400.0,1,0.0],[44550.0,1,0.0],[44700.0,1,0.0],[45000.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[45600.0,1,0.0],[46200.0,2,0.0],[46800.0,1,0.0],[46950.0,1,0.0],[47100.0,1,0.0],[47400.0,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[48000.0,2,450.0],[48600.0,3,300.0],[49200.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[50400.0,2,450.0],[51000.0,3,300.0],[51600.0,0,450.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[52800.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[55200.0,3,1800.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[57600.0,2,0.0],[57900.0,3,0.0],[58200.0,0,1200.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[60000.0,2,0.0],[60300.0,3,0.0],[60600.0,0,1200.0],[62100.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[62400.0,0,0.0],[62700.0,3,0.0],[63300.0,2,0.0],[63600.0,1,600.0],[64500.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[64800.0,0,0.0],[65100.0,3,0.0],[65700.0,2,0.0],[66000.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[67200.0,2,0.0],[67500.0,3,0.0],[67800.0,0,0.0],[68100.0,2,0.0],[68400.0,1,600.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[69600.0,2,0.0],[69900.0,3,0.0],[70200.0,0,0.0],[70500.0,2,0.0],[70800.0,1,600.0],[71700.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[72000.0,0,0.0],[72300.0,3,0.0],[72900.0,2,0.0],[73200.0,1,600.0],[74100.0,6,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[74400.0,0,0.0],[74700.0,3,0.0],[75300.0,2,0.0],[75600.0,1,600.0]]}]},"generatedBy":"SNIFF ver.6"}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"song":{"song":"Guns","bpm":185.0,"needsVoices":true,"player1":"bf","player2":"tankman","speed":2.0,"notes":[{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[10378.3779,1,0.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"song":{"song":"Stress","bpm":178.0,"needsVoices":true,"player1":"bf-holding-gf","player2":"tankman","speed":2.6,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,1,0.0],[168.539322,2,0.0],[337.078644,0,0.0],[505.617981,0,0.0],[674.1573,2,0.0],[842.696655,3,0.0],[1011.23596,1,0.0],[1179.77527,3,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[1348.31458,0,0.0],[1516.85388,3,0.0],[1685.39331,2,0.0],[1853.93262,3,0.0],[2022.47192,1,0.0],[2191.01123,3,0.0],[2359.55054,0,0.0],[2528.08984,3,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[2696.62915,1,0.0],[2865.16846,2,0.0],[3033.70776,0,0.0],[3202.247,0,0.0],[3370.7866
+1
View File
@@ -0,0 +1 @@
{"song":{"song":"Stress","bpm":178.0,"needsVoices":true,"player1":"bf-holding-gf","player2":"tankman","speed":2.2,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,2,0.0],[168.539322,3,0.0],[337.078644,0,0.0],[674.1573,0,0.0],[842.696655,3,0.0],[1011.23596,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[1348.31458,1,0.0],[1516.85388,0,0.0],[1685.39331,3,0.0],[1853.93262,2,0.0],[2022.47192,0,0.0],[2191.01123,3,0.0],[2359.55054,1,0.0],[2528.08984,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[2696.62915,2,0.0],[2865.16846,3,0.0],[3033.70776,0,0.0],[3370.78662,0,0.0],[3539.326,3,0.0],[3707.86523,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4044.94385,1,0.0],[4213.483,0,0.0],[4382.02246,3,0.0],[4550.562,2,0.0],[4719.101,0,0.0],[4887.64063,3,0.0],[5056.17969,1,0.0],[5224.719,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[5393.2583,2,0.0],[5561.798,3,0.0],[5730.337,0,0.0],[6067.41553,0,0.0],[6235.955,3,0.0],[6404.494,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[6741.573,1,0.0],[6910.1123,0,0.0],[7078.652,3,0.0],[7247.191,2,0.0],[7415.73047,0,0.0],[7584.26953,3,0.0],[7752.809,1,0.0],[7921.348,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[8089.8877,2,0.0],[8258.427,3,0.0],[8426.966,0,0.0],[8764.045,0,0.0],[8932.584,3,0.0],[9101.124,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[9438.202,1,0.0],[9606.741,0,0.0],[9775.281,3,0.0],[9943.82,2,0.0],[10112.3594,0,0.0],[10280.8984,3,0.0],[10449.4385,1,0.0],[10617.9775,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[11123.5957,0,0.0],[11292.1348,1,0.0],[11460.6738,3,252.80899],[11797.7529,1,252.80899]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[12134.8311,0,0.0],[12471.91,0,0.0],[12808.9883,0,0.0],[12977.5283,0,0.0],[13146.0674,3,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[13483.1465,1,0.0],[13651.6855,0,0.0],[13820.2246,3,0.0],[13988.7637,1,0.0],[14157.3037,0,0.0],[14325.8428,3,0.0],[14494.3818,1,0.0],[14662.9209,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[14831.4609,5,0.0],[14831.4609,0,252.80899],[15000.0,4,0.0],[15168.5391,7,0.0],[15168.5391,1,252.80899],[15337.0791,5,0.0],[15505.6182,4,0.0],[15505.6182,3,252.80899],[15674.1572,7,0.0],[15842.6963,5,0.0],[15842.6963,1,252.80899],[16011.2363,4,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[16179.7754,3,252.80899],[16516.8535,0,0.0],[16685.3926,1,0.0],[16853.9316,3,252.80899],[17191.0117,1,252.80899]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[17528.09,0,0.0],[17865.168,0,0.0],[18202.248,0,0.0],[18370.7871,0,0.0],[18539.3262,3,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[18876.4043,1,0.0],[19044.9434,0,0.0],[19213.4824,3,0.0],[19382.0215,1,0.0],[19550.5625,0,0.0],[19719.1016,3,0.0],[19887.64,1,0.0],[20056.18,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[20224.7188,1,0.0],[20393.2578,0,0.0],[20561.7969,3,0.0],[20730.3379,1,0.0],[20898.877,0,0.0],[21067.416,3,0.0],[21235.9551,1,0.0],[21404.4941,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[21573.0332,3,0.0],[21573.0332,7,0.0],[21741.5723,2,0.0],[21910.1133,0,0.0],[21910.1133,7,0.0],[22078.6523,2,0.0],[22247.1914,3,0.0],[22247.1914,7,0.0],[22415.73,2,0.0],[22584.27,0,0.0],[22584.27,7,0.0],[22752.8086,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[22921.3477,3,0.0],[22921.3477,5,0.0],[23089.8867,2,0.0],[23258.4277,3,0.0],[23258.4277,5,0.0],[23426.9668,2,0.0],[23595.5059,3,0.0],[23595.5059,7,252.80899],[23764.0449,0,0.0],[23932.584,4,252.80899],[23932.584,1,0.0],[24101.123,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[24269.6621,6,0.0],[24269.6621,3,0.0],[24438.2031,2,0.0],[24606.7422,0,0.0],[24775.2813,2,0.0],[24943.82,3,0.0],[25112.36,2,0.0],[25280.8984,0,0.0],[25449.4375,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[25617.9766,3,0.0],[25786.5176,2,0.0],[25955.0566,3,0.0],[26123.5957,2,0.0]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"song":{"song":"Ugh","bpm":160.0,"needsVoices":true,"player1":"bf","player2":"tankman","speed":1.25,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,3,0.0],[375.0,0,0.0],[750.0,2,0.0],[1125.0,0,281.25]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[1500.0,3,0.0],[1875.0,1,0.0],[2250.0,1,281.25],[2625.0,3,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[3000.0,3,0.0],[3375.0,0,0.0],[3750.0,2,0.0],[4125.0,0,281.25]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4500.0,3,0.0],[4875.0,0,0.0],[5062.5,1,0.0],[5250.0,0,281.25],[5625.0,2,0.0,true]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[6000.0,3,0.0],[6375.0,0,0.0],[6750.0,2,0.0],[7125.0,0,281.25]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[7500.0,3,0.0],[7875.0,1,0.0],[8250.0,1,281.25],[8625.0,3,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[9000.0,3,0.0],[9375.0,0,0.0],[9750.0,2,0.0],[10125.0,0,281.25]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[10500.0,3,0.0],[10875.0,0,0.0],[11062.5,1,0.0],[11250.0,0,281.25],[11625.0,1,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[12000.0,3,0.0],[12375.0,0,0.0],[12750.0,3,0.0],[12937.5,1,0.0],[13125.0,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[13500.0,3,0.0],[13875.0,3,0.0],[14250.0,2,0.0],[14625.0,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[15000.0,3,187.5],[15375.0,3,187.5],[15750.0,1,187.5],[16125.0,0,0.0],[16312.5,1,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[16500.0,3,0.0],[16875.0,2,0.0],[17250.0,1,0.0],[17625.0,1,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[18000.0,7,562.5],[18000.0,3,0.0],[18375.0,0,0.0],[18750.0,3,0.0],[18937.5,1,0.0],[19125.0,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[19500.0,3,0.0],[19875.0,3,0.0],[20250.0,2,0.0],[20625.0,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[21000.0,3,187.5],[21375.0,3,187.5],[21750.0,1,187.5],[22125.0,0,0.0],[22312.5,1,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[22500.0,3,0.0],[22875.0,2,0.0],[23250.0,1,0.0],[23625.0,1,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[24000.0,7,562.5],[24000.0,3,0.0],[24187.5,1,0.0],[24375.0,0,0.0],[24562.5,3,0.0],[24750.0,1,0.0],[24937.5,0,0.0],[25125.0,3,0.0],[25312.5,1,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[25500.0,0,0.0],[25687.5,3,0.0],[25875.0,1,0.0],[26062.5,0,0.0],[26250.0,1,0.0],[26625.0,3,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[27000.0,3,0.0]
+1
View File
@@ -0,0 +1 @@
{"song":{"song":"Ugh","bpm":160.0,"needsVoices":true,"player1":"bf","player2":"tankman","speed":2.3,"notes":[{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[0.0,3,0.0],[187.5,3,0.0],[375.0,0,93.75],[562.5,3,0.0],[750.0,2,93.75],[937.5,3,0.0],[1125.0,0,93.75],[1312.5,2,0.0],[1406.25,2,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[1500.0,3,0.0],[1593.75,2,0.0],[1687.5,3,0.0],[1781.25,1,0.0],[1875.0,0,0.0],[1968.75,1,0.0],[2062.5,0,93.75],[2250.0,1,281.25],[2625.0,3,281.25]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[3000.0,3,0.0],[3187.5,3,0.0],[3375.0,0,93.75],[3562.5,3,0.0],[3750.0,2,93.75],[3937.5,3,0.0],[4125.0,1,281.25]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[4500.0,3,0.0],[4687.5,2,0.0],[4875.0,1,0.0],[5062.5,0,0.0],[5250.0,3,281.25],[5625.0,2,0.0,true]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[6000.0,3,0.0],[6187.5,3,0.0],[6375.0,0,93.75],[6562.5,3,0.0],[6750.0,2,93.75],[6937.5,3,0.0],[7125.0,0,93.75],[7312.5,2,0.0],[7406.25,2,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[7500.0,3,0.0],[7593.75,2,0.0],[7687.5,3,0.0],[7781.25,1,0.0],[7875.0,0,0.0],[7968.75,1,0.0],[8062.5,0,93.75],[8250.0,1,281.25],[8625.0,3,281.25]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[9000.0,3,0.0],[9187.5,3,0.0],[9375.0,0,93.75],[9562.5,3,0.0],[9750.0,2,93.75],[9937.5,3,0.0],[10125.0,1,281.25]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[10500.0,3,0.0],[10687.5,2,0.0],[10875.0,1,0.0],[11062.5,0,0.0],[11250.0,3,281.25],[11625.0,1,281.25]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[12000.0,3,0.0],[12093.75,3,0.0],[12187.5,1,0.0],[12375.0,0,0.0],[12562.5,1,0.0],[12750.0,0,0.0],[12843.75,1,0.0],[12937.5,3,0.0],[13031.25,1,0.0],[13125.0,0,93.75],[13312.5,1,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[13500.0,3,93.75],[13687.5,1,0.0],[13875.0,3,93.75],[14062.5,0,0.0],[14250.0,2,0.0],[14437.5,3,0.0],[14625.0,0,0.0],[14812.5,3,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[15000.0,3,0.0],[15187.5,3,0.0],[15281.25,2,0.0],[15375.0,3,0.0],[15562.5,2,0.0],[15656.25,1,0.0],[15750.0,2,0.0],[15937.5,1,0.0],[16031.25,0,0.0],[16125.0,1,0.0],[16312.5,0,0.0]]},{"lengthInSteps":16,"mustHitSection":false,"sectionNotes":[[16500.0,1,93.75],[16687.5,2,93.75],[16875.0,3,93.75],[17062.5,0,93.75],[17250.0,1,93.75],[17437.5,0,0.0],[17531.25,1,0.0],[17625.0,3,93.75],[17812.5,0,0.0]]},{"lengthInSteps":16,"mustHitSection":true,"sectionNotes":[[18000.0,3,0.0],[18000.0,7,281.25],[18093.75,3,0.0],[18187.5,1,0.0],[18375.0,0,0.0],[18562.5,1,0.0],[18750.0,0,0.0],[18843.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -4,7 +4,7 @@
<!-- Sing Animations -->
<anim name="singLEFT" anim="Pico Note Right0" fps="24" loop="false" x="65" y="9" />
<anim name="singDOWN" anim="Pico Down Note0" fps="24" loop="false" x="0" y="-70" />
<anim name="singDOWN" anim="Pico Down Note0" fps="24" loop="false" x="-86" y="-80" />
<anim name="singUP" anim="pico Up note0" fps="24" loop="false" x="-29" y="27" />
<anim name="singRIGHT" anim="Pico NOTE LEFT0" fps="24" loop="false" x="-68" y="-7" />
+7
View File
@@ -0,0 +1,7 @@
<!DOCTYPE codename-engine-stage>
<stage zoom="1.05" name="spooky" folder="stages/spooky/">
<sprite name="bg" x="-200" y="-100" sprite="halloween_bg">
<anim name="idle" anim="halloweem bg0" />
<anim name="lightning" anim="halloweem bg lightning strike" loop="false"/>
</sprite>
</stage>
+9
View File
@@ -0,0 +1,9 @@
<!DOCTYPE codename-engine-stage>
<stage zoom="0.9" name="stage" folder="stages/default/">
<sprite name="bg" x="-600" y="-200" sprite="stageback" scroll="0.9" />
<sprite name="stageFront" x="-600" y="600" sprite="stagefront" scroll="0.9" />
<girlfriend />
<dad />
<boyfriend />
<sprite name="stageCurtains" x="-500" y="-300" sprite="stagecurtains" scroll="1.3" />
</stage>

Before

Width:  |  Height:  |  Size: 5.2 MiB

After

Width:  |  Height:  |  Size: 5.2 MiB

-3
View File
@@ -1,3 +0,0 @@
{
}
+1 -1
View File
@@ -1 +1 @@
182
189
+7 -3
View File
@@ -1,8 +1,10 @@
package;
import Conductor.BPMChangeEvent;
import funkin.system.Conductor.BPMChangeEvent;
import Section.SwagSection;
import Song.SwagSong;
import funkin.system.Conductor;
import funkin.system.Song.SwagSong;
import funkin.system.Song;
import flixel.FlxG;
import flixel.FlxSprite;
import flixel.addons.display.FlxGridOverlay;
@@ -31,6 +33,7 @@ import openfl.events.IOErrorEvent;
import openfl.media.Sound;
import openfl.net.FileReference;
import openfl.utils.ByteArray;
import funkin.system.Conductor;
import funkin.game.Note;
@@ -122,7 +125,8 @@ class ChartingState extends MusicBeatState
player1: 'bf',
player2: 'dad',
speed: 1,
validScore: false
validScore: false,
stage: 'stage'
};
}
+1
View File
@@ -13,6 +13,7 @@ import flixel.graphics.frames.FlxAtlasFrames;
import openfl.utils.Assets;
import haxe.xml.Access;
import haxe.Exception;
import funkin.system.Conductor;
using StringTools;
+2 -1
View File
@@ -8,6 +8,7 @@ import flixel.util.FlxColor;
import flixel.util.FlxTimer;
import funkin.menus.StoryMenuState;
import funkin.menus.FreeplayState;
import funkin.system.Conductor;
class GameOverSubstate extends MusicBeatSubstate
{
@@ -28,7 +29,7 @@ class GameOverSubstate extends MusicBeatSubstate
public override function create()
{
super.create();
var daStage = PlayState.curStage;
var daStage = PlayState.instance.curStage;
var daBf:String = '';
switch (daStage)
{
+4 -3
View File
@@ -5,6 +5,7 @@ import flixel.graphics.frames.FlxAtlasFrames;
import flixel.math.FlxMath;
import flixel.util.FlxColor;
import flixel.math.FlxRect;
import funkin.system.Conductor;
#if polymod
import polymod.format.ParseRules.TargetSignatureElement;
#end
@@ -53,7 +54,7 @@ class Note extends FlxSprite
this.noteData = noteData;
var daStage:String = PlayState.curStage;
var daStage:String = PlayState.instance.curStage;
switch (daStage)
{
@@ -147,7 +148,7 @@ class Note extends FlxSprite
x -= width / 2;
if (PlayState.curStage.startsWith('school'))
if (PlayState.instance.curStage.startsWith('school'))
x += 30;
if (prevNote.isSustainNote)
@@ -164,7 +165,7 @@ class Note extends FlxSprite
prevNote.animation.play('redhold');
}
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.5 * PlayState.SONG.speed;
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.5 * PlayState.instance.scrollSpeed;
prevNote.updateHitbox();
// prevNote.setGraphicSize();
}
+69 -52
View File
@@ -4,7 +4,7 @@ package funkin.game;
import Discord.DiscordClient;
#end
import Section.SwagSection;
import Song.SwagSong;
import funkin.system.Song.SwagSong;
import WiggleEffect.WiggleEffectType;
import flixel.FlxBasic;
import flixel.FlxCamera;
@@ -41,6 +41,8 @@ import lime.utils.Assets;
import openfl.display.BlendMode;
import openfl.display.StageQuality;
import openfl.filters.ShaderFilter;
import funkin.system.Conductor;
import funkin.system.Song;
import funkin.menus.*;
@@ -48,10 +50,11 @@ using StringTools;
class PlayState extends MusicBeatState
{
public static var instance:PlayState = null;
/**
* SONG METADATA
*/
public static var curStage:String = '';
public static var SONG:SwagSong;
public static var isStoryMode:Bool = false;
public static var storyWeek:Int = 0;
@@ -59,70 +62,75 @@ class PlayState extends MusicBeatState
public static var storyDifficulty:Int = 1;
public static var fromMods:Bool = false;
var halloweenLevel:Bool = false;
public var halloweenLevel:Bool = false;
private var vocals:FlxSound;
public var stage:Stage;
public var scrollSpeed:Float = 0;
private var dad:Character;
private var gf:Character;
private var boyfriend:Character;
public var vocals:FlxSound;
private var notes:FlxTypedGroup<Note>;
private var unspawnNotes:Array<Note> = [];
public var dad:Character;
public var gf:Character;
public var boyfriend:Character;
private var strumLine:FlxSprite;
private var curSection:Int = 0;
public var notes:FlxTypedGroup<Note>;
public var unspawnNotes:Array<Note> = [];
private var camFollow:FlxObject;
public var strumLine:FlxSprite;
public var curSection:Int = 0;
public var camFollow:FlxObject;
private static var prevCamFollow:FlxObject;
private var strumLineNotes:FlxTypedGroup<Strum>;
private var playerStrums:FlxTypedGroup<Strum>;
private var cpuStrums:FlxTypedGroup<Strum>;
public var strumLineNotes:FlxTypedGroup<Strum>;
public var playerStrums:FlxTypedGroup<Strum>;
public var cpuStrums:FlxTypedGroup<Strum>;
private var camZooming:Bool = false;
private var curSong:String = "";
public var camZooming:Bool = false;
public var curSong:String = "";
public var curStage:String = "";
private var gfSpeed:Int = 1;
private var health:Float = 1;
private var combo:Int = 0;
public var gfSpeed:Int = 1;
public var health:Float = 1;
public var combo:Int = 0;
private var healthBarBG:FlxSprite;
private var healthBar:FlxBar;
public var healthBarBG:FlxSprite;
public var healthBar:FlxBar;
private var generatedMusic:Bool = false;
private var startingSong:Bool = false;
public var generatedMusic:Bool = false;
public var startingSong:Bool = false;
private var iconP1:HealthIcon;
private var iconP2:HealthIcon;
private var camHUD:FlxCamera;
private var camGame:FlxCamera;
public var iconP1:HealthIcon;
public var iconP2:HealthIcon;
public var camHUD:FlxCamera;
public var camGame:FlxCamera;
var songScore:Int = 0;
var scoreTxt:FlxText;
public var songScore:Int = 0;
public var scoreTxt:FlxText;
public static var campaignScore:Int = 0;
var defaultCamZoom:Float = 1.05;
public var defaultCamZoom:Float = 1.05;
// how big to stretch the pixel art assets
public static var daPixelZoom:Float = 6;
var inCutscene:Bool = false;
public var inCutscene:Bool = false;
#if desktop
// Discord RPC variables
var storyDifficultyText:String = "";
var iconRPC:String = "";
var songLength:Float = 0;
var detailsText:String = "";
var detailsPausedText:String = "";
public var storyDifficultyText:String = "";
public var iconRPC:String = "";
public var songLength:Float = 0;
public var detailsText:String = "";
public var detailsPausedText:String = "";
#end
override public function create()
{
instance = this;
if (FlxG.sound.music != null)
FlxG.sound.music.stop();
@@ -139,6 +147,8 @@ class PlayState extends MusicBeatState
if (SONG == null)
SONG = Song.loadFromJson('tutorial', 'normal');
scrollSpeed = SONG.speed;
Conductor.mapBPMChanges(SONG);
Conductor.changeBPM(SONG.bpm);
@@ -176,9 +186,11 @@ class PlayState extends MusicBeatState
boyfriend = new Character(770, 100, SONG.player1, true);
add(gf);
if (SONG.stage == null || SONG.stage.trim() == "") SONG.stage = "stage";
// TODO: Custom Stage Loading
add(new Stage(SONG.stage));
// TODO: cool layering 🔥
add(gf);
add(dad);
add(boyfriend);
@@ -253,8 +265,8 @@ class PlayState extends MusicBeatState
startCountdown();
}
var startTimer:FlxTimer;
var perfectMode:Bool = false;
public var startTimer:FlxTimer;
public var perfectMode:Bool = false;
function startCountdown():Void
{
@@ -359,9 +371,9 @@ class PlayState extends MusicBeatState
}, 5);
}
var previousFrameTime:Int = 0;
var lastReportedPlayheadPosition:Int = 0;
var songTime:Float = 0;
public var previousFrameTime:Int = 0;
public var lastReportedPlayheadPosition:Int = 0;
public var songTime:Float = 0;
function startSong():Void
{
@@ -378,7 +390,12 @@ class PlayState extends MusicBeatState
updateDiscordStatus();
}
var debugNum:Int = 0;
public override function destroy() {
super.destroy();
instance = null;
}
public var debugNum:Int = 0;
private function generateSong(dataPath:String):Void
{
@@ -670,9 +687,9 @@ class PlayState extends MusicBeatState
vocals.play();
}
private var paused:Bool = false;
var startedCountdown:Bool = false;
var canPause:Bool = true;
public var paused:Bool = false;
public var startedCountdown:Bool = false;
public var canPause:Bool = true;
public function pauseGame() {
@@ -1043,7 +1060,7 @@ class PlayState extends MusicBeatState
}
}
var endingSong:Bool = false;
public var endingSong:Bool = false;
private function popUpScore(strumtime:Float):Void
{
@@ -1355,8 +1372,8 @@ class PlayState extends MusicBeatState
}
}
var lightningStrikeBeat:Int = 0;
var lightningOffset:Int = 8;
public var lightningStrikeBeat:Int = 0;
public var lightningOffset:Int = 8;
override function beatHit()
{
@@ -1396,5 +1413,5 @@ class PlayState extends MusicBeatState
// }
}
var curLight:Int = 0;
public var curLight:Int = 0;
}
+95
View File
@@ -0,0 +1,95 @@
package funkin.game;
import flixel.FlxSprite;
import openfl.utils.Assets;
import haxe.xml.Access;
import flixel.FlxBasic;
import funkin.interfaces.IBeatReceiver;
class Stage extends FlxBasic implements IBeatReceiver {
public var stageXML:Access;
public var stageSprites:Map<String, FlxSprite> = [];
public function new(stage:String) {
super();
if (PlayState.instance == null) return;
try {
stageXML = new Access(Xml.parse(Assets.getText(Paths.xml('stages/$stage'))).firstElement());
} catch(e) {
// TODO: handler
trace(e.details());
return;
}
var spritesParentFolder = "";
if (stageXML.has.zoom) {
var parsed:Null<Float> = Std.parseFloat(stageXML.att.zoom);
if (parsed != null) PlayState.instance.defaultCamZoom = parsed;
}
if (stageXML.has.folder) {
spritesParentFolder = stageXML.att.folder;
if (spritesParentFolder.charAt(spritesParentFolder.length-1) != "/") spritesParentFolder = spritesParentFolder + "/";
}
if (stageXML.has.name) PlayState.instance.curStage = stageXML.att.name;
for(node in stageXML.elements) {
switch(node.name) {
case "sprite" | "spr" | "sparrow":
var spr = new FlxSprite();
spr.antialiasing = true;
if (!node.has.sprite || !node.has.name || !node.has.x || !node.has.y) continue;
if (Assets.exists(Paths.file('images/$spritesParentFolder${node.att.sprite}', TEXT))) {
spr.frames = Paths.getSparrowAtlas('$spritesParentFolder${node.att.sprite}');
} else {
spr.loadGraphic(Paths.image('$spritesParentFolder${node.att.sprite}'));
}
var x:Null<Float> = Std.parseFloat(node.att.x);
var y:Null<Float> = Std.parseFloat(node.att.y);
if (x != null) spr.x = x;
if (y != null) spr.y = y;
if (node.has.scroll) {
var scroll:Null<Float> = Std.parseFloat(node.att.scroll);
if (scroll != null) spr.scrollFactor.set(scroll, scroll);
}
for(anim in node.nodes.anim) CoolUtil.addXMLAnimation(spr, anim);
stageSprites.set(node.att.name, spr);
PlayState.instance.add(spr);
case "boyfriend" | "bf":
if (node.has.x) {
var x:Null<Float> = Std.parseFloat(node.att.x);
if (x != null) PlayState.instance.boyfriend.x = x;
}
if (node.has.y) {
var y:Null<Float> = Std.parseFloat(node.att.y);
if (y != null) PlayState.instance.boyfriend.y = y;
}
PlayState.instance.add(PlayState.instance.boyfriend);
case "girlfriend" | "gf":
if (node.has.x) {
var x:Null<Float> = Std.parseFloat(node.att.x);
if (x != null) PlayState.instance.gf.x = x;
}
if (node.has.y) {
var y:Null<Float> = Std.parseFloat(node.att.y);
if (y != null) PlayState.instance.gf.y = y;
}
PlayState.instance.add(PlayState.instance.gf);
case "dad" | "opponent":
if (node.has.x) {
var x:Null<Float> = Std.parseFloat(node.att.x);
if (x != null) PlayState.instance.dad.x = x;
}
if (node.has.y) {
var y:Null<Float> = Std.parseFloat(node.att.y);
if (y != null) PlayState.instance.dad.y = y;
}
PlayState.instance.add(PlayState.instance.dad);
}
}
}
public function beatHit(curBeat:Int) {}
public function stepHit(curStep:Int) {}
}
+3 -2
View File
@@ -3,6 +3,7 @@ package funkin.game;
import flixel.FlxSprite;
import flixel.math.FlxMath;
import flixel.math.FlxPoint;
import funkin.system.Conductor;
class Strum extends FlxSprite {
public var cpu = false;
@@ -12,7 +13,7 @@ class Strum extends FlxSprite {
public function getScrollSpeed() {
if (scrollSpeed != null) return scrollSpeed;
if (PlayState.SONG != null) return PlayState.SONG.speed;
if (PlayState.instance != null) return PlayState.instance.scrollSpeed;
return 1;
}
@@ -26,7 +27,7 @@ class Strum extends FlxSprite {
}
public function updateNotePosition(daNote:Note) {
var offset = FlxPoint.get(daNote.isSustainNote ? ((Note.swagWidth - daNote.width) / 2) : 0, (Conductor.songPosition - daNote.strumTime) * (0.45 * FlxMath.roundDecimal(PlayState.SONG.speed, 2)));
var offset = FlxPoint.get(daNote.isSustainNote ? ((Note.swagWidth - daNote.width) / 2) : 0, (Conductor.songPosition - daNote.strumTime) * (0.45 * FlxMath.roundDecimal(PlayState.instance.scrollSpeed, 2)));
if (daNote.isSustainNote) offset.y -= Note.swagWidth / 2;
// TODO: angle stuff
daNote.x = x + offset.x;
+1
View File
@@ -12,6 +12,7 @@ import flixel.math.FlxMath;
import flixel.text.FlxText;
import flixel.util.FlxColor;
import lime.utils.Assets;
import funkin.system.Song;
using StringTools;
+1
View File
@@ -15,6 +15,7 @@ import flixel.tweens.FlxTween;
import flixel.util.FlxColor;
import flixel.util.FlxTimer;
import lime.net.curl.CURLCode;
import funkin.system.Song;
using StringTools;
+1
View File
@@ -23,6 +23,7 @@ import flixel.tweens.FlxEase;
import flixel.tweens.FlxTween;
import flixel.util.FlxColor;
import flixel.util.FlxTimer;
import funkin.system.Conductor;
import lime.app.Application;
import openfl.Assets;
-1
View File
@@ -148,7 +148,6 @@ class ModsFolder {
for(bmap in FlxG.bitmap._cache) {
if (bmap.assetsKey != null) {
var e = new LibrarySymbol(bmap.assetsKey);
trace(bmap.assetsKey);
if (e.library is openfl.utils.AssetLibrary) {
@:privateAccess
e.library = cast(e.library, openfl.utils.AssetLibrary).__proxy;
+8
View File
@@ -0,0 +1,8 @@
package funkin.scripting;
/**
* Simple class for empty scripts or scripts whose language isn't imported yet.
*/
class DummyScript extends Script {
}
+18
View File
@@ -0,0 +1,18 @@
package funkin.scripting;
import openfl.Assets;
import hscript.*;
class HScript extends Script {
var interp:Interp;
public override function create(path:String) {
super.create(path);
var code:String = Assets.getText(path);
interp = new Interp();
}
public override function call() {
}
}
+74
View File
@@ -0,0 +1,74 @@
package funkin.scripting;
import haxe.io.Path;
/**
* Class used for scripting.
*/
class Script {
/**
* [Description] Currently executing script.
*/
public static var curScript:Script = null;
/**
* [Description] Creates a script from the specified asset path. The language is automatically determined.
* @param path
*/
public static function create(path:String):Script {
if (Assets.exists(file)) {
return switch(Path.extension(path).toLowerCase()) {
case "hx" | "hscript" | "hsc": new HScript(path);
default: new DummyScript();
}
} else {
return new DummyScript(path);
}
}
/**
* [Description]
* @param path
*/
public function new(path:String) {
var oldScript = curScript;
curScript = this;
create(path);
curScript = oldScript;
}
/**
* [Description] Internal. Creates the script.
* @param path Path to the script.
*/
public function create(path:String) {}
/**
* [Description] Calls the function `func` defined in the script.
* @param func Name of the function
* @param parameters (Optional) Parameters of the function.
* @return Dynamic Result (if void, then null)
*/
public function call(func:String, ?parameters:Array<Dynamic>):Dynamic {}
/**
* [Description] Gets the variable `variable` from the script's variables.
* @param variable Name of the variable.
* @return Dynamic Variable (or null if it doesn't exists)
*/
public function get(variable:String):Dynamic {}
/**
* [Description] Gets the variable `variable` from the script's variables.
* @param variable Name of the variable.
* @return Dynamic Variable (or null if it doesn't exists)
*/
public function set(variable:String, value:Dynamic):Void {}
/**
* [Description] Shows an error from this script.
* @param text Text of the error (ex: Null Object Reference).
* @param additionalInfo Additional information you could provide.
*/
public function error(text:String, additionalInfo:Dynamic):Void {}
}
@@ -1,6 +1,6 @@
package;
package funkin.system;
import Song.SwagSong;
import funkin.system.Song.SwagSong;
/**
* ...
+2 -1
View File
@@ -1,7 +1,8 @@
package funkin.system;
import funkin.interfaces.IBeatReceiver;
import Conductor.BPMChangeEvent;
import funkin.system.Conductor.BPMChangeEvent;
import funkin.system.Conductor;
import flixel.FlxG;
import flixel.addons.transition.FlxTransitionableState;
import flixel.addons.ui.FlxUIState;
+2 -1
View File
@@ -1,6 +1,7 @@
package funkin.system;
import Conductor.BPMChangeEvent;
import funkin.system.Conductor.BPMChangeEvent;
import funkin.system.Conductor;
import flixel.FlxG;
import flixel.FlxSubState;
@@ -1,4 +1,4 @@
package;
package funkin.system;
import Section.SwagSection;
import haxe.Json;
@@ -14,6 +14,7 @@ typedef SwagSong =
var bpm:Int;
var needsVoices:Bool;
var speed:Float;
var stage:String;
var player1:String;
var player2:String;
@@ -22,22 +23,6 @@ typedef SwagSong =
class Song
{
public var song:String;
public var notes:Array<SwagSection>;
public var bpm:Int;
public var needsVoices:Bool = true;
public var speed:Float = 1;
public var player1:String = 'bf';
public var player2:String = 'dad';
public function new(song, notes, bpm)
{
this.song = song;
this.notes = notes;
this.bpm = bpm;
}
public static function loadFromJson(songName:String, ?difficulty:String = "normal"):SwagSong
{
var assetPath = Paths.chart(songName, difficulty);