Erndog2k's Recent Forum Activity

  • Really a secret core sound very nice, and many like I should realize this is nothing more then a ultra super Nintendo 64. But I'm very much ok with that. I can't wait.

  • I cant wait. lol

  • Inception

  • I remember a Thread somewhere that someone had made plenty of matrix examples.

  • > I figured it out thx

    Great. By the way, I just updated the example, got rid of the anglehelper sprite after I discovered the anglediff expression. (Thanks to Yann)

    It's a bit cleaner now, reduced the amount of events, might want to update your game. <img src="smileys/smiley2.gif" border="0" align="middle" />

    oh yeah; very nice work, and thank Yann for me. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hmm, make sure it's under one of the "For each" loops, so every enemy gets checked individually.

    PS: don't forget do delete the objects linked to the enemy or you'll run into some problems. (arm and anglehelper)

    Nimtrix

    AI_DynamicAimWithinRangePlusDeath

    I figured it out thx

  • Try Construct 3

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

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

    Hi thanks again for this, I have one problem tho I cannot figure out how to delete individually the objects on the Army Guy Enemy, Once enemy health reaches zero from collision with gunshots. If I destroy it clears all off the screen.

  • Kyatric

    This is just pure Awesome "Complex AI, Dynamic Aim within Range" Thread

    scirra.com/forum/topic54735_post342167.html

  • Well, that took a while. <img src="smileys/smiley17.gif" border="0" align="middle">

    AI_DynamicAimWithinRange.capx (r99)

    Anyways, I think it's pretty stable. I haven't commented a lot, but just ask if there's something you don't understand.

    Edit: Oh, I didn't bother with destroying the arms, I don't think there's much to gain there to be honest. Would probably be more performance-heavy if you spawned and deleted them all the time than if you just leave them. You can do that yourself though if you want.

    Pardon my language but No F'n Way lol, You are my Hero. It works so good. I'll comment back if I cant understand something. I think you should up it to Examples also.

    Thank you so much.

  • Nimtrix

    Sorry I'll explain everything ok.....

    1: Enemies Must walk when player out of range.

    2: Enemies must be able to aim dynamically up and down,

    within 90 degrees roughly, so they dont aim to far down and to far up.

    3: Since it will effect performance I want the enemies to spawn the arm used to aim at player. (Edit) not needed.

    4: the arm needs to destroy immediately after player out of range, of certain enemies but stay spawned on another if in range still. (Edit)not needed.

    5: that arm needs to mirror properly wen enemy is aiming mirrored.

    6: Enemies need to know if player on left or right side, and turn accordingly

    I think that's about it, lol. The Capx should give a rough example of what I want.

    Good luck I'm stumped.

  • EDIT

    I thought impossible, looks like Nothing impossible. <img src="smileys/smiley17.gif" border="0" align="middle" />

  • <img src="smileys/smiley1.gif" border="0" align="middle">

    I am having alot of trouble getting my Ai to work just right, I've got alot done just theres some performance and bug issues I cant figure out. I provided a few comments in there to help with figuring out what does what quicker.

    Here's my Capx

    dl.dropbox.com/u/65622728/AI%20Help.capx

    Quick Link to above

    <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle">

    issues

    Arm wont destroy when player out of range

    Arm wont mirror properly

    when enemy's are shooting at player performance drops

    on left side Ai gun wont go above 200 degrees but on right it wont work

Erndog2k's avatar

Erndog2k

Member since 28 Feb, 2012

None one is following Erndog2k yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies