How do I Make Enemy Move on y the axis only as player slower

Just started using Construct 2? Post your questions here

Post » Mon Dec 26, 2016 12:35 pm

Hi, I want to make the enemy move along the y axis as the player, but with slower rate. Atm I have: Enemy LOS to player, everytick -> Enemy.Y = Player.Y. But this is mapping exactly both y axes. I want that the enemy moves towards the y axis of player and not map it. Any ideas please? Thanks
B
3
Posts: 6
Reputation: 187

Post » Mon Dec 26, 2016 1:54 pm

Something like that?
https://drive.google.com/file/d/0B5FlDY ... sp=sharing

The Player has 8Direction-Behavior, but that should not really matter.
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Mon Dec 26, 2016 2:14 pm

Message: JohnJackSmith can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
giving me an error https://gyazo.com/d6313bdfbd0717e608c51d49cf5072cb
B
3
Posts: 6
Reputation: 187

Post » Mon Dec 26, 2016 2:36 pm

Thanks! Worked Like a charm!
B
3
Posts: 6
Reputation: 187

Post » Mon Dec 26, 2016 2:41 pm

You're welcome. What was the problem with this error? I had someone too with that problem. How did you solve it?
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Mon Dec 26, 2016 3:25 pm

I fixed the error by creating folders named "Layouts" and "Event sheets" and inside layouts put the layout.xmls and inside the event sheets put the eventsheets. In other words the problem was that it was searching for the folder "Layouts" where it was never there
B
3
Posts: 6
Reputation: 187

Post » Mon Dec 26, 2016 7:15 pm

Did you download file by file maybe ? Google drive has a download button on right top to download it as 1 capx.
B
33
S
18
G
28
Posts: 2,477
Reputation: 20,918


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests