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

npc

  1. P

    GameMaker [SOLVED]Collision not working for enemy npc

    Hello im doing a hack n slash game and my enemy npc collision is not working (yet my player collision is at they are the same code) Collisions on sprites are okay. code for collision NPC (not working): if place_meeting(x + x_speed, y, oWaterAndHole) || place_meeting(x + x_speed, y, oEnemy) {...
  2. O

    Talk Facing an NPC

    Hello, As the title says, I'm having trouble making my character talk while facing the NPC. I initially thought I found a solution, using a combination of distance to point and direction, but the player can still talk to the NPC in weird positions. For example, I have a merchant facing the...
  3. D

    Need help making a tutorial npc

    I am required for my homework to make a tutorial npc that essentially shows the player what actions to do. However, I never learned anything related to this so I'm confused
  4. R

    GameMaker npc start moving to a certain point after the dialogue

    how to make the npc start moving to a certain point after the dialogue
  5. G

    Help differentiating objects for RPG dialogue

    Hello! I'm working on an RPG right now, and have multiple identical npc objects i've placed in a scene, using the Variable Definitions tab to give them each a unique ID. However, whenever I try and interact with either NPC #1 or #2, the dialogue for #2 is all that appears. I've messed with the...
  6. D

    Portfolio - Programming Programmer specializing in top-down games, for hire

    Hello there! My name is Johnathan and I have spent 8 years programming various projects related to the top-down perspective. I am available for small projects or mechanics that you might need for your game. I specialize in procedural generation, as well as AI, but am also happy to listen to...
  7. gluii

    How do a make a Dialogue System?

    How do a make a dialogue system were when i go up to objects or NPCs with more than 1 thing to say I can simply keep pressing a key "Z" for example, until I the last line of text. you know, just like in any other game. Every tutorial ive seen on youtube and blogs are to hard for me to...
  8. P

    SOLVED Follower warp with player

    Well I am new with gamemaker and I start follow some tutorials to have an idea to what to do. But I'm stuck in this problem. ( just to know I follow the caterpillar system of 1up indie) I am doing an Rpg, and the leader have a follower. What I want is the follower warp to another room with...
  9. samspade

    Let's Make Some Enemies

    GM Version: 2.3.1 Target Platform: All Download: Github Repo Links: YouTube Playlist Summary: A GML tutorial series on (you guessed it) making some enemies (in code, not real life). In the introduction video I go over the general series idea as well as some basic project set up. And tutorials...
  10. D

    NPC sprite direction (need help)

    I have this test NPC, but it wont change its sprite direction. I think it has to do with the fact that I'm using an image_index based on direction: direction = point_direction(x,y,other.x,other.y); image_index = CARDINAL_DIR How would I format/structure this into a switch statement...
  11. Z

    GameMaker The pitfalls of NPC paths/cutscenes.

    So I'm at the point where I'm going to implement cutscenes and NPC's into my (top down 2d rpg) game. I've drawn all the sprites, have a good idea of who needs to do what,... So I'm starting this (quite new) challenge. I thought it would be a great idea to ask around a bit. I have a few systems...
  12. T

    Need help stopping an NPC at the middle of a path

    So i've been following this tutorial on NPC paths : and successfully made the base obj as in the video. Here's the code(path related only): obj_NPCBase: <CREATE EVENT> //Path Target = instance_create(x,y,obj_target); Path = -1; <STEP EVENT> if(Path != -1){ dir =...
  13. S

    NPC Following Help

    Currently, I'm trying to have an NPC follow my current player character but am having difficulty implementing it. My code seems sound, but when I test it, the NPC simply stands still (but responds to other actions, such as implementing the text bubble that appears above their head). This code...
  14. Dr_Nomz

    Legacy GM Is it possible to save a path mid-way through? (Data Structure method)

    If I use a data structure (ds_map/list/grid) to save data, and an NPC is in the middle of a path, is it possible to save the position of the path the NPC is on, and then load it in WITH the NPC resuming it's path? I'm using path_position and path_start btw.
  15. C

    GameMaker NPC object good practice

    Hi all! I'm quite new to this so I appreciate all feedback. I'm currently trying to figure out how to best approach having numerous NPCs with varying importance (more important -> more features), different dialogue, etc. I had originally thought to create one generic NPC object and create ini...
  16. T

    Legacy GM [SOLVED] Object that follows in the Player's previous footsteps

    I've been looking through the manual to find a way to make an object follow the player while avoiding solid parts of the room, but I couldn't find a reliable way. The context here is I have an NPC that needs to follow the player. I thought about having the game remember the player's vsp...
  17. KyleRansford

    GameMaker How Does the Instance Creation Code Work?

    I have objects like, Sign Posts, Chests, NPC's etc, that can all have different actions. Instead of having multiple objects of the same type (Heart Chest, 1up Chest, etc.). Can I use the Instance Creation Code (when you double click on an instance inside a room) to specify what I want in the...
  18. N

    Legacy GM Need tips for NPCs

    So in my game, I want to make NPCs that will walk around the town, but I want them to specifically stay in the town and not wander out of it. I also want to make them say something if you press near them (their text will be displayed with a dialog box at the bottom of the screen with an...
  19. Dr_Nomz

    GML Is it possible to have an NPC move away from/closer to an object? (mp_grid)

    I would like to make my NPCs be a few pixels from the walls, but closer to certain other ones based on their positioning using mp_grid, is this possible? Or can they not enter the grid at all if it has a wall object in it? Basically I'm asking how flexible I can make the grid system.
  20. Dr_Nomz

    GML [SOLVED] Could this cause a memory leak? (mp_grid_add_instance in Step event)

    So recently my NPCs were acting stupid by clearly ignoring an open door and trying to walk around it, or worse yet, walking THROUGH a closed door, since the above code was in the create event of the grid object. I fixed this just fine, but I want to ask this to make sure this won't cause...
Top