falling coconuts

Get help using Construct 2

Post » Sun Dec 11, 2011 12:01 pm

Hello,

How can i create a falling coconuts fall from a tree when its on screen and the player is on the right side of them(or just passing them ) but in a nice way not the way i did in the capx :(
http://dl.dropbox.com/u/52040403/Falling%20coconuts.capx
B
303
S
6
G
5
Posts: 163
Reputation: 12,152

Post » Sun Dec 11, 2011 12:08 pm

One idea would be, not to have the nuts be attracted by the player - it looks like magnetized.

I would use a dummy-sprite underneath the tree, which is invisible and pulls the nuts towards it. you can use this sprite also as trigger for the fall.

http://dl.dropbox.com/u/51594736/Falling%20coconuts.capxWeishaupt2011-12-11 12:20:14
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Sun Dec 11, 2011 5:31 pm

Last edited by Yann on Sun Sep 14, 2014 10:48 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Dec 12, 2011 10:28 pm

Very strange. I try to open your exemples, but construct is crashing.

I have no this issue with another capx.
B
21
S
5
G
5
Posts: 163
Reputation: 5,028

Post » Mon Dec 12, 2011 10:33 pm

No problem here. What messages are you getting?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,841
Reputation: 48,283

Post » Mon Dec 12, 2011 10:46 pm

I have new install construct and reboot my computer , but I have the same result

B
21
S
5
G
5
Posts: 163
Reputation: 5,028

Post » Tue Dec 13, 2011 9:12 am

Thanks for the help :),but how to return the coconuts to its original place each time the player is dead.
B
303
S
6
G
5
Posts: 163
Reputation: 12,152

Post » Tue Dec 13, 2011 9:22 am

To the last event - Player - On animation "Dying" finished
add action - System - Go to Layout 1
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Tue Dec 13, 2011 9:31 am

@ Noga, That's not what i meant.

I mean if the player is dead then returned to position (54,407), how to set the coconuts position to its original one.

Not starting the layout from the beginning.
B
303
S
6
G
5
Posts: 163
Reputation: 12,152

Post » Tue Dec 13, 2011 9:47 am

@mina

You could destroy the ones on the floor after a few seconds, then either spawn or System/Create new coconuts on the tree at the original positions.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,841
Reputation: 48,283

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests