Cut the transparency of file

Get help using Construct 2

Post » Sat Feb 15, 2014 8:32 pm

Hello,

'm new to Construct and I have a doubt when importing file with transparency.

I did a scene with transparency and added "solid" in the file, but wanted the transparent part not suffer influence of the "solid", is this possible?

When I add the "Platform" in character, he does not move, since the "Solid" scenario is not limited only to part with pixel.

Sorry for bad english

Thank you!
B
4
S
1
G
1
Posts: 6
Reputation: 494

Post » Sun Feb 16, 2014 3:34 am

@Reilisson, yes, it is possible. What you have to do is adjust the "collision polygon" so that it doesn't cover the transparent area. Do to this, double-click on the sprite in Construct 2, then choose the option on the lower left of the screen that pops up.

Then, your player should be able to run into the solids properly.
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Mon Feb 17, 2014 6:36 pm

@danialgoodwin, thanks for the help, but I did not want to do this because I'm having double work.
I'm making the map in photoshop and creating objects collision construct.
What I wanted was just to make the map in photoshop and that the construct interpretassa only the part with pixel and not the alpha.
Thanks for the help.
B
4
S
1
G
1
Posts: 6
Reputation: 494

Post » Mon Feb 17, 2014 6:42 pm

It would still require you to set your polygons.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Mon Feb 17, 2014 7:31 pm

@Reilisson, I remember somebody looking up how to set solid walls on a maze they built in Photoshop. I'm not sure if they were ever able to do accomplish that method without manually drawing the collision polygon. But, their method might of have something to do with detecting colors from the image and not allowing the player on those colors..
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Thu Feb 20, 2014 7:39 pm

@Lennaert and @Danialgodwin, thanks for help.
@Danialgodwin, i do not know use this method using color, so I'll do it manually.
Thanks again for the help.
B
4
S
1
G
1
Posts: 6
Reputation: 494


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, gskunk, richcoz81, zenox98 and 52 guests