Mogador's Recent Forum Activity

  • Hello,

    I am using the Ghostshooter tutorial to make some tests about a game with zombie hunting innocent civilians .

    I am using the Pathfind behavior and, when a zombie approach a civilian, I make the civilian run to an EscapePoint far from the zombie.

    BUT I want to civilian to do so... while avoiding the zombie, even if it's on the way to the furthest EscapePoint.

    So :

    1- I create ZombieArea around a zombie

    2- I make it solid

    3- I regenerate pathfinding obstacle around ZombieArea

    4- I make the civilian find path to the furthest EscapePoint

    5- I disable solid in the ZombieArea

    ... but it does not work at all, and the civilians keep on running into the ZombieArea... and the Zombie itself

    Can you see what's wrong with my system ?

    The capix is here : dropbox.com/s/lc0wc8ginccrbb5/PIB_v2b.capx

  • Thank you very much

  • Hello,

    I have a very simple question : I am making a game with many monsters, each of them as a health bar. Each monster is a different object (they are all different). Of course, these bars will evolve differently, according to the amount of damage taken by each monster.

    What is the best way to do so ?

    I can spawn a Bar by "spawn another object" from my Monsters Family, but then ALL the bars will decrease if ONE monster takes damage.

    I could create a different bar for each monster, but as I have many monsters I am sure there is a better way to do so. What would you advise me to do ?

    Regards,

    Mogador

  • Hello,

    I have a problem : there are spaces between my hexes and I would like to reduce it. I thought I could change Width an Height in HexTx properties, but it seems to have no effect (the spaces are the same wathever values I put in). Is it a bug ? Or am I wrong somewhere ?

    Regards,

    EDIT : mmh it seems I cannot post my Capx file here to show you, is there any another way to send it to you ?

  • Thanks a lot RexRainbow

    Once I have imported the tiled map, I suppose I can use your layout2board plugin with my hex map ?

  • Does this importer work with hexagonal maps made with Tiled ?

  • Hello,

    I have a small problem that might look simple to resolve

    I create an interface when I left-click on an icon.

    And I destroy the airport when I right-click anywhere.

    But afterwards, I cannot recreate the interface if I left-click AGAIN on an icon.

    Do you know why ?

    Airport.png[/img]

  • Thank you very much

  • Hello,

    I am a beginner with arrays, so I apologize if my question seems obvious. I think it is a very a simple one:

    I have a one-dimension array, it looks like this

    0 : "boat"

    1: 0

    2: "tank"

    3: "plane"

    4 : "infantry"

    And I just want to create a condition that checks if this array contains an empty slot (in this exemple, this is the slot 1), to create some event accordingly.

    How would you do that ?

    Thanks

  • Hello,

    I am a beginner with arrays, so I apologize if the answer of my question seems obvious. But I did not find the answer in the tutorials I have read.

    I have a one-dimension array, it may look like this

    0 : "boat"

    1: 0

    2: "tank"

    3: "plane"

    4: 0

    5 : "infantry"

    First, I want to check automatically if there is any 0 in my array (there is in my example, but it might not...).

    Then, the FIRST time a 0 is found, I want to replace it by "submarine". But only for the first 0 found. The second 0 in this example would not be changed.

    How would you do that ?

    Thanks a lot

  • It works fine, thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks,

    I understand it, but how do I get the distance of the line drawn by the player ?

    I don't get it as it is a curve

    Mogador

Mogador's avatar

Mogador

Member since 20 Jan, 2014

None one is following Mogador yet!

Trophy Case

  • 10-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies