0 Favourites

This forum is currently in read-only mode.
• 6 posts

What I had in mind for a cool and useful plug-in or feature. A big circle cut into rings, where if a object is within this ring, it increases this variable. The further in, the bigger the number. Here are some attributes for it as well:

MinVariableNum: The smallest number allowed for variable scaling.

MaxVariableNum: The largest number allowed for variable scaling. Is also Base Variable

GeneratedRings: The total rings the circle can be cut into. Limited at 50.

GeneratedSize: Scalable in the layout editor, this just tells you how big it is right now, and can be edited here as well.

This is just an idea/Concept. I don't know if there is something like this already, but if there is, tell me.

• there's no plugin, but you can do it with a formula:

here's an example cap:

http://dl.dropbox.com/u/1013446/bulls.cap

http://www.scirra.com/forum/viewtopic.php?f=2&t=7119&start=0

• Yeap, distance(x1,y1,x2,y2), or the distance between two points, is one of the more useful expressions.

• there's no plugin, but you can do it with a formula:

here's an example cap:

http://dl.dropbox.com/u/1013446/bulls.cap

http://www.scirra.com/forum/viewtopic.php?f=2&t=7119&start=0

Thanks for the example, lucid. But there was one problem: The minnumber was set to 10, meaning if you were outside of the radius, the variables would still go down by 10. Setting it back to 0 fixes the problem.

(My main intention for this was to make a explosion splash damage thing. Thanks BTW. )

Develop games in your browser. Powerful, performant & highly capable.

Construct 3 users don't see these ads
• instead of lerp you can also use cubic or qarp for a non linear fall off curve

• > there's no plugin, but you can do it with a formula:

>

> here's an example cap:

>