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

mp_grids

  1. Prrz

    GML Pathfinding with Mp_Grids - RTS unit movement

    GM Version: GMS2 Target Platform: Windows, (ALL?) Download: Download to ZIP Containing All Project Files Links: N/A Skill Level: Intermediate -> Advanced Summary: A pathfinding tutorial that utilizes the extremely efficient built in pathfinding functions, while coupling them with structs to...
  2. Evanski

    SOLVED Mp_grid add tile instead of instance?

    I'm setting up a path-finding system using mp_grids, I'm very familiar with setting up and using mp_grids mp_grid_add_instances(id, obj, prec); using this we can add instances to avoid to the grid but I was wondering if instead of instances I could use tiles I'd like to start using tile...
  3. L

    Help with Adding Instances to MP Grid

    Hello, I'm working on a simple tower defense styled project. In the room_create event, I establish a default grid for enemies to use, and add some basic objects to be avoided to it: global.nme_grid_ground = mp_grid_create(0, 0, room_width div 32, room_height div 32, 32, 32)...
  4. HeWhoShallNotBeNamed

    GameMaker [SOLVED] Finding Where mp_grid_path Fails

    I'm working on a grid-based battle system (like Disgaea or Final Fantasy Tactics) with procedurally generated battle areas. How it works now is that obstacles in the environment are randomly added, and then the player character, enemies, and npcs are added in where a space in the grid is free...
  5. L

    GML Help placing an object on the first 4 columns in an mp_grid[solved]

    So let me prefix this by saying that I'm pretty new to gamemaker, this is my first real project. I've worked through a lot of this using tutorials, and i'm pretty much learning as I go. On to my problem, i have a grid set up for my characters to move on: global.battle_grid =...
  6. BerserkMecha

    GML Movement issues with DS Grids and MP Grids

    Hi, I'm making a movement system that uses DS Grids and MP Grids. This is for a turn-based strategy game that I have an idea for. The gist of this script is to move an object (called Character2) to a space withing a limited range around it. Unfortunately, I'm having issues. In the create...
  7. A

     Pathfinding with TileMaps

    Hello! With the complete revamp to tiles I thought i'd have a look at a demo and see how to work with the new set of functions. I noticed the collision in the platformer-demo checked against an invisible tile layer with the tilemap_get functions. These functions return the number of a tile...
Top