Barrel Floating in Water

Get help using Construct 2

Post » Sun Oct 14, 2012 1:16 pm

Before I start designing it I wanted to check if there could be alternative ways of creating this.

Water is going to have some opacity, and I would like a Barrel to float in the water, and the part "below" the water should be a different color (Probably "Blueish").

That would be 3D stuff of course, and currently I can only think of creating an animation of a barrel that is already colored as if under-water.


But any other ideas on this :) ?
B
40
S
11
G
4
Posts: 665
Reputation: 8,453

Post » Mon Oct 15, 2012 12:41 am

make blue water with opacity and put barrel behind water object ^^

I have some more ideas but they depends on how you want your water to look like ;)
ImageImageImageImage
B
158
S
66
G
43
Posts: 2,603
Reputation: 35,868

Post » Mon Oct 15, 2012 12:46 am

And for the physics , apply a force toward the sky when the boat is under water !
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,471

Post » Mon Oct 15, 2012 11:13 am

I think A picture might show what the problem is that I am talking about:



Only other thing besides drawing on the Barrel I can think of would be to create a small piece of water in front of it.
B
40
S
11
G
4
Posts: 665
Reputation: 8,453

Post » Mon Oct 15, 2012 12:51 pm

I have done that. I masked the bottom part to be transparent and rest of the barrel I left with normal opacity. It looks great with some sine animation making it go up and down.

B
44
S
5
G
5
Posts: 412
Reputation: 5,771

Post » Mon Oct 15, 2012 1:22 pm

This post makes me want to drink wine, or rum!

@nemo - how did you do the mask? Is it on the PNG itself, or in C2?
B
22
S
7
G
3
Posts: 189
Reputation: 4,270

Post » Mon Oct 15, 2012 1:42 pm

@superkew
It's just a regular sprite with some transparent part at the bottom.
B
44
S
5
G
5
Posts: 412
Reputation: 5,771

Post » Mon Oct 15, 2012 8:33 pm

okay ! I understood !
Make a water sprite in front of your barrel and behind your barrel , that'll make a nice 3d effect !
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,471

Post » Mon Oct 15, 2012 10:43 pm

Thx folks :)

@Nemo
So you just took a water sprite and do some sine in front then?
B
40
S
11
G
4
Posts: 665
Reputation: 8,453

Post » Mon Oct 15, 2012 10:44 pm

I haven't heard of that you can mask "part" of a sprite.
B
40
S
11
G
4
Posts: 665
Reputation: 8,453

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 53 guests