changes for new setup
This commit is contained in:
parent
77d5ef1b5c
commit
7dd02fc622
|
@ -274,8 +274,8 @@ void spawnWagon(){
|
|||
|
||||
|
||||
//Force start from end of strip
|
||||
//side_startpos=NUMPIXELS+_randomlength; //start at end of strip
|
||||
//side_multi=-1; //start in backward direction
|
||||
side_startpos=NUMPIXELS+_randomlength; //start at end of strip
|
||||
side_multi=-1; //start in backward direction
|
||||
|
||||
//Wagon tmpr = Wagon(maxid++,NUMPIXELS,&strip, height, side_startpos, _randomlength, side_multi*random(map(_randomlength,3,30,0,40)/10.0, map(_randomlength,3,30, 5,60))/10.0 , 0 , random(3.0,7.0) , Wheel((uint8_t)random(0,255))); //spawn new wagon
|
||||
Wagon tmpr = Wagon(maxid++,NUMPIXELS,&strip, height, side_startpos, _randomlength, side_multi*random(map(_randomlength,3,30,30,100)/10.0, map(_randomlength,3,30, 5,60))/10.0 , 0 , 1.8 , Wheel((uint8_t)random(0,255))); //spawn new wagon
|
||||
|
|
Loading…
Reference in New Issue