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.
dropbox.com/s/uxlt0jhf5euc0tm/game.cap
(hold z to pick up objects)
thanks in advance for any much appreciated help.
Develop games in your browser. Powerful, performant & highly capable.
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)
Worked perfectly. Thanks shadowlord