tilemaps

  1. P

    GMS 2 What is the most efficient way to make Multi-Height Level Tilemaps

    First of all, it is important to notice that the game I develop is made to be look like isometric. But it is done using tilesets and tutorial of Shaun Spalding and some fundamental functions of isometricity coordinates translation. So the actual problem is until now I have been using Shaun's...
  2. O

    Legacy GM Help with a concept in a tilemap.

    Hello. I've been playing around with a ds_grid based tilemap, random generation and autotiling. My basic idea is to have destructible terrain with some other stored variables like perhaps friction in a ds_map stored within the grid cell corresponding the tile. Now, I have watched some tutorials...
  3. The Video Gamester

    GMS 2 [Solved]Tilemap_set() errors

    So I had this working perfectly a few days ago but after I split this into a separate script it totally screwed it up. Basically I have it set so when I press space it generates a whole new level. Previously it would generate an entire new level and tile it just fine. Now it spawns the enemies...
  4. Daniel Mallett

    Help with tilemap assigning

    Ok this is a fairly streight forward question. I have a sprite sheet as a sprite which is attached to a tilemap. I have a tile layer attached to said tilemap. I set one of the cells in the map to something other than 0 so i can see it. So far so good. Now my question is how to do this...
  5. M

    Saving & loading a whole bunch of tiles (and maybe a bunch of instances)?

    In my current project, I am trying to do procedural level generation using tilemaps. I want to be able to define a list of "sections" (these would be like "rooms" that are parts of a larger level, not a room in GMS terms) with entrance and exit tiles, and then pass that list to a generator that...
  6. Pfap

    GML enemies "seeing" through tiles

    [SOLVED]Ok, so I have a really nice mp_grid system where I blocked off cells based on whether or not a wall tile was in them. I didn't really plan on what an issue enemies being able to see through walls would be though. The collision_line() function only works with objects. I'm trying to find...
  7. J

    Discussion Eyedropper tool for tilesets (room editor)

    Hello! After working with tilemaps for several weeks I think that having an eyedropper tool for tilemaps in the room editor would be awesome for productivity (clicking an already placed tile and being able to use it as if you selected it from the tiles section) when dealing with huge tilemaps...
  8. Azenris

    GMS 2 [Solved] tileset_get_name and tilemap_frame

    Hi, dunno where to post this, but I was needing some functions. I wasn't sure If there are other functions that act the same, if they were missing, or soon to be coming. tileset_get_name : retrieve the resource name of a tileset index Needed some same reasons as sprite_get_name...
  9. JAG

    GMS 2 tilemap_tileset doesnt work properly

    I was just going to post saying it doesnt work at all, but Ive found a workaround. I was originally trying to call tilemap_tileset on a tile layer with no set tileset. This doesnt work because GM apparently thinks this tile layer doesn't exist, so can't find it. So to make it work I just set...
  10. J

    GMS 2 My player can't fall out of the room!

    I have set up a tilemap collision system in my 2D platformer using GMWolf's "Tilemap collisions in GMS 2" tutorial. The tile collision system works just fine. I want to make my player die when he falls into pits; so I tried to create an outside room event in my obj_player. I thought this...
  11. S

    Tile Collision Line?

    I need to code a collision line for tilemaps, and I’ve been tearing my hair out all day trying to figure out how. I basically just need to define two points (x1, y1, x2, y2) and get each tile that the line overlaps, but despite being decent enough at GML I can’t seem to understand everything I...
  12. K

    Procedural Tilemap Generation

    Hey all, I was curious if anyone had any tips on procedural level generation in GML 2? I watched a great tutorial by HeartBeast where he discusses using a ds grid and a "controller" that moves around and sets values. The tutorial was posted in 2015 though, and uses the function "tile_add" which...
  13. R

    GMS 2 Tilemaps w/ Object-based collisions

    So I've been playing around with tilemaps recently, and decided to use (if I can) tilemaps for level design meanwhile keeping an object-based collision system, since most of my game is already coded with "place_meetings" and "position_meetings" w/ an object called "Solid". I've already worked a...
  14. 2

    GMS 2 Find all Tilemap Ids and Names in a Room

    How do I get the ids and names of all tilemaps currently existing in a room? I thought they were tile layers, but they're tilemaps I'm look for, not layers.
  15. Necromedes

    Pathfinding With Tiles?

    I am using tiles for random map generation and the map sizes are quite large. We're talking 50,000 x 50,000. Hence why I am using tiles instead of instances for the map. The generator works good enough at the moment but I intend on using motion planning for the path finding. So now you surely...
  16. Phil Strahl

    Tiled to GameMaker?

    I just gave Tiled a go and editing tile maps with it is much more intuitive than with the clunky room editor. So I started work on a tool that lets you convert Tiled files to tilemaps in the room editor (all placed objects and other room settings are retained). I think I am not the first one to...
  17. Shadowblitz16

    python style lists?

    can the yoyo game developers for gamemaker implement python style lists? for example something like var data = [ 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26...
Top