player with white background

Get help using Construct 2

Post » Mon Jun 22, 2015 6:20 am

Hi Everyone,

I deleted my player background in photoshop and paste on a new file with a transparent background and saved it as a .gif.

I opened that player in Construct 2 and I can see the transparency but the perimeter(square) of sprite touches other object.

Can you help me?

Thank You.
B
24
S
4
Posts: 78
Reputation: 1,308

Post » Mon Jun 22, 2015 6:31 am

what you mean with "sprite touches other object", visible overlapping or you mean in code?

I never tried gif, why not png?
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
11
S
4
G
1
Posts: 158
Reputation: 1,328

Post » Mon Jun 22, 2015 6:42 am

Hi,

I apologized for not being cleared with my request.

Let say my player is a red ball with transparent background. When my player moves the red part of the ball should touch any solid but instead the bounding size of the ball even though the ball has transparency background. I tried .gif .png and .jpg format. I am not sure what I am doing wrong?

Thank You.
B
24
S
4
Posts: 78
Reputation: 1,308

Post » Mon Jun 22, 2015 6:47 am

Thats what I mean, you dont see it... Its only collide.
You need to set the sprite collision polygon. Collision has nothing to do with transparency.

In sprite editor bottom left.
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
11
S
4
G
1
Posts: 158
Reputation: 1,328

Post » Mon Jun 22, 2015 1:18 pm

I see it now and I was able to add more points.

Thank you very much deathangel1479.
B
24
S
4
Posts: 78
Reputation: 1,308


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests