done goofed
This commit is contained in:
parent
34fd88cae0
commit
587643a089
@ -56,12 +56,7 @@ public class RhythmMapAlgorithm implements Runnable {
|
|||||||
map.beginBuild();
|
map.beginBuild();
|
||||||
for (int index = 0; index < bassPeaks.size; index++) {
|
for (int index = 0; index < bassPeaks.size; index++) {
|
||||||
if (bassPeaks.get(index) != 0 || UMPeaks.get(index) != 0) {
|
if (bassPeaks.get(index) != 0 || UMPeaks.get(index) != 0) {
|
||||||
<<<<<<< HEAD
|
|
||||||
if (bassPeaks.get(index) > avgBass) {
|
if (bassPeaks.get(index) > avgBass) {
|
||||||
=======
|
|
||||||
int warningTime = (int) ((3/speedMod)*windowPerSecond);
|
|
||||||
if ((index+warningTime < bassPeaks.size) && bassPeaks.get(index + warningTime) >= avgBass) {
|
|
||||||
>>>>>>> parent of e4359f4... tuning and adjustments
|
|
||||||
//TODO basic void circle spawning
|
//TODO basic void circle spawning
|
||||||
float endRadius = (bassPeaks.get(index)/bassMax)*(Polyjet.GAME_AREA_HEIGHT/2f);
|
float endRadius = (bassPeaks.get(index)/bassMax)*(Polyjet.GAME_AREA_HEIGHT/2f);
|
||||||
|
|
||||||
@ -69,7 +64,7 @@ public class RhythmMapAlgorithm implements Runnable {
|
|||||||
endRadius,
|
endRadius,
|
||||||
rand.nextFloat()*Polyjet.GAME_AREA_WIDTH,
|
rand.nextFloat()*Polyjet.GAME_AREA_WIDTH,
|
||||||
rand.nextFloat()*Polyjet.GAME_AREA_HEIGHT,
|
rand.nextFloat()*Polyjet.GAME_AREA_HEIGHT,
|
||||||
endRadius/(avgSPB*0.5f),
|
endRadius/(avgSPB*0.6f),
|
||||||
3f/speedMod
|
3f/speedMod
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user