User Tag List

Results 1 to 7 of 7

Thread: Math for manual isometric conversion

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC

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

    Math for manual isometric conversion

    I know there are ISO grid extensions, but Im really curious how to make it manually. I have some idea but do not understand it completely I tried googling but was not succesful.
    I would be glad for equations demonstrating the conversion from X,Y to ISO cell, row of defined cell widht and height.
    Thank you!

  2. #2
    Clicker Multimedia Fusion 2
    Algul's Avatar
    Join Date
    Feb 2008
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Math for manual isometric conversion

    Try reading this http://herbert.gandraxa.com/herbert/imp.asp

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC

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

    Re: Math for manual isometric conversion

    Well, for the coordinates of topmost corner of the cell, there are equations:

    xS = xWcos(a)s - zWcos(a)s
    yS = xWsin(a)s + zWsin(a)s-yWs

    But that is for given Row and Column (zW and yW). I tried to express them but it doesnt match when checking if its equal.

    Also this counts X,Y from given row,column. Now how to make it vice versa?

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Math for manual isometric conversion

    reverse the formula, if x+3=12, then 12-3=x=9.

  5. #5
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Math for manual isometric conversion

    I have always wanted to create a staggered isometric game, but the ISOGrid object only allows diamond shape isometric maps... Anyone know the formula for this also? I have tried making it manually before but the mouse cant seem to figure out which cell it is actually touching?

    P.S. Sorry I am not hijacking this thread.

  6. #6
    Clicker Fusion 2.5Fusion 2.5+ DLC

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

    Re: Math for manual isometric conversion

    Darkesoft: Sorry, the "x" should be "*" - multiplying.

    BUT I have found the formula already, damn, its so easy!

    Column = x/32 + y/16;
    Row = -x/32 + y/16;

    Where the cell is 32x16.

  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Math for manual isometric conversion

    Blizna, would this work for staggered isometric? I assume it would as it is only used to snap objects to the correct position?
    What about actually retrieving the cell the mouse is in?

Similar Threads

  1. iOS Binary conversion (Math not data) Causes Freezeup.
    By DracisLooby in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 30th July 2012, 12:32 PM
  2. Does MMF2 Dev. come with a manual?
    By murderdeathkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 8th January 2008, 02:07 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
  •