structure

  1. T

    GMS 2.3+ Strange struct variable behavior

    I have seen an strange behavior when declaring variables inside structs. The following code returns the x value of the instance that creates the struct even though it should return an error. I discovered this tracing a bug for a much bigger struct that I'm using and I really don't understand it...
  2. P

    GMS 2.3+ What is the best data_structure to store Tile Info?

    Hello everybody, I have previously make a thread asking wheter structures(GMS 2.3) are good for storing info about tiles, and even without receiving a positive answer I decided to use them in the Level Editor to test before implementing in new Games. But now when I am done with Level Editor and...
  3. Smenkare

    GMS 2 (solved)Big data structure, easy to handle

    I need data structure with about 700 objects, every object needs to store 6 properties. I need to be able to change, get these values, and look for values through this whole data structure. What is the best way to make it? Ds_list, grid or simple array? If someone has time, please show me some...
  4. GMWolf

    GMStruct - Struct generation for GameMaker studio

    GMStruct Struct generation for GameMaker Studio Early alpha build download on itch.io Source on GitHub Blog post 1: GMStruct - extending GML with code generators Blog post 2: GMStruct Inheritance and Types I need testers! The project is still in very early development, and there is sure to...
  5. xDGameStudios

    GML Arrays with (structed) arrays.. or one continued array?!

    I wanted to know what would be best performance wise: enum POINT { X = 0, Y, SIZE } p1 = [2, 4]; p2 = [3, 8]; //array of points arr = [p1, p2]; //or continuous array var i = 0; arr[i + POINT.X] = 2; arr[i + POINT.Y] = 4; i+=POINT.SIZE; arr[i + POINT.X] = 3; arr[i + POINT.Y] = 8; //...
  6. GMWolf

    GML Array structs - GMWolf

    GM Version: GameMaker studio and Studio 2 Target Platform: ALL Download: N/A Links: Video Link Summary: Structs allow you to group variables together under one variable. This is used to represent more complex data types such as vectors, or matrices. In this short video I will show you how to...
  7. GMWolf

    Legacy GM Set of arrays

    I need to store a set of arrays in a way that would allow very fast adding/removing of any elements in the set. (so hashset, treeset, etc. A List would be too slow). I must store the array given (not a copy of the array), as the array is used as keys throughout the project. Im currently...
  8. icuurd12b42

    Asset - Scripts TMC Linked List

    TMC Linked List Outputs: GML Based, Should be compatible with all outputs Type: Scripts Included: Scripts, Feature Test Scripts, Looping Examples. Asset Store: https://marketplace....tmc-linked-list Description: This series of script allows you to add linked list capabilities to your...
Top