You cannot throw a character away from a bullet if the character is moving

1 favourites
  • 3 posts
From the Asset Store
Throw daggers and hit the most fruit! Watch out for the wind, if you run out of daggers you'll lose the game!
  • Why doesn't the character's bullet repulsion work if the character is moving? But if the character is standing still, the repulsion works.

    Почему отталкивание персонажа от пули не работает, если персонаж движется? Но если персонаж стоит на месте, то отталкивание работает.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why doesn't the character's bullet repulsion work if the character is moving? But if the character is standing still, the repulsion works.

    Почему отталкивание персонажа от пули не работает, если персонаж движется? Но если персонаж стоит на месте, то отталкивание работает.

    project:

    drive.google.com/file/d/17kjYzyq9ykweaiDnqajq73IBYRs9QooS/view

  • Don't mix Phyisics and Platform behaviors, both of them won't be working properly.

    You can use "Set vector X" action of the Platform behavior.

    You'll need to disable controls of the character for a 0.3 seconds or so.

    Also, I suggest you use Timer behavior instead of "Wait" actions. In case two or more fast bullets hit the character, "Wait" actions may overlap and cause problems.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)