[REQUEST] Draw Trails

Post your work in progress addons and get feedback

Post » Sun Jan 10, 2016 2:27 am

A plugin similar to this one : https://marketplace.yoyogames.com/assets/212/draw-trail

I would definitely buy it.
Image
B
54
S
23
G
39
Posts: 447
Reputation: 23,419

Post » Sun Jan 10, 2016 2:36 am

You could do that with Paster plug.
Image ImageImage
B
166
S
49
G
154
Posts: 8,103
Reputation: 100,227

Post » Sun Jan 10, 2016 3:07 am

@newt I was thinking it should be possible with canvas plugin but I couldn't figure out. How can we do it with paster plugin?

Also is it possible to make a behavior with the SDK that you can use it with a sprite and it will have a trail? Or do you need GLSL to make it?

I know, It's just an effect but I really obsessed with it lol. And I know there are lots of examples on the forum that teaches how you can fake it but I want a smooth trail without n numbers of sprites.
Image
B
54
S
23
G
39
Posts: 447
Reputation: 23,419

Post » Sun Jan 10, 2016 4:16 am

Paster can do quad deformations, which is only a partial solution as it would require several instances to pull it off. Those extra instances would inturn bring performance down a bit. It's basically like clotheslining corners of a texture together. Also I don't think Paster can do texture tiling, another drawback.
It is possible to do a full blown trail as either a plug or an fx, but only in webgl.
Image ImageImage
B
166
S
49
G
154
Posts: 8,103
Reputation: 100,227

Post » Sun Jan 10, 2016 1:06 pm

Download

it lacks some comments since i took it from an old capx see if till someone develops a plugin to do it better if that helps u in anyway :P
B
69
S
20
G
67
Posts: 1,311
Reputation: 42,259

Post » Sun Jan 10, 2016 2:05 pm

Trail with Canvas plugin

Image
B
6
S
1
Posts: 34
Reputation: 474

Post » Sun Jan 10, 2016 2:19 pm

Another smooth example

Image
B
6
S
1
Posts: 34
Reputation: 474

Post » Sun Jan 10, 2016 4:25 pm

Last edited by bilgekaan on Sun Jan 10, 2016 6:36 pm, edited 1 time in total.
Image
B
54
S
23
G
39
Posts: 447
Reputation: 23,419

Post » Mon Jan 11, 2016 1:21 am

thats some nice capx but its to heavy for using it in a game... my pc went 70% usage on preview ... which is nothing i wold use inside a game that has another 1000 elements and events to worry about... but its good that works but not sure if is CPU utilizable for what u want as performance even if u make it standalone app. ul cut half of ur players maybe more.
B
69
S
20
G
67
Posts: 1,311
Reputation: 42,259

Post » Tue Jan 12, 2016 8:50 am

Canvas plugin is affected by memory leak which causes bad performance, r0j0hound is aware of this but there no way to fix this, there another solution to use paster which doesn't affect memory leak.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests