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
Wanting to verify...
The origin point of any tilemap object instance is in the top-left corner, correct?
If so, let's say I want to pin-point the center of the instance which is 10x10 pixels... I would simply say:
Develop games in your browser. Powerful, performant & highly capable.
I would say so, yes.
I've just encountered this yesterday, i use the "Tilemap.x+Tilemap.width/2" so things don't break if i change size of the tilemap.
mindfaQ & JohnnySheffield - Thanks! And that x/2 is even better.
Now for the bigger question. With Pathfinding, does the condition of "On Path Found" become true when the object doing the behavior collides with the point being sought? Because what I WANT is for the Object.X/.Y values to equal the actual X/Y destination. But it always seems to stop short.
Its short because of the cell offset.
newt - THANKS! Got it working! In fact, I FINALLY have a viable patrol system that works better than any of my previous incarnations!