Waterfalls with varying size

For questions about using Classic.

Post » Mon Jul 29, 2013 1:20 am

Hello!

I have searched and could not find any information on what I am trying to accomplish.

If anyone has played the Bubbleman Stage in Megaman 2, I am attempting something similar to the waterfall area of that.

Multiple thin waterfalls across an area that push down on the player, making jumps a bit slower/more difficult. This part I think I can figure out, it's getting the waterfalls in the layout and moving them properly that's driving me crazy.

What I am looking to do is have the waterfalls raise or lower depending on whether the player is standing under them. So that it looks like the player is interrupting the flow.

I'm not sure how to do it. Would I use a sprite for the waterfall and have the height difference as an animation frame, is there a way to just shrink the sprite when the player is under it, or is there another way I'm not even seeing?

Hopefully I make sense.

Any help is appreciated. Thank you. =)
B
5
S
1
Posts: 21
Reputation: 692

Post » Fri Aug 02, 2013 12:57 am

I guess you could make the waterfalls consist of "sprite blocks" and then make specific blocks beneath the player disappear when he collides with a waterfall.

Using XY coordinates should make the correct blocks disappear.
B
1
Posts: 2
Reputation: 129

Post » Fri Aug 02, 2013 12:42 pm

I remembered an old example someone made which might be what you're looking for: Waterfall Particle.cap
Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
127
S
43
G
18
Posts: 2,240
Reputation: 20,592

Post » Thu Aug 15, 2013 5:12 pm

Sorry for not answering sooner. I skipped the variable waterfalls and just finished the game without the animation.

Thank you very much for the responses, and the example, I can certainly still use it. =)
B
5
S
1
Posts: 21
Reputation: 692


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest