User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: (Dynamic Array) Setting Keys & Bricks & Lighting

  1. #11
    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: (Dynamic Array) Setting Keys & Bricks & Lighti

    Nifflas, why do you find it so powerful? Perhaps I need to give it a second look.
    ...because of that you have full control over how to store the data. If you want to store a byte (0-255) with another of the array extensions, you'll still have to allocate more memory than one byte to do that.

    Due to the nature of this extension, it's better to have a separate expression to combine the x, y, and z positions. Since different data types requires a different number of bytes, you'll have to be more creative when it comes to deciding how to get the correct positions... When dealing with integers, you might want to use solutions like:

    Write(Integer, CombineXYZ(x,y,z)*2)

    ...or when using the first 50 bytes to store some one-dimensional data, and the bytes after to store a three dimensional array, you'll have to do something like:

    Write(Integer, 50+CombineXYZ(x,y,z))

  2. #12
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Aug 2006
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: (Dynamic Array) Setting Keys & Bricks & Lighti

    No tutorials or examples available for the Binary Array object? I'm used to the old Array object where you can do stuff like Get Value from X,Y or Current X,Y whatever it is. All these "Byte" and "Integer" options confuse me.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Dynamic Array - Sort 2 dimension array by Column 1
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 16th December 2012, 04:54 AM
  2. Dynamic lighting with background objects as obstacles?
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th December 2011, 08:58 AM
  3. Dynamic Lighting and Detection
    By KingToast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd February 2008, 02:20 AM
  4. Dynamic Lighting
    By LazyCoder in forum File Archive
    Replies: 11
    Last Post: 22nd October 2007, 04:51 PM
  5. Mode 7 dynamic lighting
    By Gabriel in forum File Archive
    Replies: 11
    Last Post: 15th October 2007, 08:20 AM

Posting Permissions

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