What i need to change that between my game objects was more size?
Can you give an example of what it is you are trying to achieve?
I try to make spacing between spawning objects in factory script.What i need to change in this script that the distance between platforms was greater.
So you want the platforms to spawn less frequently? There is an if math.random() > 0.3 then
which essentially means there’s a 70% chance to spawn a platform every time self.gridw >= grid
evaluates to true. Adjust the 0.3 to a larger value and the platforms will spawn less often.