Berserky's Recent Forum Activity

  • Hi, i posted a question around a week ago about enemy AI. Basically i wanted enemy to go towards me ( when I am left of him he goes left, when I am right of him he goes right, and when close enough he attacks me)

    Well I did it like this

    System/player.X<enemy.X/enemy stimulate platform pressing Left/

    and vice versa.

    It works only if there is one enemy (of the same kind) but when there is more then they all go right or lefthttp://www.scirra.com//forum/smileys/smiley19.gif.

    Now my question is could i make that event for every enemy individually (without making enemy1,enemy2,enemy3 etc.)

    Or is there a better way ?

    If possible i would like capx but not necessarly of course.

    Thank you in advance.

  • Ahhhhh thank you VERY much. <img src="smileys/smiley41.gif" border="0" align="middle" /> Cheers man

  • Hello, I have a problem that is really annoying.I want to set position of my sword to the player.I know that you can write:

    X:player.X

    Y:player.Y

    But that sets position to origin point and i would like to know how to do the same thing only to the image point.

    Thanks in advance,

                      Mihovil

  • Thanks man but i got it working (it needs a few tweeks though).

    I used compare two values(system) and when x was bigger on my player than on the monster the monster would go right and vice versa.

    But thanks anyway.

  • Well thanks for the reply anyway maybe i can narrow down my choice. <img src="smileys/smiley1.gif" border="0" align="middle" />

    EDIT: well the AI i am trying to make is fighter AI(thats what its called in terraria according to the wiki)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think that if you can fit everything that you have in you layout on your screen the camera wont follow you unless you get out, or move further away.

  • Hello this is my first topic posted and I am still new to construct, but i have a question (obviously <img src="smileys/smiley17.gif" border="0" align="middle" /> ).

    I want to make my enemies come towards me and when they come close enough stop and attack and then towards me again and so on.

    So does anyone have an idea how to do it i have the animations required but i dont know how to make the AI.

    Of course if there is a tutorial about this already i would like to get a link for it.

    Thanks in advance, Mihovil.

Berserky's avatar

Berserky

Member since 30 Jan, 2014

None one is following Berserky yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies