How do I touch object then it will shake ?

Just started using Construct 2? Post your questions here

Post » Mon Nov 02, 2015 4:43 pm

How do I touch object then it will shake ?

What action I should add ? I can't fine shake action

Thank
B
15
S
5
G
3
Posts: 72
Reputation: 2,645

Post » Mon Nov 02, 2015 5:36 pm

zeroflag wrote:How do I touch object then it will shake ?

What action I should add ? I can't fine shake action

Thank


What does a shake look like?
Up and down or left to right or both combined?

If you know what it should look like, it shouldn't be hard to create with either one of the build in behaviours or some events setting the position (maybe even rotation?) of the sprite..
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 Nov 02, 2015 6:15 pm

LittleStain wrote:
zeroflag wrote:How do I touch object then it will shake ?

What action I should add ? I can't fine shake action

Thank


What does a shake look like?
Up and down or left to right or both combined?

If you know what it should look like, it shouldn't be hard to create with either one of the build in behaviours or some events setting the position (maybe even rotation?) of the sprite..



Just need to shake left or right and back to current. please advise
B
15
S
5
G
3
Posts: 72
Reputation: 2,645

Post » Mon Nov 02, 2015 7:05 pm

I'm not sure what kind of movement you are looking for,.
You might want to rotate it around a point outside of the sprite..
move it left and right and back with any of the built in behaviours..
Sine could do it..
bullet behaviour could..
It all depends on the way you'd like the movement to look..
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 » Thu Aug 11, 2016 8:44 am

I know it was asked a long time ago but in case someone else has the same question...
I'm thinking in:
- a fast Sine behaviour?
- create an animation of the object with the left and right frames and set it when 'touched'?
B
4
S
1
Posts: 6
Reputation: 312

Post » Thu Aug 11, 2016 9:02 am

Have you seen this behaviour by @luizgama ?

behavior-shake-not-camera_t166389?&hilit=shake+behaviour

It is like camera shake but on sprites instead.
B
54
S
23
G
12
Posts: 747
Reputation: 11,910


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests