• 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!

built-in variables

  1. G

    someStruct.width "width" Turns Red And Throws Error

    Code Sample: function someStructConstructor () constructor { //... width = undefined; height = undefined; //... } //Create Event someStruct = new someStructConstructor(); //... someStruct.width = bbox_right - x; //Here "width" turns red like it's a built-in constant. Error is thown when...
  2. A

    Anyone know exactly how GMS2 handles fractional movement

    I'm familiar with how to write code to track fractional movement but GMS2 already does something behind the scenes to make objects moving 4.4 pixels per step move faster than objects that move 4 pixels per step. One thing I would like to start doing, is cut down on trying to customize things...
  3. Q

    Object IDs stored in ds_list result in <invalid instance>

    EDIT: With a little more digging, it looks like this only happens when I change rooms after creating the ds_list. Is there a way to mark a ds_list as persistent? EDIT2: Duh! The objects IN the ds_list weren't persistent, so they were getting destroyed when the room changed. The ds_list still...
  4. P

    Discussion [Resolved]Please, YoYoGames, let us disable Built-In Variables

    Summary: In this post I explain how I feel all the built-in variables that are usually unused might be affecting performance. Then a moderator responded saying it doesn't affect performance that much. So lets not worry. Also a guy responded that yoyo actually thought about it and might implement...
Top