Hezkore's Forum Posts

  • 5 posts
  • Does the Facebook plugin (and score posting) work on mobile devices?

    I noticed the FB login was web based, does that work on mobiles? (And does iPhone allow it?)

    Is there any way to create some sort of color mask, so that I can easily replace colors on my sprites in realtime?

    For example, allowing the user to change hair color.

    And can I easily store saved data on mobile devices?

    Such as music volume, selected hair color etc.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is what I ended up with, what could I improve on this?

  • Thank you so much, your example works.

    But I'm still having problems figuring out exactly how to use this heh.

    Is the loop the actual target, or is the loop for the sprite that gets the target? I'm confused...

  • Ah thank you, that makes sense!

    But your example seems to only pick the target for one of the enemies.

    I'd like them all to have a target.

  • I'm trying to do some simple enemy Ai, and I want each enemy sprite to have a "Target" which is the nearest sprite that it should follow.

    But I'm having some problems figuring out how to decide each enemies nearest target.

    Basically I just want to know what enemy is nearest to another enemy, taking walls into account.

    I've included a really stupid example of what I want, and that shows that my idea of how to do it doesn't work hehe.

    Thanks for any help!

  • 5 posts