Trail Effect

Get help using Construct 2

Post » Sat May 27, 2017 3:09 pm

Hello, I've seen this amazing trail effect from this website Trail Effect Could it be possible to make an exact effect like this in construct 2?

What i wanted to achieve:

1. I want the object to spin first in a circular shape just like on the website i linked
2. Make a long trail when mouse is being moved to any direction

==================================================================
Could it be possible to turn this into plugin?
Trail Effect Source Code
Last edited by jance0405 on Mon May 29, 2017 1:21 pm, edited 1 time in total.
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Sat May 27, 2017 3:19 pm

The particles object set to constant, and 0 speed works nicely.
Otherwise put a fade behavior on a sprite.
There's several trig examples for the rotation on the forum.
Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Sat May 27, 2017 3:34 pm

You can make it possible using particles and effects. I'm not sure how effective it will be performance wise, it will use GPU memory more then average effects or sprites would.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sun May 28, 2017 10:28 am

imhotep22 wrote:You can make it possible using particles and effects. I'm not sure how effective it will be performance wise, it will use GPU memory more then average effects or sprites would.


I've seen similar to this trail effect and yes it took 2k objects to achieve this kind of effect but may be someone can do it without affecting the performance of the game
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Sun May 28, 2017 11:23 am

You can reduce the number of circles that spin around, and reduce the particles per second to improve the performance.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Mon May 29, 2017 6:07 am

Anyone?
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Mon May 29, 2017 6:33 am

I made a fairly non resource intensive trail effect.
https://drive.google.com/open?id=0B8Hlh ... m9JbjZtczA
:)
yes.

__

|:D|

Gamjolt account:http://gamejolt.com/profile/masgame/409321/
B
33
S
12
G
3
Posts: 38
Reputation: 4,553

Post » Mon May 29, 2017 10:20 am

Masgame098 wrote:I made a fairly non resource intensive trail effect.
https://drive.google.com/open?id=0B8Hlh ... m9JbjZtczA
:)


wow, Looks similar but the 250+ objects will gonna kill the mobile performance for sure
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Mon May 29, 2017 11:30 am

If you are making it for the mobile I suggest you just totally skip the effect, of your device will die out of lag. I don't knot if saw Ashley bunny test, but the mobiles ware unable to handle more then 250 objects on screen because they started to lag. Particles are bit more efficient then sprites but still it will cause ton of lag.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Mon May 29, 2017 1:21 pm

Hi guys, i found the source code of the amazing trail effect. Please read back on my post
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Next

Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Kin, ratboy3, takamoto, tinhofiel, Yahoo [Bot] and 39 guests