N
Nyool
Guest
Hello, game maker community I am hoping someone here could help me figure this out. I have been following heartbeast free RPG series on youtube and I'm using the projectile system used in this video:
I want to make it so my projectiles shoot towards my mouse location and maybe make the range of the projectile shot end where the location of the mouse was at the moment of the shot.
I don't want my player sprite following the mouse like in a top down shooter but instead, I'd like my player sprite to be facing within one of the four direction it already has. So my player sprite would simply be in its spr_player_up when shooting projectiles upwards of the obj_player and then transition to the right sprite whenever the mouse shoots in the angle range whom be considered towards the right, etc.
I don't know if this is asking too much and if I'm complicating things.. Basically, I just don't want it to look dumb if he's shooting somewhere left be looking left..
Thank you in advance to anybody that would take some of their time to help me.
I want to make it so my projectiles shoot towards my mouse location and maybe make the range of the projectile shot end where the location of the mouse was at the moment of the shot.
I don't want my player sprite following the mouse like in a top down shooter but instead, I'd like my player sprite to be facing within one of the four direction it already has. So my player sprite would simply be in its spr_player_up when shooting projectiles upwards of the obj_player and then transition to the right sprite whenever the mouse shoots in the angle range whom be considered towards the right, etc.
I don't know if this is asking too much and if I'm complicating things.. Basically, I just don't want it to look dumb if he's shooting somewhere left be looking left..
Thank you in advance to anybody that would take some of their time to help me.