Making an actor appear after colliding with another?

Talk about making games.

Making an actor appear after colliding with another?

Postby Hyperyon » Sat Jun 24, 2006 1:57 pm

I need somekind of trigger to make a character appear. I was thinking of colliding my main character into another player and create the wanted character :shock: ...I learned how to destroy a player using a collision event on a diamond but i cant figure how to create one :cry:

Please help !
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby pavel329 » Sat Jun 24, 2006 5:34 pm

that's easy i did it with my game.make your character you want to appear.Then place him where he should appear.change his transparency to invisible.Then make another actor that your player will collide into.add a collision event then select change transparency of appearing actor.make it go to zero.when you collide with one actor the other will appear
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Hyperyon » Mon Jun 26, 2006 1:29 pm

Hey, that was cake:) thanks!

However, the character keeps appearing everytime I collide into the actor that changes transperancy. How can I make the character appear once? :?
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby pavel329 » Mon Jun 26, 2006 4:37 pm

make it where you destroy the transparency actor once you collide.then you will only be able to make the enemy appear once.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Hyperyon » Tue Jun 27, 2006 12:07 pm

but, meh.. I dont wanna destroy the collide actor:(
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby pavel329 » Tue Jun 27, 2006 2:00 pm

oh ok.listen.
1.select the player.
2.select add event.
3.select collision on any side of the trigger actor.
4.select change transparency to zero.
5.when you collide on an invisible actor nothing happens.


6.or use event disable.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Hyperyon » Thu Jun 29, 2006 7:18 pm

Ah, I forgot to mention...the invisible actor also has a path and everytime I collide with the trigger, the actor follows the path from scratch :?
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score

Postby pavel329 » Fri Jun 30, 2006 1:27 pm

he should still follow path.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Hyperyon » Mon Jul 03, 2006 5:06 pm

Solved it. 8) I created two actors with the same animation. One wich is destroyed and creates the character and the other has a physical reponse 0 with the main player. This way the appearing actor follows the path once and nothing happens when I bump into the remaining actor. Fair trade. This came to me on the moment, i'm sure theres an easier way to do it :roll:
Lets keep our dreams alive!
Hyperyon
 
Posts: 148
Joined: Sat Jun 24, 2006 1:29 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest