I'd like to add a ghost enemy in my game which can pass through solid blocks. Is it possible to make an object that a player cannot pass through, but an enemy can?
The solid behavior has a 'tag' property you can set, or you can use the 'set tag' action.
Then use the 'Set solid collision filter' action on the sprite you want to be affected only by that solid with the same tag.
Develop games in your browser. Powerful, performant & highly capable.
How do you access the tag? And is it on c2 or c3?
The solid behavior has a 'tag' property you can set, or you can use the 'set tag' action. Then use the 'Set solid collision filter' action on the sprite you want to be affected only by that solid with the same tag.
How do i set tag?
Collision filtering with tags is not available in construct 2.