character collide with object and change animation

Get help using Construct 2

Post » Sat Nov 12, 2011 9:55 pm

How do I make my character so that when collides with a gun, He changes animations and his platform =0 sets it to my animation?
B
2
G
1
Posts: 8
Reputation: 466

Post » Sat Nov 12, 2011 10:05 pm

Event Character.on collision with another object (select Gun)
--> Action: Character.set animation "animation_name"
--> Action: Character.set value select platform value 0 (considering platform is an instance variable of Character)
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sat Nov 12, 2011 11:18 pm

But I have a normal animation and another for the gun.
B
2
G
1
Posts: 8
Reputation: 466

Post » Sun Nov 13, 2011 12:29 am

I'm afraid I don't understand what your problem is.
Post a capx and try to fully explain what you intend to do.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sun Nov 13, 2011 5:28 pm

how
B
2
G
1
Posts: 8
Reputation: 466

Post » Sun Nov 13, 2011 5:34 pm

Click on his sign and read - Posting tips
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643


Return to How do I....?

Who is online

Users browsing this forum: ManuelPerez and 23 guests