How to destroy enemy by the player jumping over its head ?

0 favourites
From the Asset Store
Give Sound to the enemies that are part of your game! :)
  • hi,

    search the forum befor post

    already posted here

    do it easy by adding:

    Event:

    YourSprite..> falling (on falling)

    Action:

    YouSprite...>Destroy

    I've searched well before posting the question and the solution you mentioned didn't work when the player touches the enemies sideways while falling. But Thanks : )

    I'm offended, thanks

    Offended by me? I'm sorry buddy, but I have said nothing bad or rude. Have I ?

    Sorry, anyways.

    you might find your answer in this tutorial

    Thanks, insightful article (y)

    The jump built in works only if the player is on the ground, to do a bounce, use instead:

    Set vector Y (set it to a negative value, for exemple, the basic jump is equivalent to set vector y to -self.platform.JumpStrength)

    Thanks a ton! Worked perfectly

  • Try Construct 3

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

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

    didn't read the 2nd page

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