• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

accessors

  1. A

    GameMaker Accessors is not working in newer version of GM

    i have this error when using accessors, but when i change global.block_register[? k] to ds_map_find_value(global.block_register, k), my code is works. This code used to work fine without this fix, but after updating to 2024.2.0 (Steam version), it stopped working. And also in other places of...
  2. P

    Array not set before reading (Bug?)

    Hi GMC! I have a question about arrays that I'm not getting and I think it's best explained with a demonstration. Consider the following code in the Create Event of a newly created object called objArrayTester: //Example #1 function addOne(array) { array[0] += 1; } a = array_create(1, 0)...
  3. gnysek

    Accessors - how to remember their symbols, how to use them

    GM Version: 2.3+ Target Platform: ALL Download: N/A Links: N/A Summary: GameMaker Studio have several accessors, which are shorter way to read data from data structures and structs. Tutorial: In GameMaker Studio, we have several data types, which can be read in alternative - shorter - way...
  4. Z

    (SOLVED) Changing a group of instances with the same pre-condition

    Hi everyone! I have an object that is spread across a room, meaning there are many instances of that object. In the instances creation code (not in the object create event, but in the instances creation code in the room editor) I gave "groups" of these instances a specific value. Some of these...
  5. A

    GameMaker Is the array reference accessor supposed to be used outside of scripts?

    For the longest time, I believed that the array reference accessor "@" would only work inside of scripts and would be useless outside of them. After reading around and doing some personal testing, it seems however that the behaviour described for scripts - arrays are passed as references in the...
Top