Animation Management in 8-Direction Games

You're viewing a single comment in a conversation. View all the comments
  • 1 Comments

  • Order by
  • floor((((Player.Angle + 22.5) % 360) / 45))

    You will need to number your animations from 0 to 7. This is a really late response, I know, but maybe it'll help others who have the same question!