I've got a little test level going where you control a ninja and there are bad ninjas that throw stars at you. I'm faking a raycast by having the bad ninja fire an invisible sprite at the player, and if it hits the player then fire a real ninja star. So basically the bad ninjas should only throw a ninja star if the player is not hidden by a wall. It was all working fine, but when I added a second bad ninja (copy and paste) both of them now fire at the player when any one of them
has a clear shot. Can anyone explain what I am doing wrong and how to remedy this...it's driving me nutty!
I tried to add a link to the capx, but being new here it doesn't allow me for some reason!