How to play animations ?

For questions about using Classic.

Post » Mon May 30, 2011 5:59 pm

for me it just displays one of the frames, when i release the x key then it goes back to stopped animation.
B
2
G
1
Posts: 13
Reputation: 476

Post » Mon May 30, 2011 6:11 pm

The "stopped" frame and the second frame of "standShoot" are identical to each other though, so when you press 'x' the only frame that will look different is the first frame of "standShoot" because that one is drawn differently than the other 2.

When you release 'x', it's supposed to go back to "stopped" (which it does) since you aren't shooting anymore after release, but because the "stopped" frame and the second frame of "standShoot" are identical the only frame that can be distinguised between the 3 is the first frame of "standShoot".
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Mon May 30, 2011 6:16 pm

doesn't the function playAnimation should play animation if I call it in the Always event ?

[quote="MrMiller":2yxit4qb]The "stopped" frame and the second frame of "standShoot" are identical to each other though, so when you press 'x' the only frame that will look different is the first frame of "standShoot" because that one is drawn differently than the other 2.
[/quote:2yxit4qb]
I still should get that shaking animation, thats the whole point of standing and shooting (without moving).
as a reference look at this video, in my project it might not look the same but should be similar.
http://www.youtube.com/watch?v=MIEHjdeU1Zo
B
2
G
1
Posts: 13
Reputation: 476

Post » Mon May 30, 2011 6:33 pm

I actually get that movement when I press 'x' rapidly. The only difference between the .cap and the video you linked, is that in the .cap the player's feet move when firing (which is just a product of one of the frames having a different foot placement than the other 2).

So my question is, are you trying to get something where by holding down 'x' you get continuous non-stop rapid fire instead of having to press 'x' rapidly?
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Mon May 30, 2011 6:40 pm

Yes. :)
B
2
G
1
Posts: 13
Reputation: 476

Post » Mon May 30, 2011 7:13 pm

Okay. I have to jet, but I'll be jumping back into Construct a little later today for sure.
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Mon May 30, 2011 9:59 pm

Here is an example of how to make the "standShoot" animation move rapidly when firing:

https://rapidshare.com/files/3911819616 ... mation.cap
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Tue May 31, 2011 9:47 am

I think the prblem was because I used tags for basic animations like stand walk and jump.
B
2
G
1
Posts: 13
Reputation: 476

Post » Tue May 31, 2011 10:37 am

No offence, constructnub, but you haven't once thanked MrMiller for going out of his way to help you :( Just a thought.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,843
Reputation: 48,287

Post » Tue May 31, 2011 10:48 am

Thank you MrMiller
B
2
G
1
Posts: 13
Reputation: 476

PreviousNext

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests