Is png alpha channel supported as a solid?

Get help using Construct 3!

Post » Thu Jun 22, 2017 6:07 am

Probably easier if I show pictures — if I have a racetrack like the first picture, a png with transparent background, then a reversed out version - second picture - to be the solid, the car doesn't move at all.

Would this be because Construct3 (or 2) doesn't support the alpha channel and treats the whole thing as a solid, or am I doing something wrong?
Image
Image

Many thanks :)
B
13
S
2
Posts: 10
Reputation: 712

Post » Thu Jun 22, 2017 7:19 am

Like in Construct 2, a collision polygon is what determines the surface of collision, not the texture itself.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,090

Post » Thu Jun 22, 2017 7:21 am

stock collision is a square, so your vehincle might just be getting stuck.you can crop your image in image editor to minimize said square, also in your toolbar, the button that looks like a snake, (-o-o-o ) (may have to resize editor window to see, under image point) will allow you to set custom collision polygons. if your vehicle still doesnt move, try not making your course solid, but putting invisible solid sprites where walls would be.
B
23
S
12
G
1
Posts: 109
Reputation: 2,801

Post » Thu Jun 22, 2017 7:57 pm

Thanks for the replies — makes perfect sense. I've done it with squares, and was fine, but looked a little messy (even though the player never sees that view) so was looking for a way to make it neater and easier to create than use multiple blocks :)
B
13
S
2
Posts: 10
Reputation: 712

Post » Sat Jun 24, 2017 8:29 am

understandable. but thats the magic of videogames. smoke and mirrors. lots an lots and lots of smoke and mirrors. :]
B
23
S
12
G
1
Posts: 109
Reputation: 2,801


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 0 guests