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 :(
dl.dropbox.com/u/52040403/Falling%20coconuts.capx
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.
dl.dropbox.com/u/51594736/Falling%20coconuts.capx
Develop games in your browser. Powerful, performant & highly capable.
cocoNUTS.capx
Very strange. I try to open your exemples, but construct is crashing.
I have no this issue with another capx. <img src="smileys/smiley5.gif" border="0" align="middle" />
No problem here. What messages are you getting?
I have new install construct and reboot my computer , but I have the same result
<img src="http://dl.dropbox.com/u/48415327/crash.jpg" border="0" />
Thanks for the help :),but how to return the coconuts to its original place each time the player is dead.
To the last event - Player - On animation "Dying" finished
add action - System - Go to Layout 1
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.
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.
vidi
Dunno
coconutsRELOADED.capx
Just reset the falling and harmfull boolean to their start values
Plus some stuff to keep the rotation in control
Thank uuu :)))
.
The latest copy of it was posted by yann was it not?
dl.dropbox.com/u/23551572/C2/coconutsRELOADED.capx