MisterYolky
Member
Hi all!
I recently downloaded GameMaker and started doing some tutorials on Youtube to teach myself the basics.
I'm happy to be part of the GameMaker family and have always had a passion for gaming, with only recently having the idea of trying to create my own game from scratch.
I have a question that I desperately need some assistance with - I'm struggling to get my sprite to animate facing the correct direction.
Some background information:
I'm working on a top-down ARPG (old school Zelda vibes) where the character has 4 basic movement sprites (up, down, left and right). With the tutorial that I've followed so far (also using their free asset pack), the character is moving perfectly and facing the correct direction no matter which key I'm pressing, in all directions (can move diagonally as well).
My issue is, I've since found an amazing asset pack that I want to use to rebuild the above-mentioned character. The only issue is that the sprites for this asset pack only have a left and right facing animation. So, only 2 basic movements. Currently, when I move left or right, the sprite faces the right direction, but when I move upwards or downwards it seems to randomly shift the sprite to any given direction instead of remaining in the direction they were currently in.
So, I'm pretty sure this issue stems from the fact that I've built my movement around the 4 directional sprites instead of only having 2, but how can I adjust things so that my character sprite will update correctly now in terms of facing the right direction?
I'm essentially looking for a movement system similar to Forager if that helps?
I really hope this makes sense, but I'm really eager to learn, and thank you to anyone who is willing to assist!
I recently downloaded GameMaker and started doing some tutorials on Youtube to teach myself the basics.
I'm happy to be part of the GameMaker family and have always had a passion for gaming, with only recently having the idea of trying to create my own game from scratch.
I have a question that I desperately need some assistance with - I'm struggling to get my sprite to animate facing the correct direction.
Some background information:
I'm working on a top-down ARPG (old school Zelda vibes) where the character has 4 basic movement sprites (up, down, left and right). With the tutorial that I've followed so far (also using their free asset pack), the character is moving perfectly and facing the correct direction no matter which key I'm pressing, in all directions (can move diagonally as well).
My issue is, I've since found an amazing asset pack that I want to use to rebuild the above-mentioned character. The only issue is that the sprites for this asset pack only have a left and right facing animation. So, only 2 basic movements. Currently, when I move left or right, the sprite faces the right direction, but when I move upwards or downwards it seems to randomly shift the sprite to any given direction instead of remaining in the direction they were currently in.
So, I'm pretty sure this issue stems from the fact that I've built my movement around the 4 directional sprites instead of only having 2, but how can I adjust things so that my character sprite will update correctly now in terms of facing the right direction?
I'm essentially looking for a movement system similar to Forager if that helps?
I really hope this makes sense, but I'm really eager to learn, and thank you to anyone who is willing to assist!
Last edited: