I love how this grass on the main menu of this game moves while you run the mouse through it very slowly. Any idea how to make an effect like this?
Please login to see this link.

Dat Grass!
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
I love how this grass on the main menu of this game moves while you run the mouse through it very slowly. Any idea how to make an effect like this?
Please login to see this link.There is an open source Grass Example on my website.
Marv
-
There is an open source Grass Example on my website.
Marv
When I try to open the example it tells me it needs a CS_SinWave2 effect. I have looked at the mmfstuff page for it and downloaded the complex shadow pack v2, but it only includes a CS_SinWave effect (without the 2)
Where can I find this shader? -
You could manage with just an animation i believe.
-
Notice that all the grass blades are parabolas with constant curve lengths. If you could find a way to dynamically draw parabolas all over the place, this would be relatively easy.
-
if you could find a way to dynamically draw parabolas all over the place, this would be relatively easy.
surface! -
I would just do it with animations, but surface object might do the job too.
-
I would really want to see someone make it this flexible with animation
-
With just animations it won't be this flexible. Unless you give each blade over a hundred frames for each possible position.
EDIT: Can surface even draw parabolas? I don't see a way to.
-
Well it's just a surface to draw to. You can draw anything with it.
-
Hi,
I made grass example with frame animation. Each blade is an active object with 40 frames (120x120 px). Blades bends when you move mouse close enough. This is not perfect (especially random blades bending) but at least looks ok
As you can see this method has one big flaw - too many objects make it useless in standard mode ( it's even slower in flash ), only option for that method is turning on HWA.
You could make it faster ( I mean more blades with slower FPS drop ) by lowering size of the blade or total amount of blades objects and I think this is only option in that method, but if someone find another way to please let as know
( sorry for external link but file has 2,6 MB )
Please login to see this link.
-
Hi,
I made grass example with frame animation. Each blade is an active object with 40 frames (120x120 px). Blades bends when you move mouse close enough. This is not perfect (especially random blades bending) but at least looks ok
As you can see this method has one big flaw - too many objects make it useless in standard mode ( it's even slower in flash ), only option for that method is turning on HWA.
You could make it faster ( I mean more blades with slower FPS drop ) by lowering size of the blade or total amount of blades objects and I think this is only option in that method, but if someone find another way to please let as know
( sorry for external link but file has 2,6 MB )
Please login to see this link.
Wow this is really cool! At first I was not so impressed, it does not look very good with around 50 straws (they look a bit creepy then, like some kind of insect legs moving
). But when increasing to around 350-500 straws it suddenly looks extremely good!
The only problem is the framerate yes
My framerate dropped to half just by this. I wonder if its possible to optimize somehow to make this run better? (thinking of that thread now...
)
-
That example can also be tweaked so you can have paralax layers with various lengths of grass. Pretty cool example.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!