LOS Help

Game Editor comments and discussion.

LOS Help

Postby Antxion » Mon Apr 09, 2012 12:04 am

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
Attachments
los.rar
(532.15 KiB) Downloaded 81 times
"Only through fire is a strong sword forged."
May the force be with you.
User avatar
Antxion
 
Posts: 22
Joined: Sun Mar 25, 2012 1:04 am
Score: 0 Give a positive score

Re: LOS Help

Postby skydereign » Mon Apr 09, 2012 4:25 pm

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).
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: LOS Help

Postby Johnno » Tue Apr 10, 2012 5:43 am

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!
Johnno
 
Posts: 23
Joined: Thu Mar 22, 2012 2:56 am
Score: 4 Give a positive score

Re: LOS Help

Postby Antxion » Tue Apr 10, 2012 11:27 am

Yeah thx Sky
awesome work :D
"Only through fire is a strong sword forged."
May the force be with you.
User avatar
Antxion
 
Posts: 22
Joined: Sun Mar 25, 2012 1:04 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest