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 )
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...
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...
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...