self.dx = randint(1,BOX_SPEED) self.dy = randint(1,BOX_SPEED)and boxes now moving all seperatly at diferent directions.
self.boxes.append( Box( i*2 , i*2 , randint(BOX_MIN_SIZE,BOX_MAX_SIZE) , (i,0,0) )now boxes have diferent sizes
Tutorial source
self.dx = randint(1,BOX_SPEED) self.dy = randint(1,BOX_SPEED)and boxes now moving all seperatly at diferent directions.
self.boxes.append( Box( i*2 , i*2 , randint(BOX_MIN_SIZE,BOX_MAX_SIZE) , (i,0,0) )now boxes have diferent sizes