How do I make my object on another layer move?

Get help using Construct 2

Post » Wed Jun 11, 2014 9:46 pm

The fire object is on the uppermost layer, but keeps getting stuck on the bricks on the lower layer - though it's not connected or pinned to anything.

When I encountered this, I added another object and then set the fire to it and pinned it to. But that didn't fix anything. So then I put a layer between the fire's layer and the brick's layer, but that didn't work either.

EDIT: Testing platforming out, and whenever I land on a platform, the entire screen shakes. My hero has a sprite and invisible animation block, so it shouldn't be happening. What's going on?
You do not have the required permissions to view the files attached to this post.
B
11
S
4
G
3
Posts: 210
Reputation: 5,318

Post » Fri Jun 13, 2014 7:21 am

i spend some time to figure out what you want to ask, and i still dint get it..what is fire object? can you rename the sprite inside the capx
B
6
Posts: 10
Reputation: 300

Post » Fri Jun 13, 2014 7:29 am

As far as I am aware, all collisions take place on a Layout basis and all Layers are part of the Layout, so what you expect to happen doesn't seem possible.

Just because a Layer is in the foreground or background doesn't mean it won't collide with other objects.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,386
Reputation: 58,454

Post » Fri Jun 13, 2014 7:52 am

Objects in different layers don't touch each other unless one object in one layer is attached to another object in another layer, and the game isn't suppose to shake when I touch platforms. So why the fire object is touching the platforms and why my hero makes the game shake when he touches platforms is beyond me, I consider it a bug at this point.
B
11
S
4
G
3
Posts: 210
Reputation: 5,318

Post » Fri Jun 13, 2014 10:41 am

you are using 8 Direction and Platform there for one should be disable before using other.
On start of set ignoring input 8 direction
Stop ignoring the other Platform and when you want 8 Direction then you should use
Start ignoring Platform and Stop ignoring 8 Direction
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests