Kobashi's Forum Posts

  • 1 posts
  • First of all, thank you for the attention.

    Here is my problem, I have a character that moves towards my touch position by angle and bullet behaviour, and in this case, it's set like this:

    _______________________________

    Touch: Is in touch

    Set *character* angle toward (Touch.X, Touch.Y)

    Set *character* Bullet speed to 130

    Set *character* animation to "Moving" (Play from beginning)

    Else:

    Set *character* Bullet speed to 0

    Set *character* animation to "Stopped" (play from beginning)

    ____________________________

    Well, the option "Bounce off solids" is enabled in my character's sprite, and I don't want it to bounce because when it touches a barrier, it sort of "boosts its speed" due to its bouncing movement, so I would like it to touch the solid, but not to bounce, how could I do this? Both sprites "character" and "barrier" are solids, and when "Bounce off solids" is off, it just ignores the barrier, and I don't want to set the speed of the"character" to 0 when it collides or overlaps "barrier" because it will no longer move at all.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 posts