darkrealos's Recent Forum Activity

  • anyone pleasE?

  • i understand. did debate line of sight. but is the ai moves into the battlefield then find someone in there line of sight which will most likely be a minimum of 3 depending on how big the line of sight is how will it know which one to go for e.g. nearest. or is it a behavior? also lets say i have 2 minions fighting at the top of screen and one is left remaining at top and one at the bottom how will i make line of sight recognizable that there is a troop to fight down there. hope this makes sense.

    p.s im thinking of making a battle system bit like royal heroes if you ever played it. if not its free on kongregate as well as purchasable on steam

    update: im trying to use line of sight and set up when it detects a object but it doesnt give me an option or none i can see to go to the object it just detected. unless they is a way to return the uid of the object its just seen but i have no idea. so i general i dont know how to go to the object i just seen without it going to another object with the same sprite. also im using line on sight to detect families because there are so many objects to detect and the closest type of enemy might change so it would cause an event collision

  • hi there this might sound really simple and im being dumb about it. but im making a game which has simulated battles and trying to do an event where every tick friendly troops find a path to nearest enemy which ive put into a family. and vice versa for the enemy but i cant work out how to do this.

    there can be up to 100 friendly troops and enemy troops so its alot of sprites which i need each of them to find thier own mark to march towards.

    also something else i havent tryed to work out yet but would be good if answered is how to i get a minion once they start marching towrads enemy stop a set amount of space off them instead of on top of them.

  • yeah just tested and same problem again which is completely beyond me

    new update i was making the enemies spawns for the other side and i forgot to add a wait timer and i found out it spawn them all okay but pretty much on top of each other. so carried on added the wait timer and trigger once while true to stop it spawning loads while it waits on the timer and it did the same problem as the other side. so im thinking the main problem might be the timer. im gunna try add a new timer and event to try get around it and see if that does the trick. but any suggestions would be great

    another update. i just added another event on the end delaying the reset and timer by 1 more event and it did the same but spawned 20 instead of 19 this time so the problem is around the time for sure. which i think i can get around but if u could let me know what u think the problem is or any other way of fixing it in future that be great to learn

  • ill give it ago but the problem is it keeps spawning but always stops after doing 19 spawns so it resets to 1 fine but fails on the second attempt at 10

  • https://www.dropbox.com/s/7g32557lacf65 ... d.png?dl=0 heres alink for a screenshot as im not sure how to put it on here <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • also if you know enough can u look at my pathfinding ive tryed so many different ways of making it work but i cannot seem to get my tokens to go around images it just collides. so had to disable it

  • hi there im trying to spawn enemies on objects by using if minions available is above >0 create object at spawn point 1 and + 1 to spawn point and - 1 from minion spawn pool. then the next code is spawn point 2 is spawn point cod eis 2 and minion is > 0 then spawn image at spawn point 2 and it keeps doing this to 10 then on code ten it sets spawn point back to 1. but for some reason the spawn never goes above 19. if i got 20 or 30 minions available for spawn it only ever does 19 and stops its weird and i dont understand is there a better way to do this. i would provide screenshots but im not home.

  • hey thank you for replying. i started another more simple project. but i do appreciate your response

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • anyone please help?

  • Hi there i have a weird problem with a player/car collision mechanic.

    ive set my player to solid and my car to solid in hopes of the player walking into the car and not moving any further because of the solid mechanic but it walks through the car, and when i enable car mechanics(car behavior) the player just pushes the car around? ive tried using physics behavior and that don't seem to help me. but when i use car as test and crash it into player it recognizes the solid mechanic. can anyone help me please

    Thanks

  • persist works a charm thank you for your help

darkrealos's avatar

darkrealos

Member since 3 Mar, 2013

None one is following darkrealos yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies