I'm almost getting it, but I still don't know where I might be going wrong.

0 favourites
From the Asset Store
It's here!
$2.48 USD
50% off
Creepy and nasty horror track. It's terrifying from the beginning till the end. Goosebumps guaranteed
  • In event #2 you have "On left button clicked on Terra", it should simply be "On left button clicked". There may be other mistakes. I suggest running the game in Debug mode (Shift+F4). There you can pause the game at any time and check the values in the array, instance variables etc.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, I tested it in debug mode, and the arrays receive the individual number of the terra object. The player moves to the object's location, but when they arrive, it doesn't switch the object's frame as it should. Also, if I click on another terra object while the player is on their way to the first one, the action for the first object gets canceled, and the player moves toward the last clicked object instead.

    My code seems identical to yours now. I fixed the issue where the click detection was set to respond only to left mouse clicks, and I reviewed the entire code. It looks correct, but I believe there might be a conflict caused by using both codes for moving the character with pathfinder behavior. I can't get it to work properly.

    I'm attaching a link for a youtube video showing how the system works in another game, which demonstrates the functionality I’m aiming for. Thank you for helping me!

    youtube.com/watch

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)