Custom Movement and shake in the middle

Get help using Construct 2

Post » Mon Oct 22, 2012 8:00 am

I have a 'N' number of sprites each can be launched one after another to go upwards on left click.
But i wanted to shake the sprite when the distance is X between the sprite and target, but when i shake using "Scroll-to" it seems to shake all the sprite even if i put it on another layer.

I am running out of ideas , please advise. Here is the capx,

https://dl.dropbox.com/u/80050021/SpriteMoveandShaked.capx
B
16
S
4
Posts: 248
Reputation: 2,267

Post » Mon Oct 22, 2012 4:23 pm

The ScrollTo behaviour will shake the camera, not the sprites, so you won't be able to apply a shake to a single object with that.

Maybe try some of the suggestions in these threads:
http://www.scirra.com/forum/how-to-shake-a-sprite_topic52831.html
http://www.scirra.com/forum/shaking-objects_topic56852.htmlNimtrix2012-10-22 16:23:52
B
27
S
8
G
8
Posts: 903
Reputation: 8,452


Return to How do I....?

Who is online

Users browsing this forum: heliogame and 16 guests