I have a game thar work with boxes. Each 5 boxes are generated other 5 boxes more etc.
This boxes contains numbers ands operators to solve a mathematical operation.
The first box have a number
The second box have a operator (+,-,*./)
The third box have a number
The fourth and fifth boxes contains a possible solution numbers for the equation.
This boxes pertain a world with obstacles, but as are generated by command (create object), i dont know the specific position where will be created in layout, for that reason, when i put obstacles (sprites) on layout i should to run the game to see if the box was generated in the correct position.
actual layout with boxes ( i dont know the boxes position)
Then i want a way to put this boxes in layout (no auto generated), but this boxes have the same behavior, in other words, first 3 boxes to operation, next 2 boxes for solutions.
When i try to put boxes of this way,
Something like that
But in the moment to question the correct answer, all boxes in the layout are converted in possible solutions, and i need only 2 next boxes, and after to pick the correct box, destroy the used boxes and continue with the next 5 boxes in the map.
i hope you can help me
here the cap