object interaction

  1. Astrado

    3D Is posible to interact with a 3D object with the mouse?

    I'm making a point and click puzzle game, with 3D graphics using vertex, witch I made following Dragonite's Spam tutorials. So far I have a lot of progress with all the other mechanics. And currently I found my self stuck with this one mechanic quite crucial. I want to make this 3D objects...
  2. D

    SOLVED Key Logic for NPC interaction just crashes the game, don't know how to fix it.

    The program for the "Key Logic" related to NPC interaction is in my PlayerStateFree right now, whenever I actually "use" it, the game crashes. Program below: // Script assets have changed for v2.3.0 see // https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information function...
  3. B

    GameMaker How to check if an object is in front of the player object in order to interact

    For example: There are my Player and NPC, they have perfect collisions with each other. If I want to interact with the NPC, how do we check if he is in our direction? is there a function that can help me with that? (also, I want to be able to interact with the NPC even I am couple pixels away )
  4. A

    GML Object inheritance challenge...

    So I'm looking for advice on a good way to go about this challenge: I currently have a game where there's shields that should be able to destroy both projectiles (One object set with parent/children) and some ships (Another object set with parent/children). I DON'T want ALL projectiles to be...
  5. A

    Legacy GM Interacting with objects sort-of works, except...

    Holargh! I've written some code that works pretty well (I'm prototyping a 2D side scroller investigation thingy) except it displays the first line of text every time the player passes by the object in question. OR, it disappears after a few button clicks. Like thus: and this (though this is...
  6. B

    GameMaker Need Help With Player True/False State

    Hi, I'm new to GameMaker and have run into an issue. I want the player to be able to interact with multiple objects like doors and signs with a single button. I figured the most efficient way to do this was to have the player character enter a state that the interactables would then respond to...
Top