Can Grid Movement Ignore Solids?

For questions about using Classic.

Post » Sat Apr 30, 2011 9:11 am

In my platform level editor, I've got solid block placement working with a grid-moving cursor, but I can't move the cursor back over a solid block to remove it... not sure what to do... curse my n00bness...
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Post » Sat Apr 30, 2011 10:08 am

You can change the collision mode for the block to none.
You'll probably have to use something like overlapping at offset along with a trigger to pick it.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sat Apr 30, 2011 2:40 pm

Collision Mode is perfect, I completely forgot about it. For anyone interested, I'm keeping the collision set to none except for the actual button press for block removal. When the key is pressed, it sets collision to bounding box, and then checks for collision and removes the block if its there. Thanks Newt, its working great so far
B
64
S
8
G
9
Posts: 290
Reputation: 8,590


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests