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

random generation

  1. M

    SOLVED Create objects at random but only on specific DS grid values?

    I am new and working through tutorials learning so I apologize if this may be an unnecessary question but so far I have been unable to find an answer within the manual or google. I am currently generating random play areas using a DS grid for specific values for walls and floors and its working...
  2. M

    What methods are possible for cell-by-cell generation?

    Greetings, maybe a strange question, but I'm new and not very good at code yet, can you advise me which method would be best for me, for the following and is it possible: I have a grid of cells, and I need to make a code/stuff that generates a random correct path from one corner to another, so...
  3. T

    Fire Jump (infinite platformer tutorial) platforms spawn too far

    Hi I am new here. I am learning GameMaker with the fire Jump infinite platformer tutorial here. Overall it's pretty clear and I think I have followed all the right steps. however when I go and implement the vertical spawn of new platforms (they are windows) as a step event of the obj_window and...
  4. D

    Random Button Combination Generator + Input

    Hey everyone I have a weird problem so any help would be appreciated. I’m trying to make a random button combination system very similar to the game Helldivers (PS4). In Helldivers you “call in” gear using the directions pad on the controller. For example let’s say a gun would be...
  5. A

    GML Random theme generator, deleting theme from array list.

    Hello! I am a GML newcomer! I am making a simple theme generator, and I am trying to sort out the kinks of selecting and deleting items on an array. Right now the game stores each theme in an array like this: theme[0] = "Water"; I have figured out how to label each delete button by storing the...
  6. A

    GML Counting keys in .INI section

    Hiya there! First time poster: Dyslexic, Used to DnD but need to add some code here and there. I am making a simple theme generator that reads a .ini file. I am currently setting up the system that counts how many themes are in the system so the random number function understands how many...
  7. L

    save the state of a randomly generated world?

    some time back I created a game that featured a cave that randomly generated itself every time you left and came back, it was a crappy game but I want to make a game similar to terraria or that one obscure scuba flash game but I haven't been able to save my randomly generated worlds and reload...
  8. hans

    Hexagonal Random Generation

    Is there a way to randomly generate a world with hexagonal tiles?
  9. G

    Legacy GM Randomized Generator Always Producing Rows of Straight Lines

    I have a weird glitch, in GMS v1.4.9999, where I made a randomized generator for level creation. It works just fine, aside from one small issue. Any time I run it, the generator produces results similar to this: The top, bottom right, and bottom left areas are all straight lines. When I run it...
  10. G

    GameMaker Procedural generation: creating prebuilt room templates in a GMS2 Room and combining them into one level

    Hello, I'm working on a game that will use a combination of procedural generation and prebuilt rooms to create its levels. Currently, the layout of each prebuilt room is specified via a character string (in which each character represents a tile, object, NPC, etc.). This method has the...
  11. W

    GML Grid index out of bounds help

    I've been following this tutorial on how to randomly generate levels using code, but when I get to the part where he shows the floor tiles in the game as randomly generated, my computer just loops a Grid 0, index out of bounds writing thing that just increases This is the code
  12. A

    Randomly Spawned Enemys

    I am attempting to get randomly spawned enemys within a 1920x1080 room, but every tutorial/forum i have visited was pretty old and none worked. if somebody has a script, please let me know.
  13. B

    Tile Help!

    So I was wondering if it is possible to take a specific tile in a tile set and have it be drawn at a speific point, through code not hand drawn. Because I have made a random map generator from perlin noise and want to set in game chuncks to a specific sprite.
  14. I

    Legacy GM Random Sprite Generation (with a sprite running more time)

    (Sorry if my english is horrible but I really need help) I am making a game for my friend's B-day and I need to speed the things up. I am doing a fnaf fan game (sorry but I kinda like the game) and I'm just stucked thinking how I make sprites running randomly BUT with a Main Sprite. I think I'm...
  15. M

    Random Metroidvania Item Generation

    I'm working on a Metroidvania style game, but I want the items to be placed randomly. The problem is that I don't know how to add in logic for choosing which items go where. There can't be items blocked off by other items, for example: - The high jump boots can't be in an area requiring high...
  16. TheGameDevGuy

    Portfolio - Programming Programmer Looking for work :D 12 Years Experience

    Hey everyone, Ive been around out and about on the forums, but i would like to propose an agreement of my services, I am indeed looking for paid work. Here is some of my works: - Noise generated biome maps with height, humidity, temperature and an augmentation layer of randomness...
  17. K

    Dungeon arrangement / random generation

    Is there a way of placing pre-made rooms inside of bigger rooms in Game Maker Studio 2? Basically, I'm trying to figure out a way of making a random dungeon, Binding of Isaac -style, so I'd be making rooms by hand each in its "own room" in GMS2, and then loading/applying them into one bigger...
  18. S

    GameMaker Random Instance Destroy Issues

    I'm trying to create some bottle objects for my sprite to pick up and having quite a few issues with it. Using a timer, I got it to randomly spawn across the room. But now when confronted with trying to destroy an object at a time, my current code with destroy only one object, but I can't seem...
  19. NicoFIDI

    Legacy GM Maze generator

    Hello, as a result of try and error I finally made a random maze generator, it's not perfect and the discussion I want to start it's about some other ways to generate a maze. The code has 2 parts a base and the polish The base it's straight fordward and the easiest one to understand Then to...
  20. Anixias

    GameMaker Perlin Noise for Random Map Generation with different Map Types

    I have written a set of scripts and a "class" called class_perlin. Basically, I call randomize() or random_set_seed(), then instantiate the perlin class. Then, I can access any location in the generated perlin noise. I can also set a "static" variable called noiseRepeat to anything above 0 if I...
Top