User Tag List

Results 1 to 4 of 4

Thread: How to iterate through a matrix?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to iterate through a matrix?

    I need to check from 0 to 100 inside a matrix. But i don't know how to do it. I need to do it 100 times in one frame.


    ·ValueAtX( "array", iterator_0_to100 ) > X("Player")

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure, you can start a loop 100 times and check the array position of the current loop index. I've attached an example for you. Let me know if you have any other questions.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I tried your example it doesn't work well. Very confusing. There are there less complicated ways to do this. Specially for new users.

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jan 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, for my purpose accesing by index works.

Similar Threads

  1. Replies: 4
    Last Post: 9th October 2016, 08:29 PM
  2. [Math]Smooth movement with rotation matrix
    By Xenon3000 in forum Extension Development
    Replies: 1
    Last Post: 5th December 2014, 09:31 AM
  3. Matrix transform shader [request]!
    By Saml in forum Shader Development
    Replies: 3
    Last Post: 12th June 2010, 04:17 AM
  4. Matrix fader?
    By Zabooza in forum File Archive
    Replies: 4
    Last Post: 26th May 2009, 05:42 PM
  5. particolar MATRIX display
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 24th October 2008, 11:37 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
  •