How do I Do a Attack Animation (Rayman Style)

Just started using Construct 2? Post your questions here

Post » Wed Jun 01, 2016 1:16 pm

Hey everyone I am developing a game similar to Rayman and i'm trying to do attack animation however i'm not getting it to work seamlessly. Any suggestions is greatly appreciated.

Pic below showcases how the punch works ( just like rayman where the punch returns back to the player). Any help is greatly appreciated.

Image
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Wed Jun 01, 2016 2:50 pm

It will be easyer if you spawn the punch. And destroy when not 'in use'. No fuzzing with the 'enabled'.
You have to set the bullet angle of motion, NOT the angle of the sprite.
Set this angle on the moment that you spawn it.


Dont like to destroy it, set bullet angle of motion after you enabled the Bullet.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jun 01, 2016 10:05 pm

@99Instances2GO was thinking along those lines yes but what i am actually asking is i'm trying to get the attack animation just like how rayman character does before he punches eg in this video https://youtu.be/c_6puSLc_T4?t=422 at 7:02 - 7:04

Sorry if i confused you.
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325

Post » Wed Jun 01, 2016 11:09 pm

Exactly ? Use Spriter Animations.

That will not make your code less Dazed & Confused.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jun 02, 2016 12:51 pm

99Instances2Go wrote:Exactly ? Use Spriter Animations.

That will not make your code less Dazed & Confused.


@99Instances2Go will try and update you! Thank you
Image
B
60
S
32
G
5
Posts: 118
Reputation: 8,325


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 4 guests