Construct 3 Wind Effect
A downloadable asset pack
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
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:
- Add example (layout2) for seamless speed changeJan 16, 2021
- Add opacity and color parametersJan 15, 2021
- 1.0.1 Fixes for WebGL1/SafariJan 14, 2021
Log in with itch.io to leave a comment.
Hi! Weird request maybe, but would it be possible to make a Construct 2 version for this effect? I really like this effect, because it is just what I've been looking for However, I can't upgrade my project to C3 due to some plugins not being compatible with C3. Cheers
I don’t use C2 anymore, take a look for the skend effect for C2, you can do something similar with it.
Aah, thank you! That works great too!
Hi! I bought this asset on the store and I don't seem to be able to make it work. I added the effect, tried changing parameters, nothing made the sprite move. Any suggestions?
Check out the sample project? Review the parameters set in sample project vs how yours are set.
Otherwise, if you can share your project, I’ll take a look.
Loaded the project... and... somehow it's working? Idk how or why it happened but I won't complain! Thank you for the help!
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?
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!