modular

  1. I

    Modular code

    Hi all I've been working on/off in Unity for a couple of years, but recently I decided to give GM a try instead, because it seems to be handling pixel art much better. I'm still trying to grasp the workflow of GM, so please bear with me. For those of you who don't know, Unity is...
  2. 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...
  3. 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"...
  4. 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...
  5. 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...
Top