Piggie needs to learn to play with others

Get help using Construct 2

Post » Mon Dec 02, 2013 1:56 am

haha, thats what I thought at first, then saw your example ... and we got lost there somewhere, hehe

here, hows this

capx
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Mon Dec 02, 2013 2:06 am

Wow, nice one. Haven't thought of that one, obviously. Thank you lennaert.

To be perfect I'll just have to come up with a way to not make the walking object target himself and to make it work in a way where more than 1 object can walk. I'm trying to make a virtual evolution game/simulation and I might happen to have +15 little piggies trying to find true love at the same time.

Will work on this tomorrow as I'm too tired to do anything else. Thanks for all the help guys, much appreciated.
B
10
S
1
Posts: 17
Reputation: 642

Post » Mon Dec 02, 2013 2:08 am

Add another local var targetuid

when setting var x,y also set targetuid = Sprite.UID


in second pick add Sprite.UID is not targetuid :)


Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Mon Dec 02, 2013 11:19 pm

Hey, just came here to report that it is kind of working the way I wanted. The help you gave me was great and enough for me to know where to go from now on. Thank you lennaert and blackhornet. You just made me and lots of piggies happy!
B
10
S
1
Posts: 17
Reputation: 642

Previous

Return to How do I....?

Who is online

Users browsing this forum: Blendi1223 and 46 guests