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
I already have such a code:
Bullet on collision with another object--> bullet destroy
And I want to do this:
Bullet on collision with object 2-->bullet should not be destroyed
It is like this by default. If you said bullet on collision with object A > destroy, why would it be destroyed on collision with object B?
So I want to do this:
ObjectA on collision with objectB-->bullet should not be destroyed
ObjectB=stronger weapon (the bullet is not destroyed when it comes in contact with the enemy)
The bullet does not get destroyed unless you tell it to be destroyed, so it's fine?
Yes, and how do I do this?
Develop games in your browser. Powerful, performant & highly capable.
Did you clone the object? Or make sure the object has otherwise a unique name? If they're just copied, it will still destroy the bullet since they're colliding with the same instance.
Alternatively, post a sample of your code!