Page 1 of 1

coin tutorial

PostPosted: Thu Dec 27, 2007 10:45 am
by j2graves
early on, I used the Destroyactor function, but that didn't work because I cloned the coin actor and all the clones dissappeared when the player collided on the coin actor, so now I use the visibility state function and it works perfectly. also, you can make the coins reappear later in the same place this way. I hope this helps someone.

Re: coin tutorial

PostPosted: Thu Dec 27, 2007 6:07 pm
by Kalladdolf
ok, I think I smell some mistake here.
You can also do the collection with the destroyActor function, but!
you tell the coin:
collision -> any side of player -> destroy actor: event actor.
I promise you, this will work.
I think what you did was:
player -> collision -> any side of coin -> destroy actor: coin.
the difference is:
coin will destroy the whole group of coins, event actor means: here I am, just destroy me. PLING!
:D
the re-appearing thing is quite right.
gotta good point there =D

Re: coin tutorial

PostPosted: Fri Dec 28, 2007 10:06 am
by j2graves
you were right. I used to do it as a player event. now I have it as the coin's event.

Re: coin tutorial

PostPosted: Mon Jan 07, 2008 11:18 pm
by DarkParadox
OR
you could destroy
"COLLIDE ACTOR"

Re: coin tutorial

PostPosted: Sat Jan 12, 2008 6:37 pm
by j2graves
visibility state allows the coin to reappear in the same place