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
If I have a tilemap with each tile 16x16 (solid) and I want, when the bullet collides with tile - the tile (1 block) should be destroyed (erased), not the whole tilemap
I´m having a hard time with this same problem.
How did you finally solved it?
you should trigger erase tile at x.y of actor or mouse or where collision is
Develop games in your browser. Powerful, performant & highly capable.
What gamecorpstudio said. But you have to divide either the mouse position by the size of the tile or the object position by the size of the tile.
https://dl.dropboxusercontent.com/u/128 ... index.html
What about Tilemap.PositiontotileX(Sprite.X)? instead of percise numbers? If you change the tile size you have to rewrite it. Additionally you can even add SnapX.
Radiowaves That may work it was a rough throw together. Can't say until I test it. I didn't get an opportune chance to fully evaluate all of the Tilemap offerings