Hello again!
Once again I find my self in need of help from the ever awesome Scirra community.
Here`s my problem:
I need to find a way to pick a specific instance of an sprite from several overlaps. I am trying to create a "laser" which would always set its width according to nearest wall in Shooting direction. (so not just nearest to the player for instance, but the wall that would be hit first so to speak.)
Problem is that all the instances are hit simultanously so i can`t exactly pick the one which was hit first. I`ll attach sample Capx, that should clarify what I am trying to achieve.
As always, any help is welcome and thanks in advance!
here`s Capx: https://www.dropbox.com/s/61a8isd1rg735 ... .capx?dl=0