Looking for AI movement while idling

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey everybody,

    A friend and I have taken it upon ourselves to create the best game ever made! Okay, not quite, but we are trying to create something playable that will hopefully be fun. Issue is, we're both very new to this, so we have no idea what we're doing. We've done the tutorials, I've looked around on YouTube and Google, and I'm just absolutely stuck.

    How on earth do I make the enemies move around in their immediate area? I "simply" want them to move around, left to right, perhaps even jump onto nearby elevated platforms, until such time as they discover the player and attack.

    Is there a solid, safe way to do this? Extention or otherwise? And if there's a tutorial you can guide me to it'll score you extra greatness points.

    Fingers crossed,

    Dako

  • I think you could use the PMO and some alt values to do this.
    Start of Frame
    ->Set object to Enemy
    Every 3 seconds
    ->Set alt val A to Random(3)
    Alt val A =1
    -> Do nothing
    Alt val A =2
    -> Go left
    Alt val A =3
    -> Go right
    You can use detectors to detect a platform and make it jumps.
    Hope this helps!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!