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
Ok so if I want characters to have the variable anger and when two characters collide and have anger higher than say 50 they would get into a fight. How could I check that both of them are angry so they won't just attack random people
on collision object1 with object2
(sub)system compare object1.angry>50
AND system compare object2.angry>50
Develop games in your browser. Powerful, performant & highly capable.
Well the problem is they're both the same object type
you can put the object(s) in a family, then pick the first one by the object and the second one by the family.
on collision object1 with object1
...Pick object1 where object1.anger>50
hmmm the family would involve more work because then I'd need to code for getting and losing anger for the object and the family and I'm not sure how to do the abject.PickedCount thing.