Player Ignores Solids During Move Command

Get help using Construct 2

Post » Tue Jan 29, 2013 4:35 pm

Perhaps I'm going about this move command in an incorrect way.

Any help would be greatly appreciated.

This game is designed to be played on an Android (or another touch enabled device)

I would like to have it so you have a party of 3 individual sprites. In order to move one you must drag your finger from the sprite to the desired end-location. So using Construct 2, I made it so each sprite had an invisible object with a drag/drop behavior and then made it so this object would always be attached to the appropriate sprite (unless being dragged), lets call this object the movehandle.

So with the movehandle I have it so when it is dropped it will create another graphic called movetarget. When movetarget is created the character will face movetarget and accelerate toward it. Upon colliding with movetarget the character will stop. (All of these functions work just fine using the custom movement behavior)

Where I am having issues is with solids. My characters, while capable of moving to any desired location, they ignore walls. How do I keep the movement style the same but force my characters to collide and stop when hitting a solid?
Posts: 7
Reputation: 789

Post » Tue Jan 29, 2013 4:50 pm

If you are using physics behaviors you need to set them to immovable as opposed to solid.

Solid and jump through are for interacting with platform behavior objects if I remember correctlyBluePhaze2013-01-29 16:51:34
Posts: 1,833
Reputation: 14,633

Post » Tue Jan 29, 2013 4:55 pm

Not using physics behaviors. I'm attempting to give the game a Zelda: A Link to the Past flavor and as such will be using the same view point. (no Jumping, etc)

Sorry, should have mentioned that.

I would use 8 directional movement, but i would like to units to move more freely into any direction not just 8.
Posts: 7
Reputation: 789

Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], DannyBil, PixetBits, Yahoo [Bot] and 17 guests