help on animation

For questions about using Classic.

Post » Thu Feb 26, 2009 11:29 am

I made an animation when the player dies, but it doesn't work. to die the player must touch in an object that i made, so the event i made was: on colision betwen "player" and "die object" player set animation to "die". Basicly this is what I made, this doesn't work and I can't find another way to do it, can someone help me?
B
14
S
4
G
7
Posts: 83
Reputation: 3,895

Post » Thu Feb 26, 2009 11:40 am

Any chance of posting the .cap? Hard to help when we can't see exactly what's going on.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Thu Feb 26, 2009 11:55 am

try
set animation to "die"
set animation frame to 1 - > to reset animation
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Thu Feb 26, 2009 11:59 am

[quote="shinkan":13pd7wf7]try
set animation to "die"
set animation frame to 1 - > to reset animation[/quote:13pd7wf7]

Doesn't work.

Here is the .cap file:

http://www.mediafire.com/?sharekey=1376 ... f6e8ebb871

Can you help me?
B
14
S
4
G
7
Posts: 83
Reputation: 3,895

Post » Thu Feb 26, 2009 12:05 pm

ok..which evant sheet?
"Mudar de layout"?

i'm not good at your language :wink:
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Thu Feb 26, 2009 12:11 pm

oops sorry xD

its in main.
B
14
S
4
G
7
Posts: 83
Reputation: 3,895

Post » Thu Feb 26, 2009 12:22 pm

1. set animation to "die" will not work becouse you don't have "die" animation for your Jorginho.
2. i cannot run your game...Temp.exe error shows up.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Thu Feb 26, 2009 2:33 pm

I know why, you downloaded the 1st version, I will upload it again with other name.

Here:

http://www.mediafire.com/?sharekey=1376 ... f6e8ebb871

this should be the one xD
B
14
S
4
G
7
Posts: 83
Reputation: 3,895

Post » Thu Feb 26, 2009 3:47 pm

First off, you're setting the position of the player to the beginning of the level in the very same action.

Second off, in your layout event sheet you have an include for the "Main" event sheet, and then an include for the "Animation" event sheet immediately after that. The Animation even sheet is changing the animation of your character in the same tick, after you set it to "Die," because you don't have any events that keep showing the player as dead.

Also (and this is completely unrelated) you have a Particles object with is slowing the game down so much I can barely play it. You should be more careful with your particles.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Feb 26, 2009 4:04 pm

thanks for the tip.

As for the particles I play the game perfectly, I didn't notus that problem.
B
14
S
4
G
7
Posts: 83
Reputation: 3,895

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests