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
Grid - snap to grid — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/grid-snap-to-grid-3206
<h3>Features:</h3><div class="deshr"></div>
Use this topic to leave comments, ask questions and talk about Grid - snap to grid
Hi
Is it possible to snap to the grid in code? For example, I am generating a number between 1 and 20, can I set a grid of 20 x 20 and then snap a sprite to coordinate (16,2) in code?
Thanks
Develop games in your browser. Powerful, performant & highly capable.
Yes, it is possible.