Simple Interactive Foliage 2D - Godot
About
Hi Guys,
I'm trying to make a very simple interactive foliage project, maybe the code I wrote is not perfect but I'm quite happy to be able to make it and I can use it in my next project.
I used a shader from 2D wind sway, with a slight modification by adding the code:
The skew variable is used to adjust the skew of the texture based on the player's speed when it hits the grass. You can see for yourself the project I made by downloading it
I share the source code of this game, please download it without any conditions. I will be happy if you give feedback below