Merge pull request #813 from KadeDev/master

bab
This commit is contained in:
Kade M authored and GitHub committed 2021-06-10 13:32:11 -07:00
commit 3a3bea696d
18 files changed
+203 -33

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ Spookeez:spooky:2
South:spooky:2 South:spooky:2
Monster:monster:2 Monster:monster:2
Pico:pico:3 Pico:pico:3
Philly:pico:3 Philly Nice:pico:3
Blammed:pico:3 Blammed:pico:3
Satin Panties:mom:4 Satin Panties:mom:4
High:mom:4 High:mom:4
+1 -1
View File
@@ -1 +1 @@
{"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7200,2,0],[7542.857,2,0],[7885.71436,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[14057.1426,2,0],[14400,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15428.5713,3,0],[15771.4287,2,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16800,3,0],[17142.8574,0,0],[17485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18171.4277,1,0],[18514.2852,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19542.8574,2,0],[19885.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20914.2852,3,0],[21257.1426,2,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22285.7148,3,0],[22628.57,0,0],[22971.4277,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23657.1426,1,0],[24000,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[25371.4277,0,0],[25714.2852,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26400,3,0],[26742.8574,2,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27771.4277,3,0],[28114.2852,0,0],[28457.1426,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[29142.8574,1,0],[29485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30857.1426,0,0],[31200,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31885.7148,3,0],[32228.57,2,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33257.14,3,0],[33600,0,0],[33942.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34628.57,1,0],[34971.43,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[36342.8555,2,0],[36685.7148,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37714.2852,2,0],[38057.14,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[39085.7148,2,0],[39428.57,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[40457.14,2,0],[40800,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41828.57,2,0],[42171.43,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[43200,2,0],[43542.8555,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44571.43,2,0],[44914.2852,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[45257.14,2,0],[45942.8555,2,0],[46285.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[46628.57,2,0],[47314.2852,2,0],[47657.14,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[48000,2,0],[48685.7148,2,0],[49028.57,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[49371.43,2,0],[50057.14,2,0],[50400,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[50742.8555,3,0],[51428.57,2,0],[51771.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[52114.2852,2,0],[52800,2,0],[53142.8555,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[53485.7148,2,0],[54171.43,2,0],[54514.2852,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[54857.14,2,0],[55542.8555,2,0],[55885.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[56228.57,3,0],[56914.2852,2,0],[57257.14,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[57600,3,0],[58285.7148,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[58971.43,2,0],[59314.2852,3,0],[59657.14,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[60342.8555,3,0],[61028.57,2,0],[61542.8555,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[61714.2852,2,0],[62057.14,0,0],[62400,2,0],[62742.8555,0,0]],"lengthInSteps":16,"mustHitSection":falseLine truncated {"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7200,2,0],[7542.857,2,0],[7885.71436,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[14057.1426,2,0],[14400,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15428.5713,3,0],[15771.4287,2,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16800,3,0],[17142.8574,0,0],[17485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18171.4277,1,0],[18514.2852,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19542.8574,2,0],[19885.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20914.2852,3,0],[21257.1426,2,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22285.7148,3,0],[22628.57,0,0],[22971.4277,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23657.1426,1,0],[24000,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[25371.4277,0,0],[25714.2852,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26400,3,0],[26742.8574,2,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27771.4277,3,0],[28114.2852,0,0],[28457.1426,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[29142.8574,1,0],[29485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30857.1426,0,0],[31200,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31885.7148,3,0],[32228.57,2,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33257.14,3,0],[33600,0,0],[33942.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34628.57,1,0],[34971.43,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[36342.8555,2,0],[36685.7148,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37714.2852,2,0],[38057.14,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[39085.7148,2,0],[39428.57,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[40457.14,2,0],[40800,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41828.57,2,0],[42171.43,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[43200,2,0],[43542.8555,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44571.43,2,0],[44914.2852,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[45257.14,2,0],[45942.8555,2,0],[46285.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[46628.57,2,0],[47314.2852,2,0],[47657.14,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[48000,2,0],[48685.7148,2,0],[49028.57,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[49371.43,2,0],[50057.14,2,0],[50400,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[50742.8555,3,0],[51428.57,2,0],[51771.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[52114.2852,2,0],[52800,2,0],[53142.8555,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[53485.7148,2,0],[54171.43,2,0],[54514.2852,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[54857.14,2,0],[55542.8555,2,0],[55885.7148,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[56228.57,3,0],[56914.2852,2,0],[57257.14,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[57600,3,0],[58285.7148,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[58971.43,2,0],[59314.2852,3,0],[59657.14,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[60342.8555,3,0],[61028.57,2,0],[61542.8555,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[61714.2852,2,0],[62057.14,0,0],[62400,2,0],[62742.8555,0,0]],"lengthInSteps":16,"mustHitSection":falseLine truncated
+1 -1
View File
@@ -1 +1 @@
{"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3085.71436,0,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4457.14258,0,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[5828.57129,0,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7028.57129,3,0],[7200,2,0],[7542.857,2,0],[7885.71436,0,0],[8057.14258,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8571.429,0,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[9942.857,0,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11314.2852,0,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12514.2852,3,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[13885.7139,2,0],[14057.1426,0,0],[14400,0,0],[14742.8574,3,0],[14914.2852,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15257.1426,3,0],[15428.5713,0,0],[15771.4287,2,0],[16114.2852,0,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16628.57,0,0],[16800,1,0],[16971.4277,3,0],[17142.8574,1,0],[17314.2852,0,0],[17485.7148,1,0],[17657.1426,3,0],[17742.8574,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18000,3,0],[18171.4277,1,0],[18514.2852,2,0],[18857.1426,2,0],[19028.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19371.4277,2,0],[19542.8574,0,0],[19885.7148,0,0],[20228.57,3,0],[20400,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20742.8574,3,0],[20914.2852,0,0],[21257.1426,2,0],[21600,0,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22114.2852,0,0],[22285.7148,1,0],[22457.1426,3,0],[22628.57,1,0],[22800,0,0],[22971.4277,1,0],[23142.8574,3,0],[23228.57,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23485.7148,3,0],[23657.1426,1,0],[24000,2,0],[24342.8574,2,0],[24514.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[24857.1426,2,0],[25028.57,0,0],[25371.4277,0,0],[25714.2852,3,0],[25885.7148,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26228.57,3,0],[26400,0,0],[26742.8574,2,0],[27085.7148,0,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27600,0,0],[27771.4277,1,0],[27942.8574,3,0],[28114.2852,1,0],[28285.7148,0,0],[28457.1426,1,0],[28628.57,3,0],[28714.2852,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[28971.4277,3,0],[29142.8574,1,0],[29485.7148,2,0],[29828.57,2,0],[30000,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30342.8574,2,0],[30514.2852,0,0],[30857.1426,0,0],[31200,3,0],[31371.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31714.2852,3,0],[31885.7148,0,0],[32228.57,2,0],[32571.4277,0,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33085.7148,0,0],[33257.14,1,0],[33428.57,3,0],[33600,1,0],[33771.43,0,0],[33942.8555,1,0],[34114.2852,3,0],[34200,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34457.14,3,0],[34628.57,1,0],[34971.43,2,0],[35314.2852,2,0],[35485.7148,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[35828.57,3,0],[36000,1,0],[36171.43,0,0],[36342.8555,2,0],[36514.2852,3,0],[36685.7148,0,0],[36857.14,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37200,3,0],[37371.43,2,0],[37542.8555,0,0],[37714.2852,2,0],[37885.7148,3,0],[38057.14,0,0],[38228.57,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[38571.43,3,0],[38742.8555,1,0],[38914.2852,0,0],[39085.7148,2,0],[39257.14,3,0],[39428.57,0,0],[39600,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[39942.8555,3,0],[40114.2852,2,0],[40285.7148,0,0],[40457.14,2,0],[40628.57,3,0],[40800,0,0],[40971.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41314.2852,3,0],[41485.7148,1,0],[41657.14,0,0],[41828.57,2,0],[42000,3,0],[42171.43,0,0],[42342.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[42685.7148,3,0],[42857.14,2,0],[43028.57,0,0],[43200,2,0],[43371.43,3,0],[43542.8555,0,0],[43714.2852,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44057.14,3,0],[44228.57,1,Line truncated {"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3085.71436,0,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4457.14258,0,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[5828.57129,0,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7028.57129,3,0],[7200,2,0],[7542.857,2,0],[7885.71436,0,0],[8057.14258,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8571.429,0,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[9942.857,0,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11314.2852,0,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12514.2852,3,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[13885.7139,2,0],[14057.1426,0,0],[14400,0,0],[14742.8574,3,0],[14914.2852,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15257.1426,3,0],[15428.5713,0,0],[15771.4287,2,0],[16114.2852,0,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16628.57,0,0],[16800,1,0],[16971.4277,3,0],[17142.8574,1,0],[17314.2852,0,0],[17485.7148,1,0],[17657.1426,3,0],[17742.8574,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18000,3,0],[18171.4277,1,0],[18514.2852,2,0],[18857.1426,2,0],[19028.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19371.4277,2,0],[19542.8574,0,0],[19885.7148,0,0],[20228.57,3,0],[20400,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20742.8574,3,0],[20914.2852,0,0],[21257.1426,2,0],[21600,0,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22114.2852,0,0],[22285.7148,1,0],[22457.1426,3,0],[22628.57,1,0],[22800,0,0],[22971.4277,1,0],[23142.8574,3,0],[23228.57,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23485.7148,3,0],[23657.1426,1,0],[24000,2,0],[24342.8574,2,0],[24514.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[24857.1426,2,0],[25028.57,0,0],[25371.4277,0,0],[25714.2852,3,0],[25885.7148,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26228.57,3,0],[26400,0,0],[26742.8574,2,0],[27085.7148,0,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27600,0,0],[27771.4277,1,0],[27942.8574,3,0],[28114.2852,1,0],[28285.7148,0,0],[28457.1426,1,0],[28628.57,3,0],[28714.2852,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[28971.4277,3,0],[29142.8574,1,0],[29485.7148,2,0],[29828.57,2,0],[30000,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30342.8574,2,0],[30514.2852,0,0],[30857.1426,0,0],[31200,3,0],[31371.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31714.2852,3,0],[31885.7148,0,0],[32228.57,2,0],[32571.4277,0,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33085.7148,0,0],[33257.14,1,0],[33428.57,3,0],[33600,1,0],[33771.43,0,0],[33942.8555,1,0],[34114.2852,3,0],[34200,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34457.14,3,0],[34628.57,1,0],[34971.43,2,0],[35314.2852,2,0],[35485.7148,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[35828.57,3,0],[36000,1,0],[36171.43,0,0],[36342.8555,2,0],[36514.2852,3,0],[36685.7148,0,0],[36857.14,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37200,3,0],[37371.43,2,0],[37542.8555,0,0],[37714.2852,2,0],[37885.7148,3,0],[38057.14,0,0],[38228.57,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[38571.43,3,0],[38742.8555,1,0],[38914.2852,0,0],[39085.7148,2,0],[39257.14,3,0],[39428.57,0,0],[39600,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[39942.8555,3,0],[40114.2852,2,0],[40285.7148,0,0],[40457.14,2,0],[40628.57,3,0],[40800,0,0],[40971.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41314.2852,3,0],[41485.7148,1,0],[41657.14,0,0],[41828.57,2,0],[42000,3,0],[42171.43,0,0],[42342.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[42685.7148,3,0],[42857.14,2,0],[43028.57,0,0],[43200,2,0],[43371.43,3,0],[43542.8555,0,0],[43714.2852,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44057.14,3,0],[44228.57,1,Line truncated
+1 -1
View File
@@ -1 +1 @@
{"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7542.857,2,0],[7885.71436,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[14057.1426,2,0],[14400,0,0],[14742.8574,3,0],[14914.2852,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15428.5713,3,0],[15771.4287,2,0],[16114.2852,0,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16628.57,0,0],[16800,3,0],[17142.8574,0,0],[17485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18171.4277,1,0],[18514.2852,2,0],[18857.1426,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19542.8574,2,0],[19885.7148,0,0],[20228.57,3,0],[20400,2,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20914.2852,3,0],[21257.1426,2,0],[21600,0,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22114.2852,0,0],[22285.7148,3,0],[22628.57,0,0],[22971.4277,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23657.1426,1,0],[24000,2,0],[24342.8574,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[24857.1426,2,0],[25028.57,2,0],[25371.4277,0,0],[25714.2852,3,0],[25885.7148,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26400,3,0],[26742.8574,2,0],[27085.7148,0,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27600,0,0],[27771.4277,3,0],[27942.8574,3,0],[28114.2852,0,0],[28285.7148,0,0],[28457.1426,3,0],[28628.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[29142.8574,1,0],[29485.7148,2,0],[29828.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30342.8574,2,0],[30514.2852,2,0],[30857.1426,0,0],[31200,3,0],[31371.4277,2,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31885.7148,3,0],[32228.57,2,0],[32571.4277,0,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33085.7148,0,0],[33257.14,3,0],[33428.57,3,0],[33600,0,0],[33771.43,0,0],[33942.8555,3,0],[34114.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34628.57,1,0],[34971.43,2,0],[35314.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[36342.8555,2,0],[36514.2852,3,0],[36685.7148,0,0],[36857.14,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37714.2852,2,0],[37885.7148,3,0],[38057.14,0,0],[38228.57,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[39085.7148,2,0],[39257.14,3,0],[39428.57,0,0],[39600,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[40457.14,2,0],[40628.57,3,0],[40800,0,0],[40971.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41828.57,2,0],[42000,3,0],[42171.43,0,0],[42342.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[43200,2,0],[43371.43,3,0],[43542.8555,0,0],[43714.2852,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44571.43,2,0],[44742.8555,3,0],[44914.2852,0,0],[45085.7148,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[45257.14,2,0],[45942.8555,2,0],[46114.2852,3,0],[46285.7148,0,0],[46457.14,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[46628.57,2,0],[46971.43,1,0],[47314.2852,2,0],[47485.7148,3,0],[47657.14,0,0],[47828.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[48000,2,0],[48342.8555,2,0],[48685.7148,2,0],[48857.14,3,0],[49028.57,0,0],[49200,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[49371.43,2,0],[49714.2852,1,0],[50057.14,2,0],[50228.57,3,0],[50400,0,0],[50571.43,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[50742.8555,2,0],[51085.7148,2,0],[51428.57,2,0],[51600,3,0],[51771.43,0,0],[51942.8555,0,0]],"lengthInSteps":16,"mustHitSectionLine truncated {"song":{"player1":"bf","notes":[{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[2914.28564,2,0],[3428.57129,1,257.142853],[3771.42847,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[4285.71436,2,0],[4800,1,257.142853],[5142.857,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[5657.14258,2,0],[6171.42871,1,257.142853],[6514.28564,3,171.428574]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[6857.14258,0,0],[7542.857,2,0],[7885.71436,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[8400,2,0],[8914.285,1,257.142853],[9257.143,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[9771.429,2,0],[10285.7139,1,257.142853],[10628.5713,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[11142.8574,2,0],[11657.1426,1,257.142853],[12000,3,171.428574]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[12342.8574,0,0],[12685.7139,2,0],[13028.5713,2,0],[13371.4287,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[14057.1426,2,0],[14400,0,0],[14742.8574,3,0],[14914.2852,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[15428.5713,3,0],[15771.4287,2,0],[16114.2852,0,0],[16285.7139,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[16628.57,0,0],[16800,3,0],[17142.8574,0,0],[17485.7148,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[17828.57,3,0],[18171.4277,1,0],[18514.2852,2,0],[18857.1426,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[19542.8574,2,0],[19885.7148,0,0],[20228.57,3,0],[20400,2,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[20914.2852,3,0],[21257.1426,2,0],[21600,0,0],[21771.4277,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[22114.2852,0,0],[22285.7148,3,0],[22628.57,0,0],[22971.4277,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[23314.2852,3,0],[23657.1426,1,0],[24000,2,0],[24342.8574,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[24685.7148,2,0],[24857.1426,2,0],[25028.57,2,0],[25371.4277,0,0],[25714.2852,3,0],[25885.7148,2,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[26400,3,0],[26742.8574,2,0],[27085.7148,0,0],[27257.1426,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[27600,0,0],[27771.4277,3,0],[27942.8574,3,0],[28114.2852,0,0],[28285.7148,0,0],[28457.1426,3,0],[28628.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[28800,3,0],[29142.8574,1,0],[29485.7148,2,0],[29828.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[30171.4277,2,0],[30342.8574,2,0],[30514.2852,2,0],[30857.1426,0,0],[31200,3,0],[31371.4277,2,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[31885.7148,3,0],[32228.57,2,0],[32571.4277,0,0],[32742.8574,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[33085.7148,0,0],[33257.14,3,0],[33428.57,3,0],[33600,0,0],[33771.43,0,0],[33942.8555,3,0],[34114.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[34285.7148,3,0],[34628.57,1,0],[34971.43,2,0],[35314.2852,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[35657.14,2,0],[36342.8555,2,0],[36514.2852,3,0],[36685.7148,0,0],[36857.14,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[37028.57,2,0],[37714.2852,2,0],[37885.7148,3,0],[38057.14,0,0],[38228.57,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[38400,2,0],[39085.7148,2,0],[39257.14,3,0],[39428.57,0,0],[39600,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[39771.43,2,0],[40457.14,2,0],[40628.57,3,0],[40800,0,0],[40971.43,0,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[41142.8555,2,0],[41828.57,2,0],[42000,3,0],[42171.43,0,0],[42342.8555,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[42514.2852,2,0],[43200,2,0],[43371.43,3,0],[43542.8555,0,0],[43714.2852,1,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[43885.7148,2,0],[44571.43,2,0],[44742.8555,3,0],[44914.2852,0,0],[45085.7148,3,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[45257.14,2,0],[45942.8555,2,0],[46114.2852,3,0],[46285.7148,0,0],[46457.14,0,0]],"lengthInSteps":16,"mustHitSection":true},{"sectionNotes":[[46628.57,2,0],[46971.43,1,0],[47314.2852,2,0],[47485.7148,3,0],[47657.14,0,0],[47828.57,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[48000,2,0],[48342.8555,2,0],[48685.7148,2,0],[48857.14,3,0],[49028.57,0,0],[49200,1,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[49371.43,2,0],[49714.2852,1,0],[50057.14,2,0],[50228.57,3,0],[50400,0,0],[50571.43,3,0]],"lengthInSteps":16,"mustHitSection":false},{"sectionNotes":[[50742.8555,2,0],[51085.7148,2,0],[51428.57,2,0],[51600,3,0],[51771.43,0,0],[51942.8555,0,0]],"lengthInSteps":16,"mustHitSectionLine truncated
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+48
View File
@@ -109,6 +109,30 @@ for i = 4, 7 do -- go to the center
end end
``` ```
Jumping Arrows Example
```lua
function stepHit (step)
if step == 1 then
setActorAccelerationY(100, 4)
end
if step == 3 then
setActorAccelerationY(100, 5)
end
if step == 5 then
setActorAccelerationY(100, 6)
end
if step == 7 then
setActorAccelerationY(100, 7)
end
for i=4,7 do
if getActorY(i) >= 100 then
setActorY(100, i)
setActorVelocityY(-100, i)
end
end
end
```
### Available Hooks ### Available Hooks
@@ -376,10 +400,34 @@ Returns the angle for the sprite id
Set's the x position for the sprite id Set's the x position for the sprite id
##### setActorAccelerationX(int x, string/int id)
Sets the x acceleration for the sprite id
##### setActorDragX(int x, string/int id)
Sets the x drag for the sprite id
##### setActorVelocityX(int x, string/int id)
Sets the x velocity for the sprite id
##### setActorY(int y, string/int id) ##### setActorY(int y, string/int id)
Set's the y position for the sprite id Set's the y position for the sprite id
##### setActorAccelerationY(int y, string/int id)
Sets the y acceleration for the sprite id
##### setActorDragY(int y, string/int id)
Sets the y drag for the sprite id
##### setActorVelocityY(int y, string/int id)
Sets the y velocity for the sprite id
##### setActorAlpha(float alpha, string/int id) ##### setActorAlpha(float alpha, string/int id)
Set's the alpha for the sprite id Set's the alpha for the sprite id
+34 -5
View File
@@ -202,13 +202,27 @@ class FreeplayState extends MusicBeatState
if (accepted) if (accepted)
{ {
trace(StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase()); // pre lowercasing the song name (update)
var songLowercase = StringTools.replace(songs[curSelected].songName, " ", "-").toLowerCase();
switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
// adjusting the highscore song name to be compatible (update)
// would read original scores if we didn't change packages
var songHighscore = StringTools.replace(songs[curSelected].songName, " ", "-");
switch (songHighscore) {
case 'Dad-Battle': songHighscore = 'Dadbattle';
case 'Philly-Nice': songHighscore = 'Philly';
}
var poop:String = Highscore.formatSong(StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase(), curDifficulty); trace(songLowercase);
var poop:String = Highscore.formatSong(songHighscore, curDifficulty);
trace(poop); trace(poop);
PlayState.SONG = Song.loadFromJson(poop, StringTools.replace(songs[curSelected].songName," ", "-").toLowerCase()); PlayState.SONG = Song.loadFromJson(poop, songLowercase);
PlayState.isStoryMode = false; PlayState.isStoryMode = false;
PlayState.storyDifficulty = curDifficulty; PlayState.storyDifficulty = curDifficulty;
PlayState.storyWeek = songs[curSelected].week; PlayState.storyWeek = songs[curSelected].week;
@@ -226,8 +240,15 @@ class FreeplayState extends MusicBeatState
if (curDifficulty > 2) if (curDifficulty > 2)
curDifficulty = 0; curDifficulty = 0;
// adjusting the highscore song name to be compatible (changeDiff)
var songHighscore = StringTools.replace(songs[curSelected].songName, " ", "-");
switch (songHighscore) {
case 'Dad-Battle': songHighscore = 'Dadbattle';
case 'Philly-Nice': songHighscore = 'Philly';
}
#if !switch #if !switch
intendedScore = Highscore.getScore(songs[curSelected].songName, curDifficulty); intendedScore = Highscore.getScore(songHighscore, curDifficulty);
#end #end
switch (curDifficulty) switch (curDifficulty)
@@ -259,8 +280,16 @@ class FreeplayState extends MusicBeatState
// selector.y = (70 * curSelected) + 30; // selector.y = (70 * curSelected) + 30;
// adjusting the highscore song name to be compatible (changeSelection)
// would read original scores if we didn't change packages
var songHighscore = StringTools.replace(songs[curSelected].songName, " ", "-");
switch (songHighscore) {
case 'Dad-Battle': songHighscore = 'Dadbattle';
case 'Philly-Nice': songHighscore = 'Philly';
}
#if !switch #if !switch
intendedScore = Highscore.getScore(songs[curSelected].songName, curDifficulty); intendedScore = Highscore.getScore(songHighscore, curDifficulty);
// lerpScore = 0; // lerpScore = 0;
#end #end
+24
View File
@@ -564,6 +564,18 @@ class ModchartState
getActorByName(id).x = x; getActorByName(id).x = x;
}); });
Lua_helper.add_callback(lua,"setActorAccelerationX", function(x:Int,id:String) {
getActorByName(id).acceleration.x = x;
});
Lua_helper.add_callback(lua,"setActorDragX", function(x:Int,id:String) {
getActorByName(id).drag.x = x;
});
Lua_helper.add_callback(lua,"setActorVelocityX", function(x:Int,id:String) {
getActorByName(id).velocity.x = x;
});
Lua_helper.add_callback(lua,"playActorAnimation", function(id:String,anim:String,force:Bool = false,reverse:Bool = false) { Lua_helper.add_callback(lua,"playActorAnimation", function(id:String,anim:String,force:Bool = false,reverse:Bool = false) {
getActorByName(id).playAnim(anim, force, reverse); getActorByName(id).playAnim(anim, force, reverse);
}); });
@@ -576,6 +588,18 @@ class ModchartState
getActorByName(id).y = y; getActorByName(id).y = y;
}); });
Lua_helper.add_callback(lua,"setActorAccelerationY", function(y:Int,id:String) {
getActorByName(id).acceleration.y = y;
});
Lua_helper.add_callback(lua,"setActorDragY", function(y:Int,id:String) {
getActorByName(id).drag.y = y;
});
Lua_helper.add_callback(lua,"setActorVelocityY", function(y:Int,id:String) {
getActorByName(id).velocity.y = y;
});
Lua_helper.add_callback(lua,"setActorAngle", function(angle:Int,id:String) { Lua_helper.add_callback(lua,"setActorAngle", function(angle:Int,id:String) {
getActorByName(id).angle = angle; getActorByName(id).angle = angle;
}); });
+12 -4
View File
@@ -97,14 +97,22 @@ class Paths
inline static public function voices(song:String) inline static public function voices(song:String)
{ {
song = StringTools.replace(song," ", "-"); var songLowercase = StringTools.replace(song, " ", "-").toLowerCase();
return 'songs:assets/songs/${song.toLowerCase()}/Voices.$SOUND_EXT'; switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
return 'songs:assets/songs/${songLowercase}/Voices.$SOUND_EXT';
} }
inline static public function inst(song:String) inline static public function inst(song:String)
{ {
song = StringTools.replace(song," ", "-"); var songLowercase = StringTools.replace(song, " ", "-").toLowerCase();
return 'songs:assets/songs/${song.toLowerCase()}/Inst.$SOUND_EXT'; switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
return 'songs:assets/songs/${songLowercase}/Inst.$SOUND_EXT';
} }
inline static public function image(key:String, ?library:String) inline static public function image(key:String, ?library:String)
+70 -18
View File
@@ -236,14 +236,21 @@ class PlayState extends MusicBeatState
repPresses = 0; repPresses = 0;
repReleases = 0; repReleases = 0;
// pre lowercasing the song name (create)
var songLowercase = StringTools.replace(PlayState.SONG.song, " ", "-").toLowerCase();
switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
#if windows #if windows
executeModchart = FileSystem.exists(Paths.lua(PlayState.SONG.song.toLowerCase() + "/modchart")); executeModchart = FileSystem.exists(Paths.lua(songLowercase + "/modchart"));
#end #end
#if !cpp #if !cpp
executeModchart = false; // FORCE disable for non cpp targets executeModchart = false; // FORCE disable for non cpp targets
#end #end
trace('Mod chart: ' + executeModchart + " - " + Paths.lua(PlayState.SONG.song.toLowerCase() + "/modchart")); trace('Mod chart: ' + executeModchart + " - " + Paths.lua(songLowercase + "/modchart"));
#if windows #if windows
// Making difficulty text for Discord Rich Presence. // Making difficulty text for Discord Rich Presence.
@@ -310,7 +317,7 @@ class PlayState extends MusicBeatState
trace('INFORMATION ABOUT WHAT U PLAYIN WIT:\nFRAMES: ' + Conductor.safeFrames + '\nZONE: ' + Conductor.safeZoneOffset + '\nTS: ' + Conductor.timeScale + '\nBotPlay : ' + FlxG.save.data.botplay); trace('INFORMATION ABOUT WHAT U PLAYIN WIT:\nFRAMES: ' + Conductor.safeFrames + '\nZONE: ' + Conductor.safeZoneOffset + '\nTS: ' + Conductor.timeScale + '\nBotPlay : ' + FlxG.save.data.botplay);
//dialogue shit //dialogue shit
switch (SONG.song.toLowerCase()) switch (songLowercase)
{ {
case 'tutorial': case 'tutorial':
dialogue = ["Hey you're pretty cute.", 'Use the arrow keys to keep up \nwith me singing.']; dialogue = ["Hey you're pretty cute.", 'Use the arrow keys to keep up \nwith me singing.'];
@@ -592,7 +599,7 @@ class PlayState extends MusicBeatState
bgGirls = new BackgroundGirls(-100, 190); bgGirls = new BackgroundGirls(-100, 190);
bgGirls.scrollFactor.set(0.9, 0.9); bgGirls.scrollFactor.set(0.9, 0.9);
if (SONG.song.toLowerCase() == 'roses') if (songLowercase == 'roses')
{ {
if(FlxG.save.data.distractions){ if(FlxG.save.data.distractions){
bgGirls.getScared(); bgGirls.getScared();
@@ -998,7 +1005,7 @@ class PlayState extends MusicBeatState
if (isStoryMode) if (isStoryMode)
{ {
switch (curSong.toLowerCase()) switch (StringTools.replace(curSong," ", "-").toLowerCase())
{ {
case "winter-horrorland": case "winter-horrorland":
var blackScreen:FlxSprite = new FlxSprite(0, 0).makeGraphic(Std.int(FlxG.width * 2), Std.int(FlxG.height * 2), FlxColor.BLACK); var blackScreen:FlxSprite = new FlxSprite(0, 0).makeGraphic(Std.int(FlxG.width * 2), Std.int(FlxG.height * 2), FlxColor.BLACK);
@@ -1071,11 +1078,17 @@ class PlayState extends MusicBeatState
senpaiEvil.updateHitbox(); senpaiEvil.updateHitbox();
senpaiEvil.screenCenter(); senpaiEvil.screenCenter();
if (SONG.song.toLowerCase() == 'roses' || SONG.song.toLowerCase() == 'thorns') // pre lowercasing the song name (schoolIntro)
var songLowercase = StringTools.replace(PlayState.SONG.song, " ", "-").toLowerCase();
switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
if (songLowercase == 'roses' || songLowercase == 'thorns')
{ {
remove(black); remove(black);
if (SONG.song.toLowerCase() == 'thorns') if (songLowercase == 'thorns')
{ {
add(red); add(red);
} }
@@ -1095,7 +1108,7 @@ class PlayState extends MusicBeatState
{ {
inCutscene = true; inCutscene = true;
if (SONG.song.toLowerCase() == 'thorns') if (songLowercase == 'thorns')
{ {
add(senpaiEvil); add(senpaiEvil);
senpaiEvil.alpha = 0; senpaiEvil.alpha = 0;
@@ -1328,7 +1341,7 @@ class PlayState extends MusicBeatState
// Song check real quick // Song check real quick
switch(curSong) switch(curSong)
{ {
case 'Bopeebo' | 'Philly' | 'Blammed' | 'Cocoa' | 'Eggnog': allowedToHeadbang = true; case 'Bopeebo' | 'Philly Nice' | 'Blammed' | 'Cocoa' | 'Eggnog': allowedToHeadbang = true;
default: allowedToHeadbang = false; default: allowedToHeadbang = false;
} }
@@ -1368,9 +1381,16 @@ class PlayState extends MusicBeatState
var playerCounter:Int = 0; var playerCounter:Int = 0;
// pre lowercasing the song name (generateSong)
var songLowercase = StringTools.replace(PlayState.SONG.song, " ", "-").toLowerCase();
switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
// Per song offset check // Per song offset check
#if windows #if windows
var songPath = 'assets/data/' + StringTools.replace(PlayState.SONG.song," ", "-").toLowerCase() + '/'; var songPath = 'assets/data/' + songLowercase + '/';
for(file in sys.FileSystem.readDirectory(songPath)) for(file in sys.FileSystem.readDirectory(songPath))
{ {
var path = haxe.io.Path.join([songPath, file]); var path = haxe.io.Path.join([songPath, file]);
@@ -1935,7 +1955,7 @@ class PlayState extends MusicBeatState
// Per song treatment since some songs will only have the 'Hey' at certain times // Per song treatment since some songs will only have the 'Hey' at certain times
switch(curSong) switch(curSong)
{ {
case 'Philly': case 'Philly Nice':
{ {
// General duration of the song // General duration of the song
if(curBeat < 250) if(curBeat < 250)
@@ -2438,8 +2458,16 @@ class PlayState extends MusicBeatState
vocals.volume = 0; vocals.volume = 0;
if (SONG.validScore) if (SONG.validScore)
{ {
// adjusting the highscore song name to be compatible
// would read original scores if we didn't change packages
var songHighscore = StringTools.replace(PlayState.SONG.song, " ", "-");
switch (songHighscore) {
case 'Dad-Battle': songHighscore = 'Dadbattle';
case 'Philly-Nice': songHighscore = 'Philly';
}
#if !switch #if !switch
Highscore.saveScore(SONG.song, Math.round(songScore), storyDifficulty); Highscore.saveScore(songHighscore, Math.round(songScore), storyDifficulty);
#end #end
} }
@@ -2498,9 +2526,21 @@ class PlayState extends MusicBeatState
difficulty = '-hard'; difficulty = '-hard';
trace('LOADING NEXT SONG'); trace('LOADING NEXT SONG');
trace(PlayState.storyPlaylist[0].toLowerCase() + difficulty); // pre lowercasing the next story song name
var nextSongLowercase = StringTools.replace(PlayState.storyPlaylist[0], " ", "-").toLowerCase();
switch (nextSongLowercase) {
case 'dad-battle': nextSongLowercase = 'dadbattle';
case 'philly-nice': nextSongLowercase = 'philly';
}
trace(nextSongLowercase + difficulty);
if (SONG.song.toLowerCase() == 'eggnog') // pre lowercasing the song name (endSong)
var songLowercase = StringTools.replace(PlayState.SONG.song, " ", "-").toLowerCase();
switch (songLowercase) {
case 'dad-battle': songLowercase = 'dadbattle';
case 'philly-nice': songLowercase = 'philly';
}
if (songLowercase == 'eggnog')
{ {
var blackShit:FlxSprite = new FlxSprite(-FlxG.width * FlxG.camera.zoom, var blackShit:FlxSprite = new FlxSprite(-FlxG.width * FlxG.camera.zoom,
-FlxG.height * FlxG.camera.zoom).makeGraphic(FlxG.width * 3, FlxG.height * 3, FlxColor.BLACK); -FlxG.height * FlxG.camera.zoom).makeGraphic(FlxG.width * 3, FlxG.height * 3, FlxColor.BLACK);
@@ -2515,7 +2555,7 @@ class PlayState extends MusicBeatState
FlxTransitionableState.skipNextTransOut = true; FlxTransitionableState.skipNextTransOut = true;
prevCamFollow = camFollow; prevCamFollow = camFollow;
PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + difficulty, PlayState.storyPlaylist[0]); PlayState.SONG = Song.loadFromJson(nextSongLowercase + difficulty, PlayState.storyPlaylist[0]);
FlxG.sound.music.stop(); FlxG.sound.music.stop();
LoadingState.loadAndSwitchState(new PlayState()); LoadingState.loadAndSwitchState(new PlayState());
@@ -2729,8 +2769,14 @@ class PlayState extends MusicBeatState
var comboSplit:Array<String> = (combo + "").split(''); var comboSplit:Array<String> = (combo + "").split('');
if (comboSplit.length == 2) // make sure we have 3 digits to display (looks weird otherwise lol)
seperatedScore.push(0); // make sure theres a 0 in front or it looks weird lol! if (comboSplit.length == 1)
{
seperatedScore.push(0);
seperatedScore.push(0);
}
else if (comboSplit.length == 2)
seperatedScore.push(0);
for(i in 0...comboSplit.length) for(i in 0...comboSplit.length)
{ {
@@ -2762,7 +2808,6 @@ class PlayState extends MusicBeatState
numScore.velocity.y -= FlxG.random.int(140, 160); numScore.velocity.y -= FlxG.random.int(140, 160);
numScore.velocity.x = FlxG.random.float(-5, 5); numScore.velocity.x = FlxG.random.float(-5, 5);
if (combo >= 10 || combo == 0)
add(numScore); add(numScore);
FlxTween.tween(numScore, {alpha: 0}, 0.2, { FlxTween.tween(numScore, {alpha: 0}, 0.2, {
@@ -2872,13 +2917,17 @@ class PlayState extends MusicBeatState
var possibleNotes:Array<Note> = []; // notes that can be hit var possibleNotes:Array<Note> = []; // notes that can be hit
var directionList:Array<Int> = []; // directions that can be hit var directionList:Array<Int> = []; // directions that can be hit
var dumbNotes:Array<Note> = []; // notes to kill later var dumbNotes:Array<Note> = []; // notes to kill later
var directionsAccounted:Array<Bool> = [false,false,false,false]; // we don't want to do judgments for more than one presses
notes.forEachAlive(function(daNote:Note) notes.forEachAlive(function(daNote:Note)
{ {
if (daNote.canBeHit && daNote.mustPress && !daNote.tooLate && !daNote.wasGoodHit) if (daNote.canBeHit && daNote.mustPress && !daNote.tooLate && !daNote.wasGoodHit)
{
if (!directionsAccounted[daNote.noteData])
{ {
if (directionList.contains(daNote.noteData)) if (directionList.contains(daNote.noteData))
{ {
directionsAccounted[daNote.noteData] = true;
for (coolNote in possibleNotes) for (coolNote in possibleNotes)
{ {
if (coolNote.noteData == daNote.noteData && Math.abs(daNote.strumTime - coolNote.strumTime) < 10) if (coolNote.noteData == daNote.noteData && Math.abs(daNote.strumTime - coolNote.strumTime) < 10)
@@ -2901,8 +2950,11 @@ class PlayState extends MusicBeatState
directionList.push(daNote.noteData); directionList.push(daNote.noteData);
} }
} }
}
}); });
trace('\nCURRENT LINE:\n' + directionsAccounted);
for (note in dumbNotes) for (note in dumbNotes)
{ {
FlxG.log.add("killing dumb ass note at " + note.strumTime); FlxG.log.add("killing dumb ass note at " + note.strumTime);
+11 -2
View File
@@ -46,9 +46,18 @@ class Song
public static function loadFromJson(jsonInput:String, ?folder:String):SwagSong public static function loadFromJson(jsonInput:String, ?folder:String):SwagSong
{ {
trace('loading ' + folder.toLowerCase() + '/' + jsonInput.toLowerCase()); trace(jsonInput);
var rawJson = Assets.getText(Paths.json(folder.toLowerCase() + '/' + jsonInput.toLowerCase())).trim(); // pre lowercasing the song name (update)
var folderLowercase = StringTools.replace(folder, " ", "-").toLowerCase();
switch (folderLowercase) {
case 'dad-battle': folderLowercase = 'dadbattle';
case 'philly-nice': folderLowercase = 'philly';
}
trace('loading ' + folderLowercase + '/' + jsonInput.toLowerCase());
var rawJson = Assets.getText(Paths.json(folderLowercase + '/' + jsonInput.toLowerCase())).trim();
while (!rawJson.endsWith("}")) while (!rawJson.endsWith("}"))
{ {