skip navigation
Game Plague Forums
Not a member? ( Register )
User Name: Password:
partly solid objects. - Showing Replies by KaBob799
Pages: [1] -
Pazaza
06/23/12 02:02 amFilter

Dualer


Awards:

Group: Member
Posts: 210
how do you make an object where part of it the player cannot pass through, but the rest it can walk on? been trying to figure this out for a while now

------------
WHAAAAA....!!???!
Showing Replies by KaBob799 - Return to Full Replies
KaBob799
06/23/12 06:12 amFilter - Reply #1

Dual Master


Awards:

Group: Admin
Posts: 1027
You add a mask to the object, the mask is then used to check for collisions. So you just remove the walk on parts from the mask sprite. Alternatively you can split the sprite into 2 pieces and have the object draw the nonsolid piece.

------------
Pages: [1] -