T
Tonydaderp
Guest
this was a repost of a game maker steam thread:
Hi, I've been trying to work out how to recognise the correct sprite to use when using diagonals. For example if I'm holding UP then Right, my sprite will keep facing UP. Or, If I'm holding Right and then UP, my sprite continues facing Right.
I know the command will be based upon the last key pressed but I'm not sure how to implement a key registry system like that.
Thanks for the help.
I don't need movement code since I've already done that!
Hi, I've been trying to work out how to recognise the correct sprite to use when using diagonals. For example if I'm holding UP then Right, my sprite will keep facing UP. Or, If I'm holding Right and then UP, my sprite continues facing Right.
I know the command will be based upon the last key pressed but I'm not sure how to implement a key registry system like that.
Thanks for the help.
I don't need movement code since I've already done that!