Page 1 of 1

LOS Help

PostPosted: Mon Apr 09, 2012 12:04 am
by Antxion
Hey guys
I have been using the Line of Sight Demo - IMPROVED VERSION by feral for my game but when I add a background the line of sight collides with the background so the enemy never see me because the background is in the way.
Any ideas?
thanks

Re: LOS Help

PostPosted: Mon Apr 09, 2012 4:25 pm
by skydereign
This game was posted by Johnno, are you the same user? To answer your question though, just disable the backgrounds collision state (with the CollisionState function).

Re: LOS Help

PostPosted: Tue Apr 10, 2012 5:43 am
by Johnno
No we're not the same user, but we decide to work together on separate aspects of a game and we're now using that map for testing. The new map level looks really good now, can't wait to get it working and post it up.

Thanks for the reply, it's working now!

Re: LOS Help

PostPosted: Tue Apr 10, 2012 11:27 am
by Antxion
Yeah thx Sky
awesome work :D