Problem with pathfinding after layout change

  • Hello everyone. I have almost completed my entry project for Tulamides A Blossom Tale event, but am encountering a peculiar problem.

    I have a main menu where you can set difficulty, see credits & instructions etc. When you press start, you change layout to gameplay area. Here I use pathfinding to move various objects around.

    The problem is, pf doesn't work after the layout change. But if I run the gameplay directly from that layout, it works. I have searched the forums and found this was actually a bug, but Ashley reported it fixed. Is it back to haunt us? Is it sinisterly waiting in the shadows to hunt down important projects in the last minute? Or is it my inability to properly switch layouts?

    Anyone has any idea or similar problems?

    EDIT: I tried to simulate the anomaly in a new project, but it works there. I suspect it may have to do with music, preloading, or sth else that I broke...

    EDIT2: Debugging shows they are stuck in "calculating path"

    EDIT3: It certainly is about the music/sounds. Because when I disabled all music and sound, it works perfectly. When I play the music, it still works. But as I keep adding sounds, after some point, it doesnt. I think it may be related to chrome. Unfortunately I only use chrome so didnt have the chance to test on other systems. (IE is completely unplayable with my program) I will post the capx after the competition end, and we shall see better then...

    Regards;

    -Wind.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)