Invidel's Recent Forum Activity

  • So currently i'm trying to make a mechanic as follows:

    - When the player in LOS of the enemy, the enemy will flee.

    - When the player is out of enemy's LOS, the enemy will keep fleeing for a second before going back to normal movement.

    I tried using "wait" event, but it doesn't work. I haven't figure it out how to do it yet, any suggestion on how to do it? Capx attached.

    https://www.dropbox.com/s/hx6enb08my9coe6/BattleTest.capx?dl=0

  • So, here's my current event for the movement animation :

    With this event, the animation works perfect. But, the problem is when I quickly press left & right, the animation failed to mirror. For example, when the player move to the right, and then quickly I change direction to the left, the player walk to the left but the animation is still not mirrored a.k.a moonwalking.

    Now, if I do this :

    The moonwalk problem is gone, but the animation won't stop when I'm not moving the character.

    Any suggestion?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using 8-directions movement on my sprite, but everytime i move my sprite, it rotate following the angle.

    If i disable the set angle in 8-directions, it doesn't rotate, but the angle will fixed at 0 degree.

    What i wanted to do is to make my sprite move in 8-direction, change the angle everytime it move to any direction, but not rotating the sprite (At least i want it to flip when it move left & right)

    Any suggestion?

  • Because of your insight, now i'm using boolean variable instead of "Every tick" event to move the enemy and it works perfect when i want it to stop at collision. Thank you very much!

  • Hey, guys! Sorry if my question is kinda noobish, but i really wonder about this.

    Is there any other way to make AI move without using "Every tick"?

    I'm working on a top-down shooter game, and my enemy movement is worked well. The problem is, i want to add some mechanic when the enemy collide with the player, it'll stop the enemy movement for a while and then back to accelerate. I can't stop the movement because it's under "Every tick", even if i tell to stop movement when enemy collide with the player, it won't work.

    I wondering for other way for AI movement, beside using "Every tick" event.

    Thank you

Invidel's avatar

Invidel

Member since 20 Apr, 2018

None one is following Invidel yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies