marcinkowski's Recent Forum Activity

  • It is like that. I wrote the pathfinding behavior. I'm simply describing how it works.

    Ashley

    Ok so maybe we can ...fix, diversify this. Because we can't make simple game like Desktop Tower Defense game from 15 years ago.

    What You think?

  • Ashley

    It's not like that

    I made a short video to explain it. This is very important, because old "Desktop Tower Defense" uses the fact that Pathfinders go the straight path. This is an old rule that is broken in C2.

    https://youtu.be/pOY0uj8n0Y0

  • Ashley

    I can not agree. Because of the demo instruction in the game "Pathfinding demo" object moves straight from point A to B. This is because it is triggered by clicking a point. It's a similar situation, but it works properly.

    It is damning that there is a bug. When nobody performs this function (as in a demo), then there is this mistake and Pathfinding chosing this longer path.

    If you disagree, please write how to make Pathfinder move as in the DEMO game. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The project looks like it's working correctly. What exactly were you expecting to happen instead?

    Ashley This is a serious problem, since he has been in C2 for many years.

    When you have a game: the ambulance must quickly reach the patient because he is dying. You collect improvement points to buy a better ambulance. In the end, you buy the best ambulance and you have an alarm that you need to get to the patient quickly.

    And here? The ambulance has a straight line from points A to point B, and goes as if point C exists. This is bug as hell.

    If there is a straight path from point A to point B, Pathfinders should follow this straight path, not longer path.

    Please, fix this error or add choice: shortest path or normal.

    Thank You!

  • Problem Description

    When You got simple path from A to B. Pathfinders chosing longer road to target. They trying touch bottom obstacles.

    Attach a Capx

    https://files.fm/u/442s85jc

    Description of Capx

    Simple Pathfinding from C2

    Steps to Reproduce Bug

    • Trying to change Pathfinder Cell size, borders and diagonalis
    • Trying to change events for Pathfinders creating

    Observed Result

    Nothing helps

    Expected Result

    Pathfinders should chose shortest path when have simple road from A to B. In many games it's compulsory.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Win 10

    Construct 2 Version ID

    C 255

  • dop2000

    this is a bug

    it's look mega weird when You have straight way from A to B and they chosing longer path.

  • dop2000

    zenox98

    Ok guys I found where is the problem. When I use spawn object, they doing this weird walk.

    Please check capx

    https://files.fm/u/ac7cmv7y

    Without spawning it's works fine. Don't know how to fix it

  • zenox98

    dop2000

    All pathfinders settings are in one file, there is no another method to change it.

    Now I changed Diagonalis for disabled and now they chosing top obstacles, they go at the upper edge.

    They do not choose the shortest path ;-(

  • There may be other (invisible) obstacles, or wrong collision polygons, or the cells size is too big.

    Impossible to tell without seeing your capx.

    Hey dop2000

    other (invisible) obstacles - no

    wrong collision polygons - what you mean? polygons of obstacles? They don't interfere with the polygons in the bottom obstacles, so I think it'ok.

    cells size is too big - no because the bottom obstacles do not bother them. They like bottom are like in gravity

  • Hey

    My pathfinders always chosing longer way to path. I tried many things, but still nothing.

    The are behave like in gravity where bottom obstacle is a ground.

    Any idea?

    Thanks

  • Anyone know what is wrong. I cant see preview and mobiel game doesn't work.

    thanks!

  • Hey

    I have one file "cocoonrewardedvideo" where I can place AdMob code. But I need another Admob Reward Video with diffrent code. How can I use 2 codes?

    Thanks

marcinkowski's avatar

marcinkowski

Member since 18 Nov, 2011

None one is following marcinkowski yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies