Get wind to blow grass back and forth?

  • Hi friends,

    So I've been at this for about two weeks now, and I can't seem to find any other post about it. What I'm trying to do is to make it appear as though wind is blowing blades of grass back and forth on the screen in a fairly convincing manner. The capx I've attached should explain most of it, but what I've tried doing so far is using a timer to change the rotation patterns of the grass back and forth, and then what you'll find in the attached capx is an invisible sprite that essentially bumps back and forth in a "ping-pong" fashion that affects the grass accordingly. No matter what I do, it looks completely stupid, and although this isn't a major element of the gameplay, I think it could go a long way in creating an effective atmosphere. Any suggestions are welcome, thank you very much for your time!

    Here's the link to the capx:

    drive.google.com/file/d/0BxlKaPNOSg-yV1VKYkRHVUpjOE0/edit

  • "Sin" behavior buddy.

    https://drive.google.com/file/d/0B0jUjW ... sp=sharing

    Also you don't need to make another object with grass at opposing angle, just stretch the image the other way around.

  • My try at grass, from an old CC example.

  • "Sin" behavior buddy.

    https://drive.google.com/file/d/0B0jUjW ... sp=sharing

    Also you don't need to make another object with grass at opposing angle, just stretch the image the other way around.

    Thanks man, I'm not sure how I managed to miss that. I feel pretty stupid now considering what I went through as an alternative.. that's definitely much easier. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > "Sin" behavior buddy.

    >

    > https://drive.google.com/file/d/0B0jUjW ... sp=sharing

    >

    > Also you don't need to make another object with grass at opposing angle, just stretch the image the other way around.

    >

    Thanks man, I'm not sure how I managed to miss that. I feel pretty stupid now considering what I went through as an alternative.. that's definitely much easier. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    All right, don't need to feel that way. You just starting up! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> GL

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)