skip navigation
Game Plague Forums
Not a member? ( Register )
User Name: Password:
partly solid objects.
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....!!???!
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.

------------
Pazaza
06/23/12 07:35 pm - Last edited 06/23/12 08:10 pm by PazazaFilter - Reply #2

Group: Member
thank you. i can figure out the rest with how this particular object is supposed to behave Edit: it is a wheel with two walls going through it vertically and horizontally through the middle
Pages: [1] -