help picking up one object at a time

For questions about using Classic.

Post » Sun Jan 27, 2013 10:07 pm

So I've been playing with CC for a few weeks now and I'm have a great time with it. I figured I'm at the point where I should join the forum and become part of the community. After searching old post and a whole lot of trial and error I haven't been able to solve my problem. I'm sure its a simple solution but I can't seem figure it out. All I would like is an example of how my player sprite can pick up one object at a time. I can post the cap below so you can see what I've done so far.

https://www.dropbox.com/s/uxlt0jhf5euc0tm/game.cap
(hold z to pick up objects)

thanks in advance for any much appreciated help.
B
2
Posts: 5
Reputation: 285

Post » Mon Jan 28, 2013 4:27 pm

To pick a single object you could use the picking conditions.
Add this additional condition below the existing one in event #10:
Sprite 5: Pick closest to: Sprite.ImagePointX(1), Sprite.ImagePointY(1)
B
6
S
1
G
1
Posts: 69
Reputation: 1,019

Post » Mon Jan 28, 2013 9:03 pm

Worked perfectly. Thanks shadowlord
B
2
Posts: 5
Reputation: 285


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests