1. FoxyOfJungle

    GML What is "%" used for in GML? Something related to "mod"...?

    Hi! I looked in several places, even in the manual: And it was never clear what the purpose of using % in GML was, I also never saw anyone using it in other languages until now (they may be using it, but I didn't). However I have seen GM users using it and I am curious to know how it works...
  2. T

    modular variables?

    Hey guys. I was wondering if it was at all possible to create modular variables in our scripts... Which I guess are kind of like arrays? Here's an example of what I mean: Var mod = ”” Var [mod]dog = 0 Var breed = 1 If (breed = 1) { mod = ”bull” } else mod = "lab"...
  3. Heavybrush

    Modular random room

    Hi, I'm working on a modular random room the thing seems to be very difficult all my modules are objects with a sprite every sprite has the origin to the 0,0 every sprite is a ground wich can be straight, go up, go down, go up and down... every ground start from a left point and end in a right...
  4. Heavybrush

    setting room width

    I have been coding a random modular based room some ground modules must randomize horizontally inside a room of variable length the following modules should be in this order: one start module random instances of modules of different lengths one checkpoint module random instances of modules of...