How do I AI platform controls

Get help using Construct 2

Post » Fri May 16, 2014 5:30 am

I was looking at the AI Platform controls by Ashely and she defined going right in the instance var of the enemy but I have no idea how " Left" is defined?

https://www.scirra.com/tutorials/253/ho ... ame/page-7

its on this page.
B
9
S
2
Posts: 272
Reputation: 1,632


Post » Fri May 16, 2014 2:46 pm

Some reason I could not get mine to work...the code is the last code in event sheet 1. the dog walking code.

http://www.dwbailey.com/images/dogwalk5.16.14.capx
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Fri May 16, 2014 3:02 pm

Event 224 of the event sheet 1:

You are using subevents, sub-events only occurs when the events above them are true, and of course, the variable action of the dog cannot be equal to both "left" and "right" at the same time

Also try not to use the "Else" condition for instances, since it does not pick the good instances in most cases

And also, I suggest you not to have too many opened layout and event sheets in the editor, my computer wasn't responding (my computer is bad but it is still one of the cause of regular crashing issue for some users)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sat May 17, 2014 7:00 pm

what am i doing different than the above example
B
9
S
2
Posts: 272
Reputation: 1,632


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests