A downloadable asset pack

Buy Now$2.00 USD or more

Construct 3 Wind Effect

Construct 3 animated Wind effect with the following parameters.

  • speed: "The speed of the wind movement."
  • minStrength: "The minimal strength of the wind movement. (0-1)"
  • maxStrength: "The maximal strength of the wind movement. (0-1)"
  • strengthScale: "Scalefactor for the wind strength."
  • interval: "The time between minimal and maximal strength changes."
  • detai: "The detail (number of waves) of the wind movement."
  • heightOffset: "The height where the wind begins to move. (0-1)"
    • Use to keep the base of the sprite stationary (e.g. lower tree trunk)
  • time-offset: "timeOffset"
    • Use to offset the shifting of the wind in time, so all the objects do not change in lockstep.
  • opacity: "The opacity, from 0 (transparent) to 100 (opaque)."
  • color: "The color to apply."

Notes: parameters for color and opacity. Use these effect parameters instead of the Instance color and opacity (this is due to a C3 issue with distortion effects when they are partially outside of the viewport.) Also, if there are issues with multiple effexct, try making the wind effect at the top effect list.

Add some transparency to the left and right of the sprite depending on how much the Sprite will be moving.

Adapted from my C3 Effect SimpleSkend and https://pastebin.com/VL3AfV8D.

Tree art credits: https://opengameart.org/content/pixel-art-simple-trees

Purchase

Buy Now$2.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $2 USD. You will get access to the following files:

Wind-1-1-0.c3addon 2 kB
EffectWorkshopWind-1-2-1.c3p 4 MB

Development log

Comments

Log in with itch.io to leave a comment.

I hit play and it didn't work. Even messed with the settings and couldn't figure it out.

Are you trying the test project? I tried it on the latest C3 beta and it worked. Can you tell me details about the platform you are trying it on (which PC/Mac/Mobile, which OS version, etc.?) Also, can you open the dev console (F12 on Windows, option-cmd-J on OSX) and report any errors seen?

(+1)

Hi! I fixed it. I'm not sure what was wrong but I redownloaded and it works now :) Thanks so much for the quick reply!

Hey! I am having trouble again. I had it working but now that Im trying it on a new layout it just wont move. Here are my parameters if you can help please, thanks so much! https://imgur.com/a/sHK4cYh

Nothing obvious, if you can send me a link to a sample project, I can take a look.

I use sendgb.com to temporarily host downloads.

https://sendgb.com/LwJosRBfT08 here you go!

I see what happened, try adding this group to the top level of your event sheet (something similar is in the example project layout 2). This method of setting speed to 0 and using dt to increment the time offset is mainly useful for the case where you might be changing the wind speed during runtime (you can add a multiplier to the dt that is added to WindTime to change the speed seamlessly.)

Another thing I saw in the project was that the height offset parameter was set to 1, this means that nothing will bend with the wind, normally set this to something like 0.1 (it depends on what your sprite looks like, but this assumes the lower 10% of the sprite should not bend, like a tree trunk.)

If you are not going to change the wind speed during runtime, you don't need any events, instead set the speed to  a non-zero value and set up the other parameters so it has the behavior you want and the animation will occur without events.

Hope that helps!

usefull :)