How do I Change the animations?

Get help using Construct 2

Post » Mon May 11, 2015 10:19 pm

@LittleStain you mean Adding Animations here on the main character?

Image
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 11, 2015 10:23 pm

Yes.. I don't understand the need for separate objects..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 11, 2015 10:25 pm

@LittleStain Um, Im new in C2 Maybe that's why sorry :D But okey! Thanks for correcting me :)

Do you know why when I run into solid objects and then keep holding the button run (right) then wait.... 2 or more seconds....

Next - I press (S) to crouch and it moves me forward?
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 11, 2015 10:36 pm

It might be your origin-points or collision polygons are wrong, but could also be there is an event that's triggered unexpectedly..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 11, 2015 10:41 pm

It looks like the Player(gun) or (Player) Scroll To goes left like it's following something which means it's invisible Player? But I pinned them together but still they don't stay together ?? sad
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 11, 2015 10:48 pm

Could it be the player(gun) is solid and the invisible player isn't?
I can only guess what is happening, but that might cause the invisible player to be able to move while the player(gun) is held back by the wall..

I've never had such things happen.
It must be the strange way you have set things up..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 11, 2015 11:04 pm

Okey @LittleStain I created the animations Player/Glock/Crouch on The main character called Player!
But the animation isn't playing ? something is wrong?
Image
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 11, 2015 11:28 pm

You are trying to play both animations at the same time..

Both run left as glock run left have the same conditions..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 11, 2015 11:29 pm

I know @LittleStain, I'm not sure what to do to prevent that?
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 11, 2015 11:40 pm

Add more conditions..
for example
give the player a boolean variable IsHoldingGun

If the player is holding the gun set the boolean variable to true
else set the boolean variable to false

on a pressed
--player variable IsHoldingGun is true
> player play animation Player(gun)run
-- else
> player play animation Playerrun

There are many more ways, but this is the most straightforward
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests