2D Array Demo

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.
Post Reply
User avatar
DazaKiwi
Posts: 787
Joined: Thu Oct 21, 2010 10:05 am
Points: 61
Location: New Zealand

2D Array Demo

Post by DazaKiwi »

I have been working on a method to figuring out distances between different space stations in a little project i am working on and turned once again to using fake 2d Arrays since Adrift can only handles 1D arrays and managed to succeed, this method is similar to saabie's method he helped me with my ascii map experiment.

So i thought to upload the demo if those who understand arrays might want to do this in their Adrift games.

What use is this? Think of those traveling distance charts in the back of the AA or road map books where you could look up two different cities and see the Km/Mi distance between them. So you have a Row and a Column that intersects on which cities you match up and gives you a value.

This would be also useful to calculate fuel, differences in combat values, products with price differences based on location, modifier for prices etc.
Attachments
2D_Array_2020_v4.taf
(16.12 KiB) Downloaded 8 times
Post Reply