Thread: keyDown check?
View Single Post
  #19  
Old 09-18-2006, 07:07 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
One could do:
PHP Code:
temp.keys "";
 for (
temp.i=0;temp.i<128;temp.i++) temp.keys.add(temp.i);

 for (
temp.i=0;temp.i<128;temp.i++) {
   
temp.key int(random(0,128-.001));
   
this.map[temp.i][temp.key] = int(random(0,3.99));
   
temp.keys.delete(temp.key);
 } 
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote