User Tag List

Results 1 to 9 of 9

Thread: Easy Grid for Flash?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Easy Grid for Flash?

    Consider this my request to make the Easy Grid extension compatible with Flash. That looks to be my major stumbling block to converting some of my old MMF 1.5 Vitalize games to Flash, and it's just such a useful object. Any chances that this can/will be done in the near future?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What you need exactly on this extension? You can set any object manually to a grid.. example: round(X("active")/32)*32 and round(y("active")/32)*32 .. is for a 32 x 32 grid

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need each cell on the grid to have a value that can change, depending on what object is in the cell.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    That's what arrays are for.
    The EasyGrid extension is totally pointless.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And I need to be able to test the value of a cell when the mouse is over it. And I need to be able to add the values of cells in a certain row, and so on. I am sure this could all be done with an array, but how many steps is it going to take to do it with an array for what may be a single step with Easy Grid?

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    It's all just as easy with an array, and arrays are far more powerful and versatile.

    eg. To get the value from the position of the mouse:
    = ValueAtXY( "Array", XMouse / CellWidth, YMouse / CellHeight)

    eg. To add the values of all cells in a row:

    + Whenever...
    -> Set Total to 0
    -> Start fastloop "RowTotal", DimX("Array") times

    + On loop "RowTotal"
    -> Add to Total: ValueAtXY( "Array", LoopIndex("RowTotal"), Row)

    Honestly, using extensions for really trivial stuff like this is only going to hold you back, as it will stop you learning how to get the most out of MMF2.

  7. #7
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    To add to what MuddyMole said, you also don't have to worry about exporter compatibility if you can do things without non-standard extensions.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Point well taken. It's going to be an ordeal converting Easy Grid stuff to an array in my already completed applications. (I also have to convert Moosock to Get, but I suspect that will be much easier). And I already have an array in my latest application. In MMF 1.5, I couldn't do more than one numerical array. Can I do more than one numerical array in MMF2 Developer?

  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can have as many as you like (even in MMF1.5 you could). Plus arrays can be 3-dimensional, which is like having any number of Easy Grid extensions in a single object.
    Seriously, arrays are just better in every way.

Similar Threads

  1. Easy Grid: need help.
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th April 2010, 02:40 PM
  2. Easy Grid
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2010, 03:53 AM
  3. Easy Grid Ext.
    By legocacher in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th March 2010, 03:03 PM
  4. Easy Grid Tutorial or Example
    By krestalex1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th May 2008, 08:45 PM
  5. Easy Grid Object
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th July 2007, 08:26 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
  •