Makkeonmies
Member
Hey guys, this seems like it shouldnt be too hard, but anyways I can't wrap my head around it.
So in my top-down game, if the player is blocking with a shield, how do I make it so that enemy bullets (obj_arrow) coming from the direction the player is facing to, are blocked on collision with the player?
Its from a top down view so the player can rotate 360 degrees. (to give you guys an idea of how it plays, if it helps with the code)
Thanks beforehand!
So in my top-down game, if the player is blocking with a shield, how do I make it so that enemy bullets (obj_arrow) coming from the direction the player is facing to, are blocked on collision with the player?
Its from a top down view so the player can rotate 360 degrees. (to give you guys an idea of how it plays, if it helps with the code)
Thanks beforehand!