How do I move from a smaller layout to a bigger layout?

Get help using Construct 2

Post » Mon May 19, 2014 5:45 am

I could use some help with something that seems like just a dumb error on my part...
I am making a point and click adventure game with multiple layouts, however I am coming across an issue where when I move from one layout to another larger one, the player will not travel beyond the constraints of the previous layout. Let me clarify: It's not that the character won't show up on the second layout, it's that he won't travel beyond the size of Area 1 (the first layout). The first layout is 2560, 1450 and the second is 10000, 5000. When the second layout starts, my character will not travel beyond the 2560, 1450 grid into the rest of the layout. I am using the pathfinding behavior to move the character and he is bound to the layout, is there something I'm missing? Thanks for any help :P

Capx download of problem is below. Start from Area 1, walk into the far right corner and transition into Area 2. Then, try to walk to the right end of Area 2 and the issue should be apparent.
https://drive.google.com/file/d/0B67iHi ... tkekE/edit
B
8
S
1
G
1
Posts: 19
Reputation: 1,093

Post » Mon May 19, 2014 8:39 am

When you move into new layout, try "regenerate obstacle map", because I think the borders of the first layout is taken as obstacles, so when you move into second layout, the object still remembers the old map.
B
18
S
4
G
1
Posts: 332
Reputation: 3,149

Post » Mon May 19, 2014 11:28 am

Wow, that was a quick fix. Thanks a lot!
B
8
S
1
G
1
Posts: 19
Reputation: 1,093

Post » Tue May 20, 2014 12:49 pm

Welcome you are young padawan :P
B
18
S
4
G
1
Posts: 332
Reputation: 3,149


Return to How do I....?

Who is online

Users browsing this forum: babymumu and 4 guests