Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
When I click/touch somewhere I want to create an object. However, these objects have to be aligned with each other. how can I do that?
I prepared a gif file as an example. Here I used "Touch.X and Touch.Y". So wherever I click it creates the object there.
You need to be more specific when you say align.
Do you want a grid, or just along the same axis? Not overlapping? Offset?
I want a grid
A possible formula would be int(touch.x/n)*n.
N is the size of the grid.
Develop games in your browser. Powerful, performant & highly capable.
That was exactly what I was looking for. thank you so much