Pushing blocks

Get help using Construct 2

Post » Wed May 01, 2013 10:41 am

Hello there, I've set up a small top-down game following the Pac-man Tutorial example, but I find that there is a lack of tutorials on how to push blocks. Something like Sokoban, if you've heard of it.
https://dl.dropboxusercontent.com/u/97973942/BlockMoverTest.capx

I've tried to follow the same event coding for the player/AI, but they do not work properly or have improper collision detecting.

Basically I'd like some help on the logic of how to get them to slide in a pushed direction until they hit another wall block, or if they are already against a wall block, to destroy itself.
B
5
Posts: 2
Reputation: 254

Post » Wed May 01, 2013 2:23 pm

what behaviors are you using
B
39
S
10
G
7
Posts: 514
Reputation: 9,426

Post » Wed May 01, 2013 3:07 pm

I've been using the bullet behavior, Just like the player and npc.
B
5
Posts: 2
Reputation: 254


Return to How do I....?

Who is online

Users browsing this forum: imnotspecial, tomi71, totoe, Yahoo [Bot] and 12 guests