random generation

  1. hans

    Hexagonal Random Generation

    Is there a way to randomly generate a world with hexagonal tiles?
  2. GamerGuy941

    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...
  3. G

    GMS 2 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...
  4. Wicked

    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
  5. 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.
  6. 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.
  7. 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...
  8. Meowanator

    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...
  9. 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...
  10. kaerpaenen

    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...
  11. S

    GMS 2 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...
  12. 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...
  13. Anixias

    GMS 2 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...
  14. Y

    Hardcore Parkour

    Hey! I've been a long time member of the Dutch Game Maker Community, but that community has pretty much died out so I decided to post my new project here. Hardcore Parkour is a fun and challenging arcade game in which you have to traverse randomly generated areas to get the highest score...
  15. E

     2D Platformer Procedural Generation System (PPGS)

    Hi guys, recently I have been stuck to the idea of procedural generation for a platformer and hence, I decided to create a test project to see how much i can learn and achieve with this while keeping track of my progress on the forum. If you have any feedback or suggestions, please leave a post...
  16. A

    Legacy GM Instance Create at end of Repeat

    So I've been following a Youtuber's tutorials on random generation (Name can be discussed if needed) and finished it up, but now I want to add a bit to a line of code. //Create level using 1000 steps; repeat(500) { //Place floor tile at controller position grid[# cx, cy] = FLOOR...
  17. G

    Legacy GM Doubts about TouchScreen, positions and respawn

    How are you guys. Firstly, thank you in advance, those who will make available some of your time and knowledge to help me. I'm new to all GameMaker technology. Bad I know the basics of programming for the games, but I'm trying to learn. For this reason, I need your help. I would like you to...
  18. Dragon47

    Free Procedural island generation

    This is an example of how you can do endless procedural island generation with a shader. It was programmed in GameMaker Studio 1, and the source can be downloaded from here: https://goo.gl/DhVv6C The controls are explained in the top left of the application. You can run the application in your...
  19. lolslayer

    Infinite persistant world generation

    Video game worlds are getting big. But it can even be bigger. With random generation you can make incredibly big worlds. Randomly generating a world is really easy. You just need to put random objects at random locations and you're done. But there comes the problem. Computers can only handle...
  20. B

    Steam Kings under the hill

    Kings under the hill is a side-scrolling real time strategy with fully customizable units and destructible randomly generated maps. You have to fight not only with your enemy but also you should take into account the external forces that can help or hurt . Custom your units as you want make them...
Top