User Tag List

Results 1 to 8 of 8

Thread: Y axis question

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Y axis question

    Maybe this is a dumb question...but I've always wondered, why do values on the Y axis increase as you go down instead of up? In other words, the coordinates (0,0) are in the upper left-hand corner of a frame. Wouldn't it make more sense for it to be in the lower left-hand corner, and then Y would increase as you go up instead of down? I'm sure I'm totally misunderstanding something here...but this always throws me when I try to move a hot spot or reposition an object...I often forget "which way is up" so-to-speak [blush]

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    It's like that because it's like that for all kind of programmation since the beginning of computers. The coordinates of your mouse cursor in Windows are based with a 0,0 which is in the top left-hand corner of your screen.

    I think it's more logical to have 0,0 in the top left-hand corner because you begin to read a text in the top left-hand corner of a page and as you scroll down the line number increase.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    If you look at it that way I suppose it makes more sense...but so much of game making in Clickteam products involves animation, thus I think it would be handy to reverse the Y axis. Or at least have the option to do so. (But I suppose that would throw everything off if you already have defined a lot of objects' coordinates!)

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    Quote Originally Posted by FormerTGFGuy
    If you look at it that way I suppose it makes more sense...but so much of game making in Clickteam products involves animation, thus I think it would be handy to reverse the Y axis. Or at least have the option to do so. (But I suppose that would throw everything off if you already have defined a lot of objects' coordinates!)
    Why would you need to flip the Y axis for animation?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    If the Y-axis was reversed, all your Y co-ordinates would change if you resized the frame as the origin point is in the top left corner.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    Standards are not meant to be broken. After all, Windows works that way by default, all extensions are programmed that way, and we're all used to work that way too, not only with MMF2, but also with all other programming tools and illustration/animation software (and so on). If you need to retrieve the values differently... that's what the expression editor is for.

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    These guys are all correct FormerTGFguy. I think thast you are considering the coordinate plane when you say it should be 0=lower. In mathematics (0,0) refers to the origin point and when there are two positive integers within the () then the point is in quadrant 1. quadrant one reads 0+ for x right and 0+ for y up. So you are correct mathematically but when it comes to computers you just have to get used to the difference. The whole y goes down thing confused me a bit to at first but I got used to it pretty quickly.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Y axis question

    All programmers all over the world are agree about this y axis, so like Nifflas said, standards have not been set to be break after...

Similar Threads

  1. x and y axis in Android
    By Keli in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 27th December 2013, 09:31 PM
  2. Strange y axis glitch
    By Spikeman in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th September 2011, 11:28 AM
  3. Example of Isometric emulating Z Axis
    By Kid_Roleplay in forum File Archive
    Replies: 2
    Last Post: 29th December 2010, 05:35 AM
  4. Mimicking Z-Axis - MATH help!
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th December 2010, 06:12 PM
  5. Z Axis Tricks
    By Raphael in forum File Archive
    Replies: 4
    Last Post: 2nd October 2006, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •