[r176] Custom Movement Set Overall Speed Bug

0 favourites
  • 3 posts
From the Asset Store
Run and Jump in 3 Dimensions! Take your platformer to the next level!
  • Problem Description

    when using "set overall speed" it seems to apply only the X velocity and does not set the Y.

    Attach a Capx


    Description of Capx

    Sets the angle of the sprite to a random angle. Sets the custom movement angle of motion to the sprite's angle. Sets the overall speed to 20.

    Steps to Reproduce Bug

    • try to set the overall speed

    Observed Result

    Only the X is set and the sprite moves horizontally regardless of angle.

    Expected Result

    It should set both the X and Y and then move properly.

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • Closing as not a bug: you can't set the angle of motion when the object is stopped, it has no effect. The object stores the movement as dx and dy values and when it's stopped these are both 0, so there is no angle. Simply swap round the actions so you set the speed first, then the angle can be applied and it works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah! Thanks for the quick reply!

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