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
Right now I am constantly experiencing an issue of collision detection under nesting. Specifcally it has to do with overlapping objects under the else condition.
Download source (test for collision case using debugger)
The first case
I did as much as I can to get the corner objects to overlap the arrows, but the system will always label it false on line 30 but line 28 is always true. I am wonder from you guys on how I can properly check collision for the dot object despite being within range
Your Sign_esw frame 0 has an origin of 0,0
frame 1 has an origin of 0,3
so, when it is on frame 0, the objects never actually overlap it...
when I made the origin for frame 0 also 0,3 then it seemed to work fine.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for noticing the mistake because I must have overlooked on the origin points.
Now the signs work as expected.