Would it be too difficult to have 3D arrays? i.e. my_array[n,n2,n3]
I really love the new array component,. right now I am using it for music generation,. I have an array of chords, and an array of note sequences that use the chord's notes,. however I would like to be able to easily change the sequances by just changeing one number in the array i.e. my_sequance[track,note,pattern] I could just set pattern!
Therefore a 3d array would be just the thing,. also I have an idea for a 3d stratagy game that a 3d array would hold the unit locations and this would make testing for possible moves in abstraction, without having to resort to various collision checks,. .
Arrays,. why limited to 2d?
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
Arrays,. why limited to 2d?
- Attachments
-
- genrative_chords_003.zip
- 5 chords w/ one pattern sequence,.
- (38.55 KiB) Downloaded 559 times
iterationGAMES.com