Jump to content


Photo

Tbgrid Movement - Turn Based Grid Movement!


  • Please log in to reply
1 reply to this topic

#1 NightGrader

NightGrader

    Game Maker Hobbyist

  • GMC Member
  • 33 posts
  • Version:GM8

Posted 01 April 2013 - 12:06 PM

TBGrid Movement - Turn based grid movement!

Allows you to set up grid based movement for player object and enemy/monster objects easily!

Tested and works for GM8 Pro  and I think it will work on other versions too. Please tell me if it doesn't work on other versions.

 

There are three types of GML scripts on this system:

 

tbgrid_init(); //Intialize the system.

tbgrid_movement(speed,snap,type,target.x,target.y); //Place turn based grid movement on the object.

tbgrid_mob(); //For "mob" types.

 

An Example is provided when you download the scripts.

 

Host-A Hosting TBGrid Movement R2

 

Open the = READ ME PLEASE =.txt file for more info and a guide on how to use the scripts!


Edited by NightGrader, 15 April 2013 - 01:06 AM.

  • 0

#2 Dice2099

Dice2099

    GMC Member

  • New Member
  • 10 posts
  • Version:GM:Studio

Posted 09 March 2016 - 08:17 PM

I tried out your tutorial and kept getting :

 

In Object obj_player, in Event StepEndEvent action number 1 at line 1 : function "tbgrid_movement" expects 5 arguments, 3 provided
Compile Failed - Please check the Compile window for any additional information
 
I am using Game Maker Studio. been looking for exactly this kind of movement.

  • 0