The BytePrismStruct extension allows you to create, fast, memory efficient 1D, 2D and 3D data structures! BytePrismStruct is built on a DLL written in C++ to provide maximum efficiency that you cannot achieve with built in GameMaker data structures. On top of this there are no restrictions on the number of structures or the size of structures you can create!
BytePrismStruct assigns 1-byte per cell in order to stay memory efficient, however if this does not suit your needs, feel free to contact the support email if you need more memory per cell, more functions, etc.
Using the extension is simple! It functions much like built in data structures, but allows for a ismilar usage as surfaces using a target system.
// Get the ID of the new Prism as it is created: MyPrism = PrismCreate( Width , Height , Depth ); // Set the ID of the prism as the target for editing: PrismTarget( MyPrism ); // Now you can edit the prism: PrismSet( X , Y , Z , Value ); PrismAreaAdd( X , Y , Z , Width , Height , Depth , Value ); // Finally reset the target when you're done: PrismReset(); // When you're done with the prism you can save/load/delete it as needed: PrismSave( Directory , MyPrism ); PrismDelete( MyPrism ); MyPrism = PrismLoad( Directory );
That's how it works, nice and simple! The extension contains 61 functions to help with flexability along with providing a wide variety of features. A quick help file for the extension can be found here on pastebin: http://pastebin.com/tMKfNdC7
Version 1.0.1. Published August 25, 2014
Created with GameMaker: Studio v1.4.1398
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!