png images and tranparancy

Get help using Construct 2

Post » Mon May 14, 2012 5:10 pm

I've tried to make a simple plate forme game with the tutorial: how to make a platform game

but, as for the ground, I've use different forms , where there is some form with parts of transparancy.

like this:

As in the game, it's like this:


As you see, it's a little bit incontinente to have the part of transparence feeled

Could anyone please tell me how to handle it, thanks
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Mon May 14, 2012 6:27 pm

Not sure what the problem is! In the image, it looks fine...
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue May 15, 2012 8:05 am

in fact, my person can not contact directely the ground...because of the part of image transpant...is it possible to touch the ground
,like this:[URL="http://www.nothing1969.com/image/2012-05-15-1.png" ][/URL]
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Tue May 15, 2012 8:06 am

<br /><img src="http://www.nothing1969.com/image/2012-05-15-1.png" border="0" /><br />
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Tue May 15, 2012 8:07 am

B
11
S
2
Posts: 53
Reputation: 1,237

Post » Tue May 15, 2012 8:09 am

sorry, but i don't know how to upload this image
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Tue May 15, 2012 8:24 am

you're talking about a collision mask, you can edit it in image editor by clicking the collision mask button on the left (below the hotsopt button). image is just an image, collision mask is the thing that's responsible for collisions :)
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Tue May 15, 2012 8:29 am

check the manual about this topic hereMark4Media2012-05-15 08:29:55
B
19
S
6
G
3
Posts: 33
Reputation: 2,712

Post » Tue May 15, 2012 9:13 am

Wow, Thanks a lot Mark4Media and Ranma, That's really cool
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Tue May 15, 2012 5:05 pm

yeah its important to remember that collision and transparency are two totally different things with c2. Transparency is strictly for letting images have "missing parts" it has absolutely nothing to do with collision

Its also important to remember that collisions cant have "holes" in them. They have to be a solid filled shape
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Next

Return to How do I....?

Who is online

Users browsing this forum: Callan S, Yahoo [Bot] and 18 guests