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,403

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
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

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,403

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
40
S
5
G
5
Posts: 405
Reputation: 5,657

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
40
S
5
G
5
Posts: 405
Reputation: 5,657

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
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

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,403

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,403

Next

Return to How do I....?

Who is online

Users browsing this forum: jobel, Timedoor Indones and 21 guests

cron