How do I create an impulse without physics?

0 favourites
  • 3 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Since I don't want to use physics for the impulse in combination with a platform behavior, because things get very weird, I wonder if there is another way of creating an impulse? I tried on collision -> Player set vector Y 2000 for example, but it just doesn't cut it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried on collision -> Player set vector Y 2000 for example, but it just doesn't cut it.

    That should work. Please keep in mind that you are still bound to the parameters from the platform behavior. That means if your 'Max speed' is 60 an you would give an impulse with vector X, the speed would never go over 60 no matter of your value you set the vector X. The same with Max fall speed and Deceleration and other parameters.

    Another point is that VectorY = 2000 would give an impulse to the bottom. If you want an impulse up you have to use -2000 (The upper left corner is 0,0 in coordinates)

  • Oops, wanted to type x 2000.

    Thank you for the explanation, I will try to tweak the platform values then, didn't know that that's how it works!

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