Need Urgent Help for a new person!

Get help using Construct 2

Post » Wed May 25, 2016 9:02 pm

Hello there, So I have to issues I cant Figure out and I'll post the CAPX down below.

1. I have a couple AI's that will chase the player when in a LOS but it seems as if they can see me from very far away. I don't think that would be fun for my players that play my game type! So I was wondering if I could make it where the Enemies could only see within a few pixels?

2.This one might be simple to fix but I am new so don't go too hard on me! I have a basic sprite that acts as a light and I did a pin to object and when I start to layout it seems like its completely off as you will see in the Level 1 layout. Anything to fix this?

3. Last thing I need is probably the more challenging question.... I want the enemies to walk around the map but not through objects! I have followed a recent manual here https://www.scirra.com/tutorials/474/pa ... sight#h2a1 . But no matter how I do it the code will not work. So maybe someone can point me some tips to help me through this?

Lastly here is the CAPX so you guys can see what I'm doing wrong! https://drive.google.com/drive/u/1/fold ... kstczlQX3M

Thanks in regard,
Chris
B
15
S
5
G
2
Posts: 31
Reputation: 2,002

Post » Wed May 25, 2016 9:35 pm

I don't seem to be able to access the capx but :
1. Line Of Sight > Set Range
3. Line Of Sight > Add Obstacle
B
46
S
16
G
79
Posts: 2,171
Reputation: 46,859

Post » Wed May 25, 2016 10:08 pm

plinkie wrote:I don't seem to be able to access the capx but :
1. Line Of Sight > Set Range
3. Line Of Sight > Add Obstacle



Try this!
https://onedrive.live.com/redir?resid=3 ... ile%2ccapx
B
15
S
5
G
2
Posts: 31
Reputation: 2,002

Post » Wed May 25, 2016 10:24 pm

1. Line Of Sight > Set Range

2. The light thing is because you have it set on the UI layer with a different parallax to Game. If you put it on Game layer it will move with the player properly, or move it to another layer etc

3. The enemies seem to avoid the walls and stuff. If you mean with each other then the solution could be here viewtopic.php?f=147&t=171480&p=1033519&hilit=collision%2C+pathfinding#p1033519
B
46
S
16
G
79
Posts: 2,171
Reputation: 46,859

Post » Wed May 25, 2016 11:37 pm

plinkie wrote:1. Line Of Sight > Set Range

2. The light thing is because you have it set on the UI layer with a different parallax to Game. If you put it on Game layer it will move with the player properly, or move it to another layer etc

3. The enemies seem to avoid the walls and stuff. If you mean with each other then the solution could be here viewtopic.php?f=147&t=171480&p=1033519&hilit=collision%2C+pathfinding#p1033519



Thanks for 2 man! I'll PM you if you want to help again :) Thanks again
B
15
S
5
G
2
Posts: 31
Reputation: 2,002

Post » Wed May 25, 2016 11:39 pm

Yes I helped with the stamina bar too, I recognised the project. Just PM if you need help they're only little fixes.
B
46
S
16
G
79
Posts: 2,171
Reputation: 46,859


Return to How do I....?

Who is online

Users browsing this forum: batto and 29 guests