ilyaTyl's Recent Forum Activity

  • Can you do example - without generation level?

  • Hey sorry for the late reply, I've been busy with my new job... I can see what I can put together but it may not be until the weekend.

    ~Sol

    I check your sample! Wow Its so complicated for me. Try to learn something new with your sample.Thanks !

    don't know about dir pos. Cool method. By the way I have som Super formula to use dirrection with just one simple string its convert angle to animation number.

    I use this ceil(8*(1+Tank_basePl.Pathfinding.MovingAngle/360)-0.5)%8 find this in forum

    its give 8 direction of sprite - if you change 8 to 16 dir - it will be 16 dir direction of sprite angle.

    Again can't send you pm

  • There are no bugs that I am aware of.

    I also added Line Of Sight behaviour to the "ghost" objects (because my boids objects are following a moving player) - then if LoS is lost, the "ghosts" position are simply set to the player position - then the boids flocking takes over again to create a nice spread pattern for the pathfinding destination.

    If you want to avoid solids accurately, I would also recommend using "custom movement" behaviour on your ghost objects and tell them to push out of solid if they overlap. This will ensure your units will always find a path since the ghost will never trap itself directly inside of a solid.

    I do have a capx file, but it's my current prototype/project and is probably way more complicated for showing this method.

    If you have trouble getting a good result let me know and I will see what I can do. I start a new job on Monday so my free time is greatly impacted - but I can perhaps share my project with you if you keep it to yourself and don't share

    ~Sol

    Your mail box is Full

    can you send me simple capx example want to look how it will be work

  • send you PM

  • Wow nice solution! thank you very much!

    Did this method has some know bugs? And how units will avoid solid objects?

    Do you have some simple capx sample?

  • HI! Just searhing for good pathfinding solution without crossing sprites.

    Try RTS-template and other method - not working. When i select my units and send it to positions - they crossing each other.

    Can any body help with it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ilyaTyl You most likely copied the files in the "plugins" folder. Simply move them to the "behaviors" folder and it should work.

    Thank you! Its working now! I check example and it is doesn't have red path. It seems not working

    How can i do pathfinding with this plugin without crossing sprites? It is real?

  • Well, I can't know for sure... but if the tilemap changes or if obstacles are added on the fly a lot, I guess the system might have some hiccups.

    Maybe updating the core JS file would help... the plugin is kind of outdated.

    Pls help!

    Unable to load plugin /// fount GetPluginSettings global but is not a function

ilyaTyl's avatar

ilyaTyl

Member since 27 Aug, 2016

None one is following ilyaTyl yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies