How to make Tetris figures go down using libgdx Eclipse? The figures themselves are rendered. But do not want to move down. How to write the right method?
Square[] shape = world.shape.getArray(); text = FactoryShape.setColor(shape[0].color); for (int i = 0; i < shape.length; i++) { batch.draw(text, shape[i].position.x, shape[i].position.y) } For example, if you specify shape [i] .position.y-- then the figure will go down, but it will not lock after a fall.