Simple question about 8Dir Movement--

This forum is currently in read-only mode.
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Hello all, this shouldn't be hard for some of the CC vets around here:

    When using the 8direction movement behavior, there doesn't seem to be a way to get rid of the deceleration, ie, the sprite slowing down before completely stopping. I've tried fiddling around with several settings, but to no avail.

    Is there a way to make movement so that if no movement control is down, the momentum is 0, so to speak?

    You know, something like in say, R-Type or any other shmup, in which moving the ship makes it move, but letting go of the control brings it to a stand-still?

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could try setting 'Deceleration' to 3000 plus (or whatever suits)

    It seems to stop instantly.

  • I think easiest would be bump up the deceleration. You can try, if default values for 8dir movement are

    Max Speed - 200

    Acceleration - 600

    and Deceleration - 500, than just make it 2000, 5000 or what you'll feel is right.

    edit-you're faster chrisbrobs <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Noga@

    Great minds think alike. <img src="smileys/smiley4.gif" border="0" align="middle" />

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