click-to-move

  1. D

    GameMaker Point to move Sprite animation

    Hey. Trying to make a click to move type of game in Game Maker 2. (GML) I've managed to program the moving itself. But need help programming the character changing sprites based on the direction it is moving in. The character has 4 directions. Left, right, Up and Down. Is here any way to make...
  2. T

    Click-to-move. Stuck in walls

    I'm trying to make point and click. For moving I use this: Global Mouse Left Pressed target_x = mouse_x; target_y = mouse_y; Step if(target_x != 0 && target_y != 0) { move_towards_point(target_x, target_y, spd); if(point_distance(x, y, target_x, target_y) < spd + 2) {...
  3. T

    Walking and Collision using Mouse

    Hi guys! I currently involved in a project as a game designer (mostly art), but 💩💩💩💩 happens and now I have to do coding also. I don't have any programming background, so I'm struggling here, trying to make everything work. Here's my problem: We have a character who is walking inside the...
  4. P

    GameMaker Click on character to select him, then click on his destination to move him there?

    I'm making a single-player game where the player controls a team of 3-10 characters. In a given room, the player must divide his team into 3-5 squads, to engage 3-5 enemies at once. The battles are then automatically worked out. Anyone know the Drag&Drop code to select (click on) a character...
  5. N

    Need help on "MOBA" collision

    Hey all! I'm searching for many days on how can i do moba style collision. My game is a top-down game with click-to-move movements, i want to make collision which allow my player to "slide" on the walls, rocs, obstacle, and when i click on the map i want my player find the shortest path...
Top