Compare several values

Get help using Construct 2

Post » Wed Feb 08, 2012 12:10 pm

Yes.. noobish i know.. but i don't know Construct syntax very well yet :/

I'm using Bullet-Movement and global variables to move toward Mouse-Click.

My problem is. Once Player arrives at the Point, he pretty much gets a stroke.

Keeps rotating on the spot.

I probably change from Bullet to pixels per tick. Because i want the Player to stop movement when arriving at mouse-click. And i want people to be able to upgrade the speed (variable) of the Player.

My problem is that i need to compare X,Y from the Mouseclick with X,Y from the Player Position. And i don't know how to compare several values in at once.

Where can i check on syntax?

B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Wed Feb 08, 2012 1:20 pm

Try using the system condition "Compare two values".
Also you can "add another condition" (right click) in any event (so the event is composed by several conditions, not just one).Kyatric2012-02-08 13:21:07
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Wed Feb 08, 2012 2:30 pm

Damn that is good to know!
B
40
S
11
G
4
Posts: 665
Reputation: 8,403


Return to How do I....?

Who is online

Users browsing this forum: armaldio, ETgirl79 and 21 guests