irina's Recent Forum Activity

  • Hello,

    Here's some units movement im working on... please share a comment!

    http://vixus.hr/1/

    Thanx!

  • jomo

    this looks great... but no iOS support, can't that be fixed???

  • LittleStain

    thanks, this was helpfull!!!

  • R0J0hound

    yes, iw started with that but that does not works quite well becouse my player (car) is moving in all directions...

    i assume that i somehow need to find out "on overlapping" where is other player comming from... like if its comming from 0-180° to my player angle that would be "from right" and if he is comming from 181-359° that would mean "from left" side.... but i cant get that...

  • Hello,

    I am having some trouble with overlaping.

    I want to detect if overlaping object is comming from left or right side towards my player in top down view.

    how can i detect that?

    HELP!!!!

  • Hello,

    Does anyone have idea how to recalculate a path on the fly in pathfinding behaviour?

    Eg. unit1 has found path and its moving along but in the meanwhile an obstacle was created that makes it collide...

    at this point i need to recalculate the route... but how?

    thanx!

  • rexrainbow

    Interesting plugin, i am trying to understand it but im stuck... i am trying to edit your crowd with 2 sources and 2 targets to see how they interact:

    https://dl.dropboxusercontent.com/u/169 ... rowd2.capx

    But i just cant get it to work... for ones to go from left to right and for others from right to left... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Help!?

    TNX!

    PS:

    when i stop units by bullet disable, they still rotate under other units forces ...

    How do i just dead stop units to be like solid?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • of course i can... that was plan "b" if it tuns out that its not my wrongdoing but rather that pathfinding is a bit flawed.

  • Can someone explain me why i cant get my unit to reach desired coordinate by pathfinding?

    ...i mean its nearly there but its allways several pixels off.

    is there a way to get it to move to targeted coordinates exactly?

    thanx

  • megatronx

    check this example, its quite similar on what i had in mind.

    https://www.scirra.com/forum/download/file.php?id=10494

    (original thread: https://www.scirra.com/forum/no-name-isometric-rts_t98057?&hilit=units+movement&start=30)

    here one can set units to solid when they are not moving and regenerate obstacles.

    and when units are moving remove solid behaviour and set some proximity check and when they are too close decrease its speed so they wont colide or overlap...

    ill try to produce that as best as i know and if i get good result ill share it.

  • Katala

    Hello,

    Do you care to share your projects capx so we can learn from it?

    Thanx!

  • iw tred that but units are behaving unrealistic... pushing eachother every wich way...

    only way i think of it that could be done in realistic manner is when units are selected we set that number to variable and on move click we create same number of destinations in certain formation so that each unit targers its own destination (that coordinate save in units variable) spot and than move them in order of proximity... closest starts first and so on.

    And then use FOW for speed corrections so when unit has in designated FOW other unit it reduces its speed untill fow is clear... and call that units variable to recalculate path to target.

    but i dont know how to set each selected unit to its position in formation... but i think that is the key.

irina's avatar

irina

Member since 26 Apr, 2013

None one is following irina yet!

Trophy Case

  • 13-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

18/44
How to earn trophies