terrain

  1. 2D3D

    GML Please help with perlin noise

    Hello I have some code i am trying to implement into my game and I am hoping someone has the skills and is willing to help me get this code running on GML. Thank you!
  2. danielpancake

    SOLVED ds_grid median filtering / terrain smothing

    Hello, Game Maker Community! I ran into problem with smooth terrain generation. Initially a had something like on the image below. This terrain was generated with using ds_grid_set_region and ds_grid_set_disk in random positions of ds_grid I should say, that I've tried using Perlin's noise...
  3. Bart

    SOLVED Optimizing terrain z value calculations

    Hi all. The last couple of days I've been working on an optimized way to calculate several z values on a terrain. For this I'm using ds_grids since they give you two free loops that are implicit and incredibly fast. Each instance that needs a z value at a specific (x, y) coordinate gets an...
  4. A

    GMS 2 Need advice on drawing a level (optimization)

    Hello everyone! I'm new not to just GMS, but game-dev in whole, though have pretty much experience in other programming-related stuff. That's why I need some more experienced advice for my problem. I'm going to have such type of procedurally generated levels in my game like on this...
  5. Harper

    GML How to do Pixel Based Terrain?

    Hi all, I'm trying to figure out the best practice for pixel based terrain and I'm looking for answers. Something like worms that isn't tile based. My idea right now is to divide my map up into square sectors, and assign each of those sectors a object with a sprite on it that I want the terrain...
  6. Axl Trauts

    GMS 2 Getting into difficult terrain (slow down player)

    Hi, I want to alter speed of my player when entering difficult terrain, and return to normal (zero) when getting out of it. I am trying a collision check like instance_place but only works if I the player collides but not when gets out of the collision. Below if the code that works. I've tried...
  7. Nocturne

    Asset - Scripts Destructible Terrain

    MARKETPLACE: https://marketplace.yoyogames.com/assets/8179/dynamic-destructible-terrain ITCH.IO: https://nocturne-assets.itch.io/destructible-terrain LIVE DEMO http://nocturnegames.nocturnecreations.com/html5games/Terrain/index.html This GameMaker Studio 2 asset provides a complete and...
  8. Logan Bevans

    "Infinite Terrain" memory problems

    Hi, iv has been working on a game with near infinite terrain in which I deactivate all of the objects except for the once in my view I'm having issues with my memory increasing whenever I explore from the main loading part it starts dropping fps. Iv thought it could have something to do with the...
  9. Simon Gust

    Legacy GM Randomly generated terrain using tile runners

    GM Version: GM:S 1.4 Target Platform: All Download: N/A Links: N/A Summary: This tutorial is about randomly generated terrain. It shows you what the purpose and effectiveness of tile runners are and how to use them. Heads up: This tutorial requires you to know at least the following terms -...
  10. Nathan Laing

    Job Offer - Artist [CLOSED] [PAID] Terrain artist: top down cliffs/inclines

    Greetings, This is a paid task request. I am in need of top down cliff/incline artwork. These will serve as "barriers" to higher ground for all surrounding terrain. Specifically required is the rock and rock shadow components only--any and all surrounding terrain and props such as stones and...
  11. Cloaked Games

    Asset - Scripts [Jen_scripts] Procedural Terrain Generation

    [Jen_scripts v2.0] Asset for Procedural Terrain Generation Download: https://cloakedgames.itch.io/jen-scripts [Jen_scripts] Asset for Procedural Terrain Generation Created by Cloaked Games Jen_scripts is a GameMaker Studio 2 library designed for rapid prototyping and development of...
  12. PlayerOne

    GMS 2 [SOLVED + FINAL CODE] A more efficient tile terrtain system?

    I'm looking to create a more efficient terrain system that can detect more than one tile layer; something akin to a switch statement? The code you see below works as intended. However, the problem is that I cant find a solution to adding more than just one tile layer without repeating the same...
  13. M

    Graphics Terrain from Photoshop

    Preface - I'm new to this. Issue - I'm attempting to create terrain in Photoshop to use in my game (not pixel art). Quick example: When I pull it into my room it looks fine. When I play the game it looks decent until I move and this crazy ghosting effect starts to happen. I exported from...
  14. matharoo

    Asset - Objects Destructible Terrain/Level Converter

    Matharoo presents... Destructible Terrain Converter ($1.99) Make your level destructible by using this asset! Only for GMS2. This asset can turn objects/tiles into a destructible layer where you can remove and create shapes & sprites. Use dest_create() to convert, and functions like...
  15. Y

    Legacy GM blending 2 different tiles

    so currently I have a sand and a grass texture next to each other (they are tiles) is it possible to make them blend together to get a more natural look because it's quite strange to have sand going straight into grass. I looked into texture blending but i'm not quite sure if that is what I'm...
  16. G

    Heightmap glitch after changing room

    Hello, my first post here. My problem goes like this: I'm using simple script to draw a terrain in 3D using heightmap and I want to draw another one after going to the next room, but then the terrain glitches and gets just flat. It's propably because it uses global variables that get transferred...
  17. D

    Legacy GM Help with ds_grid tiles

    Ultimately, I'm wanting to be able to change a circular selection of tiles in a ds_grid using a function like "ds_grid_set_disk". I have not been able to get this to work. The method I have been using is to manually select all the tiles that I want to change, and if I'm wanting to destroy tiles...
  18. C

    Asset - Project Procedural Terrain Generation

    Hey, GMC, it's been a while! (Try 3-4 years). I couldn't help but test out GMS2, and I figured what better way then play about with some ideas I had... So, presenting, Procedural Terrain Generation. This is a selection of scripts (and demos), showing how perlin noise can be combined with...
  19. T

    Windows Isometric Terrain Engine

    Hi everyone! This is just a really simple isometric terrain engine I created today. Its a simple engine where you can raise and lower the terrain with your mouse. The engine also includes slopes which will automatically appear to smooth out the terrain. A little player will spawn on the plain...
  20. A Random Creator

    Legacy GM Draw a portion of a sprite

    Hey everyone, I'm trying to find the best way to do flooring/terrain in my game but I can't find out how to do it the way I want. I want it to look like this: basically I draw a tiled background on the whole room and remove the portion that isn't touching the object. I think it could be done...
Top