Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
Hi everyone! I have a big question: how do I make a construction grid, like classic RTS?
i.imgur.com/CXtdP1Q.gif - example
How do my structure "cling" to the invisible grid?
Thanks for the answers!
Check the how do I FAQ, you should find answers about RTS and making a grid quite easily.
You can use rexrainbow 's SquareTx plugin. It handles all of that stuff behind the scenes.
SquareTx plugin only can get position along grids, it is not enough for RTS game.
Hybridd
I believe you just need to snap the construction object to the grid while dragging by rounding the position to the nearest multiple of the grid square size.
Example capx
Develop games in your browser. Powerful, performant & highly capable.
I guess I misunderstand the scope then. We are building an RTS game, and your squareTx in iso mode works fabulously for us.
Hybridd I believe you just need to snap the construction object to the grid while dragging by rounding the position to the nearest multiple of the grid square size. https://db.tt/YELZo9GJ Example capx
https://db.tt/YELZo9GJ Example capx
Thank you for the information! This was driving me crazy!