How do I make a sprite leave a dotted trail?

Get help using Construct 2

Post » Fri Jun 27, 2014 3:38 pm

Hi,

In my project a sprite is aimed and fired at a target which is quite tricky to hit.

Can anyone tell me how to leave a dotted trail so that the player can make changes to the aim on their next attempt.

Would really appreciate some help.

Thanks :D
B
3
Posts: 4
Reputation: 183

Post » Fri Jun 27, 2014 5:10 pm

Have the sprite create another sprite every (lets say 0.2 seconds) as it travels to it destination.
B
14
S
6
G
3
Posts: 83
Reputation: 4,228

Post » Fri Jun 27, 2014 5:28 pm

Yes as @LI0NHART says

Create Condition - sprite fired - may be on click

Add Action - new small round dot sprites are created every .2 or .1 seconds.

Another condition - when the sprite is in collision with the targeted object

Action - stop creating the dot sprites
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Fri Jun 27, 2014 10:14 pm

Thank you so much Lionhart and Harishankar will have a go at your suggestions.
Had been scratching my head for days over this.
Thanks.
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: Armench, brunopalermo, farsen and 10 guests