Get wind to blow grass back and forth?

Get help using Construct 2

Post » Mon Apr 21, 2014 4:47 pm

Message: sickened can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
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:
https://drive.google.com/file/d/0BxlKaPNOSg-yV1VKYkRHVUpjOE0/edit?usp=sharing
B
3
G
1
Posts: 5
Reputation: 510

Post » Mon Apr 21, 2014 4:56 pm

"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 professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

Post » Mon Apr 21, 2014 5:44 pm

My try at grass, from an old CC example.
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » Thu Apr 24, 2014 4:54 pm

Message: sickened can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
megatronx wrote:"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. :D
B
3
G
1
Posts: 5
Reputation: 510

Post » Thu Apr 24, 2014 5:54 pm

sickened wrote:
megatronx wrote:"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. :D


All right, don't need to feel that way. You just starting up! :) GL
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099


Return to How do I....?

Who is online

Users browsing this forum: totoe, Yahoo [Bot] and 34 guests