Go Back   Flash Flash Revolution > Flash Flash Revolution > Brag Board
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-11-2012, 02:37 PM   #11
qqwref
stepmania archaeologist
Retired StaffFFR Simfile AuthorFFR Veteran
 
qqwref's Avatar
 
Join Date: Aug 2005
Age: 36
Posts: 4,092
Default Re: Whimper Wall? more like WEAK WALL

Quote:
Originally Posted by Velocity View Post
Unless you account for this,
Code:
var colors = ["blue", "red", "green", "orange", "pink", "purple", "white", "yellow", "cyan"];
var dirs = ["L", "D", "U", "R"];
var ou = "_root.beatBox = [";
for(x =  150; x < 2000; x++) {
	var dir1 = dirs[Math.round(Math.random() * 3)];
	ou += "[" + x + ", \"" + dir1 + "\", \"" + colors[Math.round(Math.random() * 8)] + "\"], ";
	
	var dir2 = dirs[Math.round(Math.random() * 3)];
	while(dir1 == dir2) {
		dir2 = dirs[Math.round(Math.random() * 3)];
	}
	ou += "[" + x + ", \"" + dir2 + "\", \"" + colors[Math.round(Math.random() * 8)] + "\"], ";
}
frames.text = ou;


Only took 15 secs to code it.
Heh, cool. That's more or less what I would have done (although the random()*3 looks off, I bet that's why most of the notes are concentrated on the middle two columns). No wonder it has exactly two notes every frame.


ninjaKIWI: A cameljack is a 3-note minitrill on one hand which contains a 2-framer jack, so for instance LDL on adjacent frames. The other hand doesn't matter.
__________________
Best AAA: Policy In The Sky [Oni] (81)
Best SDG: PANTS (86)
Best FC: Future Invasion (93)

Last edited by qqwref; 01-11-2012 at 02:39 PM..
qqwref is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:30 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution