MPPlantOfficial's Recent Forum Activity

  • "wait for previous action to complete" is only needed if you want to start moving the sprite in the same event. You can still use "On path found" event.

    https://1drv.ms/u/s!AgpkemTjg_pViCtaGqARqUuvT2eL

    Thanks. Here's the a link to the combined pathfinding with the path projection.

    Btw would you happen to know how I could set it so it only travels a certain distance along the path like maybe I could set a distance of only 5 or 6 tiles?

  • I tried this before about 2 years ago. You start by using the joint function for each link of the chain.

    The hard part is restricting the chomp's movement to a certain range, getting that chain taut when the chomp jumps is where I gave up. Will be following this thread to see if someone's come up with a solution since

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are a few other important changes I made in your project - reduced character collision polygon, changed origin point position.

    > Is it possible to project the path it's going to travel

    Yes, check out this demo:

    https://howtoconstructdemos.com/pathfinding-instantly-and-constantly-showing-path-to-cursor-position-capx/

    Nice. I'll check it out.

  • I changed you example, take a look:

    https://www.dropbox.com/s/06c1xqlquzhyeig/TileWorkaround2.c3p?dl=0

    Also, check the official Pathfinding template, it shows the generated path.

    Damn. The key thing here was the "wait for previous action to complete"

    my initial actions were:

    - Find Path to ...

    and

    On path found | Move along path

    and it resulted in this jerky diagonal movement.

    Thanks!

    EDIT: Is it possible to project the path it's going to travel while highlighting grid boxes but before actually clicking on them? I'm thinking first adding 5-6 'projector' sprites in there but am not sure if you can subject them to another sprite's path without adding the "Pathfinding" function to them separately. seems like a waste of memory

  • I think you are confusing Tile Movement and Pathfinding. These behaviors are different, and Tile Movement doesn't have pathfinding feature. That's why your character sprite bumps into solid walls.

    I suggest calculating the path with Pathfinding behavior (you can disable diagonals in it). And then move the sprite with MoveTo behavior, using the waypoints calculated by Pathfinding.

    No I wouldn't say I'm confusing the 2 but more like I assumed the Tile Movement behavior calculated the best path for you tile by tile since the obstacle is set by default to all solids. I don't even know where to begin with that implementation. I tried setting the pathfinding diagonals off but somehow the sprite still travels diagonally calling the 'move along path' action.

    how do I even see the generated path btw?

  • so I'm trying out the tile movement for the first time today.

    The pathfinding Grid movement for the "move to" action implements it both by simultaneously addressing both the x and y components resulting in diagonal movement when I want to make my sprite follow 'L' and 'S' paths.

    EDIT: I forgot to include the problems I'm encountering:

    - the pathfinding for this behavior seems to 'brute force' its way into an obstacle for lack of a better term. in the c3p file I provided, you'll notice clicking on a space behind a solid object the sprite will move along the path but stops as soon as it collides with a solid block instead of trying to find a way around it. this happens both for diagonal and adjacent movements.

    There are 2 things I'm trying to do:

    1. disable diagonal movement by setting it so the movement tackles X and Y components at a time

    2. set a single function for movement that restarts when the condition 'not in position x,y' yet.

    it sounds simple enough on paper but somehow I'm having a brain fart over this.

    c3p link below:

    https://1drv.ms/u/s!AgpkemTjg_pViCrIE-D4TS-PKCXK?e=Rl5u4Q

    nevermind. the link was requested using my other device and I've received it in my email. mods, please delete/lock this.

    Hi everyone I am attempting to sign my account to another device I will be using but there doesn't seem to be an option to view my current password; only to change, which I have been attempting to do but the password I saved on my browser isn't working.

    Would it be possible to give a change password link via my email?

    Tagged:

  • nevermind...

  • I'm trying to add the usual Functions plugin to a new Project. Can't find it.

  • > The downloaded C3 desktop app is completely independent of the browser version. It has no effect on whether you have the option to install in the browser. If that option doesn't appear in the browser, it's probably because you already installed it.

    Yes but the installed version is r 130+ apparently.

    I am trying to uninstall it but cannot find in Control Panel?

    Oh nevermind. I found it in the "Chrome Apps" folder. There are a dozen Construct 3(1), Construct 3(2), Construct 3(3) files in there. I'm assuming they're different installed versions...

  • The downloaded C3 desktop app is completely independent of the browser version. It has no effect on whether you have the option to install in the browser. If that option doesn't appear in the browser, it's probably because you already installed it.

    Yes but the installed version is r 130+ apparently.

    I am trying to uninstall it but cannot find in Control Panel?

MPPlantOfficial's avatar

MPPlantOfficial

Member since 17 Feb, 2016

Twitter
MPPlantOfficial has 1 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies