Change initial direction!

This forum is currently in read-only mode.
  • Why is the initial direction of everything right?? Up feels like a much better choice. I was really irritating at this in mmf too. If you where given a circle, and told to draw a line from the middle at 45* you would draw it to the right! not down! Another option is to make it customizable. that would be the best, but it would require some time to make, and i don't think it's high priority. I would prefere up. What do you think?

  • I think up is a more logical choice too, but if it were changed I'd have to edit my wiki entry <img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" />

  • i would actually prefer "up" as well simply because i visually relate "up" with "forward"

  • I'd prefer not to change it. Mathematically, 0 degrees is right. Consider that movement at 0 degrees is X + D cos(0) on the X axis and Y + D sin (0) on the Y axis. cos(0) is 1 and sin(0) is 0, meaning movement right on the X axis at an angle of 0 degrees. It is very much beneficial to keep it plainly mathematical like this: if you hack it so 0 degrees is up, the formula begin to look like cos(angle - 90), with a modification to the angle. This means you can no longer express in your events custom movement as being X + D cos(angle): you will have to also apply the hack to make it compatible with Construct's built in angles, and any modification would not be obvious to a game developer. Even worse if people can invent their own angle systems: in any given game, you simply would have no idea what an angle actually means (would 0 degrees mean up? left? down? south-south-west?). I certainly want to avoid situations where people have to invert, offset and normalise angles just to make them compatible with some other angle system, I've had to do that before for games and it's nontrivial.

  • if that's the case then, it sounds like it would be much less of a hassle orienting ourselves with 0 degrees pointing towards right than to reinvent mathematical formulas <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" />

  • Ok, i understand. I didn't know why it was right, but now when you put it like that it sounds pretty good. i would still prefere up i think, cuz i will probably not use X + D cos(angle) very often.

  • If it was changed at all, some plugin developer might go and use the "proper" system of 0 degrees being right, and you will still find yourself adding to angles in places to make angles compatible. IMO keeping it 0 degrees right is the best way of ensuring things like Sprite angles, the Angle expression, angles of motion etc. all work the same way. Being able to set angle of motion to Sprite.Angle is a lot nicer than ((Sprite.Angle*-1+270)%360).

  • Okay then I guess I'll change my vote.

    It should be left.

  • Okay then I guess I'll change my vote.

    It should be left.

    ?

    wanna elaborate? <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Okay then I guess I'll change my vote.

    >

    > It should be left.

    >

    ?

    wanna elaborate? <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" />

    It was just a joke <img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" />

  • Angle 0: right

    Angle 90: bottom...

    IMO this is correct because it comes from:

    X = R*cos(angle)

    Y = R*sin(angle)

    Simple, and easy to implement.

    [quote:69yti54z]((Sprite.Angle*-1+270)%360)

    <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /> ... he he... <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />, that's why we shouldn't make things more complicated.

  • For people not that educaded in math it's just more complicated to have it to the right, but hopefully I'll learn all that some time, and then I'll agree with you, so leave the angels as they are.

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